lib/warder/code_duplication_runner.rb in warder-0.1.2 vs lib/warder/code_duplication_runner.rb in warder-0.1.3
- old
+ new
@@ -1,9 +1,12 @@
module Warder
# responsible for run code duplication validation
class CodeDuplicationRunner < Runner
- FLAY_SCORE = SCORE / 2
+ CLI_OPTION = 'd'
+ CLI_FULL_OPTION = 'code-duplication'
+ DESCRIPTION = 'Run code duplication validation'
COMMAND_NAME = 'flay'
+ FLAY_SCORE = SCORE / 2
FAILURE_REGEXP = /Total score \(lower is better\) = (\d+)/
private
def command_with_options