Sha256: 3400ed858aa6b1ed8b1e946dee2aeb680480c6fc5f95e7fcddc0a5cb802ac513
Contents?: true
Size: 532 Bytes
Versions: 87
Compression:
Stored size: 532 Bytes
Contents
#!/bin/sh -e # Script generates code duplication report for Violations or DRY Jenkins plugins. if [[ $# < 2 ]] then echo "usage: $0 EXCLUDE_PATTERN OUTPUT_FILENAME" exit 1 fi # load variables patterns="$1" output="$2" excludes="" for pattern in $(echo ${patterns} | tr "|" "\n") do excludes="${excludes} -excludes=/${pattern}" done currentScriptDir="$(dirname "$0")" java -jar "${currentScriptDir}/../utils/simian-2.3.33.jar" "**/*.m" "**/*.h" ${excludes} -threshold=5 -failOnDuplication- -formatter=xml:${output}
Version data entries
87 entries across 87 versions & 1 rubygems