Class: Warder::CodeDuplicationRunner

Inherits:
Runner
  • Object
show all
Defined in:
lib/warder/code_duplication_runner.rb

Overview

responsible for run code duplication validation

Constant Summary collapse

CLI_OPTION =
'd'
CLI_FULL_OPTION =
'code-duplication'
DESCRIPTION =
'Run code duplication validation'
COMMAND_NAME =
'flay'
FLAY_SCORE =
SCORE / 2
FAILURE_REGEXP =
/code found in :\w+ \(mass(\*\d+)? = (?<issues>\d+)\)/

Constants inherited from Runner

Runner::FAILURE_THRESHOLD, Runner::SCORE

Method Summary

Methods inherited from Runner

#initialize, #perform

Constructor Details

This class inherits a constructor from Warder::Runner