Coverage Report

Statementstmt 69.6% 328 / 471 Branchbran 56.2% 45 / 80 Conditioncond 42.2% 41 / 97 MC/DCmcdc 16.0% 8 / 50 Subroutinesub 70.3% 64 / 91 Podpod 0.0% 0 / 20 totaltotal 60.0% 486 / 809 CC 92 scar 21.6 CC 92 · cov 64% · CRAP 8.7
Prefix: blib/lib/App/

Top SCAR

PerlNitpick/Rule/QuoteSimpleStringWithSingleQuote.pm 33.5
CC
14
Cov
57%
rewrite
38.5
__ANON__
1.0
__ANON__
1.0
CRAP 28.6
PerlNitpick/Rule/RewriteWithAssignmentOperators.pm 25.1
CC
15
Cov
80%
rewrite
18.6
_trim_whitespace
2.0
BEGIN
1.0
CRAP 12.3
PerlNitpick/Rule/RemoveUnusedImport.pm 22.7
CC
25
Cov
82%
find_violations
16.4
_build_idx
8.2
rewrite
4.2
CRAP 9.7
PerlNitpick/Rule/RemoveEffectlessUTF8Pragma.pm 20.5
CC
12
Cov
85%
rewrite
10.6
__ANON__
3.0
BEGIN
1.0
CRAP 7.8
PerlNitpick/Rule/RemoveUnusedInclude.pm untested 16.7
CC
3
Cov
0%
rewrite
12.0
BEGIN
2.0
BEGIN
2.0
CRAP 5.3
2 2 files < 75%
4 4 files 75-90%
4 4 files 90-100%
5 5 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 0.0 0 / 7n/a n/a n/a 0.0 0 / 2n/a 0.0 0 / 91 6.9
CC
1
Cov
0%
CRAP 2.0
PerlNitpick.pm untested 0.0 0 / 7n/a n/a n/a 0.0 0 / 2n/a 0.0 0 / 91 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
PerlNitpick 32.6 16 / 490.0 0 / 20.0 0 / 40.0 0 / 250.0 5 / 100.0 0 / 330.0 21 / 702 8.2
CC
2
Cov
29%
CRAP 2.3
Nitpicker.pm untested 0.0 0 / 330.0 0 / 20.0 0 / 40.0 0 / 20.0 0 / 50.0 0 / 20.0 0 / 482 12.0
CC
2
Cov
0%
rewrite
6.0
list_rules
2.0
BEGIN
2.0
CRAP 3.3
PCPWrap.pm 100 16 / 16n/a n/a n/a 100 5 / 50.0 0 / 195.4 21 / 221 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
PerlNitpick/Rule 75.1 312 / 41557.6 45 / 7844.0 41 / 9316.6 8 / 4874.6 59 / 790.0 0 / 1763.7 465 / 73091 22.2
CC
91
Cov
68%
CRAP 9.2
QuoteSimpleStringWithSingleQuote.pm 72.7 24 / 3337.5 3 / 825.0 3 / 120.0 0 / 7100 6 / 60.0 0 / 153.7 36 / 6714 33.5
CC
14
Cov
57%
rewrite
38.5
__ANON__
1.0
__ANON__
1.0
CRAP 28.6
RewriteWithAssignmentOperators.pm 100 46 / 46100 4 / 450.0 16 / 3216.6 2 / 12100 8 / 80.0 0 / 273.0 76 / 10415 25.1
CC
15
Cov
80%
rewrite
18.6
_trim_whitespace
2.0
BEGIN
1.0
CRAP 12.3
RemoveUnusedImport.pm 92.6 76 / 8261.1 11 / 1855.0 11 / 2018.1 2 / 1190.9 10 / 110.0 0 / 375.8 110 / 14525 22.7
CC
25
Cov
82%
find_violations
16.4
_build_idx
8.2
rewrite
4.2
CRAP 9.7
RemoveEffectlessUTF8Pragma.pm 95.6 22 / 2378.5 11 / 1466.6 6 / 950.0 3 / 6100 4 / 40.0 0 / 180.7 46 / 5712 20.5
CC
12
Cov
85%
rewrite
10.6
__ANON__
3.0
BEGIN
1.0
CRAP 7.8
RemoveUnusedInclude.pm untested 0.0 0 / 290.0 0 / 40.0 0 / 60.0 0 / 40.0 0 / 70.0 0 / 10.0 0 / 513 16.7
CC
3
Cov
0%
rewrite
12.0
BEGIN
2.0
BEGIN
2.0
CRAP 5.3
DedupeIncludeStatements.pm 100 27 / 2770.0 7 / 1040.0 2 / 50.0 0 / 3100 4 / 40.0 0 / 180.0 40 / 5010 16.7
CC
10
Cov
86%
rewrite
7.3
_remove_with_trailing_characters
4.1
BEGIN
1.0
CRAP 5.3
AppendUnimportStatement.pm 96.6 29 / 3062.5 5 / 860.0 3 / 533.3 1 / 3100 6 / 60.0 0 / 380.0 44 / 559 16.1
CC
9
Cov
86%
has_import_but_has_no_unimport
8.1
rewrite
3.0
__ANON__
1.0
CRAP 5.0
RewriteHeredocAsQuotedString.pm untested 0.0 0 / 240.0 0 / 20.0 0 / 20.0 0 / 10.0 0 / 50.0 0 / 10.0 0 / 352 12.0
CC
2
Cov
0%
rewrite
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.3
RemoveTrailingWhitespace.pm untested 0.0 0 / 330.0 0 / 20.0 0 / 20.0 0 / 10.0 0 / 70.0 0 / 10.0 0 / 462 11.0
CC
2
Cov
0%
rewrite
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.0
RemoveUnnecessaryScalarKeyword.pm 100 30 / 3050.0 2 / 4n/a n/a 100 7 / 70.0 0 / 192.8 39 / 424 8.0
CC
4
Cov
94%
rewrite
4.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.2
RemoveUnusedVariables.pm 100 27 / 2750.0 1 / 2n/a n/a 100 7 / 70.0 0 / 194.5 35 / 373 5.1
CC
3
Cov
97%
rewrite
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.7
AddTrailingCommas.pm 100 31 / 3150.0 1 / 2n/a n/a 100 7 / 70.0 0 / 195.1 39 / 413 5.1
CC
3
Cov
97%
rewrite
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.7