Prefix:
blib/lib/Perl/Critic/
Top SCAR
StricterSubs/Utils.pm 17.5
- CC
- 73
- Cov
- 88%
- _smells_like_filehandle
- 12.1
- _smells_like_label
- 8.9
- _parse_export_list
- 8.2
CRAP
5.7
Policy/Modules/RequireExplicitInclusion.pm 12.7
- CC
- 33
- Cov
- 90%
- _find_violations
- 8.0
- _parse_modules
- 6.2
- _handle_module_specification
- 5.1
CRAP
3.6
Policy/Subroutines/ProhibitExportingUndeclaredSubs.pm 12.2
- CC
- 6
- Cov
- 80%
- violates
- 7.6
- default_themes
- 2.0
- BEGIN
- 1.0
CRAP
3.4
Policy/Subroutines/ProhibitCallsToUnexportedSubs.pm 11.0
- CC
- 16
- Cov
- 85%
- new
- 6.4
- violates
- 5.0
- _parse_subroutine_call
- 3.0
CRAP
3.0
Policy/Subroutines/ProhibitCallsToUndeclaredSubs.pm 9.7
- CC
- 10
- Cov
- 94%
- violates
- 5.0
- new
- 3.0
- _is_exempt_subroutine
- 3.0
CRAP
2.6
< 75%
75-90%
90-100%
at 100%
untested
| File | Statementstmt | Branchbran | Conditioncond | MC/DCmcdc | Subroutinesub | Podpod | totaltotal | CC | SCAR |
|---|---|---|---|---|---|---|---|---|---|
| (root) | 0.0 0 / 8 | n/a | n/a | n/a | 0.0 0 / 2 | n/a | 0.0 0 / 10 | 1 |
6.9
CRAP
2.0
|
| StricterSubs.pm untested | 0.0 0 / 8 | n/a | n/a | n/a | 0.0 0 / 2 | n/a | 0.0 0 / 10 | 1 |
6.9
CRAP
2.0
|
| Policy/Modules | 93.8 123 / 131 | 80.5 29 / 36 | 85.7 30 / 35 | 72.2 13 / 18 | 96.6 29 / 30 | 80.0 4 / 5 | 89.4 228 / 255 | 33 |
12.7
CRAP
3.6
|
| RequireExplicitInclusion.pm | 93.8 123 / 131 | 80.5 29 / 36 | 85.7 30 / 35 | 72.2 13 / 18 | 96.6 29 / 30 | 80.0 4 / 5 | 89.4 228 / 255 | 33 |
12.7
CRAP
3.6
|
| Policy/Subroutines | 92.0 208 / 226 | 69.5 32 / 46 | 25.0 1 / 4 | 0.0 0 / 2 | 89.0 49 / 55 | 81.8 18 / 22 | 86.7 308 / 355 | 31 |
10.2
CRAP
2.8
|
| ProhibitExportingUndeclaredSubs.pm | 87.2 41 / 47 | 50.0 3 / 6 | 0.0 0 / 2 | 0.0 0 / 1 | 91.6 11 / 12 | 80.0 4 / 5 | 80.8 59 / 73 | 6 |
12.2
CRAP
3.4
|
| ProhibitCallsToUnexportedSubs.pm | 92.0 92 / 100 | 61.5 16 / 26 | 50.0 1 / 2 | 0.0 0 / 1 | 90.4 19 / 21 | 83.3 5 / 6 | 85.2 133 / 156 | 16 |
11.0
CRAP
3.0
|
| ProhibitCallsToUndeclaredSubs.pm | 94.5 52 / 55 | 91.6 11 / 12 | n/a | n/a | 84.6 11 / 13 | 83.3 5 / 6 | 91.8 79 / 86 | 10 |
9.7
CRAP
2.6
|
| ProhibitQualifiedSubDeclarations.pm | 95.8 23 / 24 | 100 2 / 2 | n/a | n/a | 88.8 8 / 9 | 80.0 4 / 5 | 92.5 37 / 40 | 2 |
2.6
CRAP
1.3
|
| StricterSubs | 94.5 192 / 203 | 80.6 79 / 98 | 69.7 30 / 43 | 44.0 11 / 25 | 96.7 30 / 31 | 100 12 / 12 | 85.9 354 / 412 | 73 |
17.5
CRAP
5.7
|
| Utils.pm | 94.5 192 / 203 | 80.6 79 / 98 | 69.7 30 / 43 | 44.0 11 / 25 | 96.7 30 / 31 | 100 12 / 12 | 85.9 354 / 412 | 73 |
17.5
CRAP
5.7
|