Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B App\Runner\Action\PHP::execute() 0 20 7 7 0 0 0
B PreserveWorkingTreeTest.php$2 ➔ testRunHookWithUnstagedChanges() 0 61 4 ? 0 0 0
B CaptainHook\App\Runner\Hook::handleAction() 0 24 6 6 3 0 0
B App\Runner\Action\Cli::execute() 0 21 6 6 2 0 0
A HookTest.php$4 ➔ testRunHookWithPlugins() 0 51 2 ? 0 0 0
A Console\Command\Install::configure() 0 51 1 1 1 0 0
A PreserveWorkingTreeTest.php$3 ➔ testRunHookWithUnstagedChangesAttemptsPatchMultipleTimes() 0 50 3 ? 0 0 0
A Runner\Hook\Printer::hookEnded() 0 16 6 6 1 0 0
A HookTest.php$6 ➔ testRunHookSkipsActionsFromPluginBeforeAction() 0 44 2 ? 0 0 0
A Config\Reader::displayCondition() 0 13 6 6 1 0 0
A Config\Util::validatePluginConfig() 0 9 6 6 0 0 0
A Hook\PHP\Action\Linting::execute() 0 13 6 6 3 0 0
A App\Runner\Installer::installHook() 0 15 6 6 0 0 0
A Util::validateConditionsConfig() 0 5 6 6 0 0 0
A BlockFixupAndSquashCommits::execute() 0 11 6 6 4 0 0