Coverage Report

Statementstmt 90.8% 208 / 229 Branchbran 72.5% 45 / 62 Conditioncond 55.5% 5 / 9 MC/DCmcdc 20.0% 1 / 5 Subroutinesub 87.8% 36 / 41 Podpod 66.6% 4 / 6 totaltotal 84.9% 299 / 352 CC 42 scar 14.8 CC 42 · cov 86% · CRAP 4.4
Prefix: blib/lib/DBIx/Class/

Top SCAR

LookupColumn/Auto.pm 18.3
CC
20
Cov
90%
add_lookups
10.0
_guess_field_name
7.1
_target2lookups
7.0
CRAP 6.2
LookupColumn/Manager.pm 16.2
CC
13
Cov
82%
_ENSURE_LOOKUP_IS_CACHED
9.3
FETCH_ID_BY_NAME
3.0
FETCH_NAME_BY_ID
3.0
CRAP 5.1
LookupColumn/LookupColumnComponent.pm 9.3
CC
11
Cov
83%
add_lookup
7.7
__ANON__
2.1
is_departmenttype
2.1
CRAP 2.5
3 3 files 75-90%
1 1 file 100%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 100 6 / 6n/a n/a n/a 100 1 / 1n/a 100 7 / 71 0.0
CC
1
Cov
100%
CRAP 1.0
LookupColumn.pm 100 6 / 6n/a n/a n/a 100 1 / 1n/a 100 7 / 71 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
LookupColumn 90.5 202 / 22372.5 45 / 6255.5 5 / 920.0 1 / 587.5 35 / 4066.6 4 / 684.6 292 / 34542 14.9
CC
42
Cov
86%
CRAP 4.4
Auto.pm 94.4 85 / 9082.1 23 / 2833.3 1 / 30.0 0 / 2100 12 / 12100 1 / 189.7 122 / 13620 18.3
CC
20
Cov
90%
add_lookups
10.0
_guess_field_name
7.1
_target2lookups
7.0
CRAP 6.2
Manager.pm 88.0 44 / 5075.0 15 / 2050.0 2 / 40.0 0 / 270.0 7 / 1050.0 2 / 477.7 70 / 9013 16.2
CC
13
Cov
82%
_ENSURE_LOOKUP_IS_CACHED
9.3
FETCH_ID_BY_NAME
3.0
FETCH_NAME_BY_ID
3.0
CRAP 5.1
LookupColumnComponent.pm 87.9 73 / 8350.0 7 / 14100 2 / 2100 1 / 188.8 16 / 18100 1 / 184.0 100 / 11911 9.3
CC
11
Cov
83%
add_lookup
7.7
__ANON__
2.1
is_departmenttype
2.1
CRAP 2.5