Class: Warder::CodeComplexityRunner

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

Overview

responsible for run code complexity validation

Constant Summary collapse

CLI_OPTION =
'c'
CLI_FULL_OPTION =
'code-complexity'
DESCRIPTION =
'Run code complexity validation'
COMMAND_NAME =
'flog'
FAILURE_THRESHOLD =
SCORE
FAILURE_REGEXP =
/^\s+(?<issues>\d+.\d+)\:\s.*$/
TOTAL_REGEXP =
/^\s+\d+.\d+\:.*(total|average)$/

Constants inherited from Runner

Runner::SCORE

Method Summary

Methods inherited from Runner

#initialize, #perform

Constructor Details

This class inherits a constructor from Warder::Runner