Coverage Report

Statementstmt 79.2% 557 / 703 Branchbran 72.0% 183 / 254 Conditioncond 67.9% 53 / 78 MC/DCmcdc 44.4% 16 / 36 Subroutinesub 77.7% 119 / 153 Podpod 47.4% 46 / 97 totaltotal 73.7% 974 / 1321 CC 167 scar 25.5 CC 167 · cov 77% · CRAP 12.8
Prefix: blib/lib/Template/

Top SCAR

Lace/DOM.pm 29.8
CC
107
Cov
81%
fill
73.6
smart_content
14.0
append_script_uniquely
10.7
CRAP 19.7
Lace/Renderer.pm 21.5
CC
27
Cov
68%
call_at
20.0
__ANON__
12.0
__ANON__
12.0
CRAP 8.6
Lace/Factory/InferInitArgsRole.pm untested 12.8
CC
2
Cov
0%
infer_args_from
6.0
find_fields
2.0
BEGIN
2.0
CRAP 3.6
Lace/Components.pm 12.5
CC
28
Cov
87%
setup_css_match_handler
7.8
find_component
6.0
attr_value_handler_factory
5.0
CRAP 3.5
Lace/Model/AutoTemplate.pm untested 6.9
CC
1
Cov
0%
get_path_to_template
2.0
slurp_template_from
2.0
template
2.0
CRAP 2.0
1 1 file < 75%
5 5 files 75-90%
1 1 file 90-100%
3 3 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 / 1n/a n/a n/a n/a n/a 0.0 0 / 1- -
Lace.pm untested 0.0 0 / 1n/a n/a n/a n/a n/a 0.0 0 / 1- -
Lace 86.5 551 / 63772.6 183 / 25269.7 53 / 7644.4 16 / 3682.9 117 / 14150.0 45 / 9078.3 965 / 1232166 25.8
CC
166
Cov
82%
CRAP 13.2
DOM.pm 83.4 263 / 31577.2 122 / 15878.9 45 / 5752.0 13 / 2577.1 54 / 7084.3 43 / 5179.8 540 / 676107 29.8
CC
107
Cov
81%
fill
73.6
smart_content
14.0
append_script_uniquely
10.7
CRAP 19.7
Renderer.pm 81.3 61 / 7555.0 22 / 4020.0 2 / 1016.6 1 / 676.9 10 / 1325.0 2 / 864.4 98 / 15227 21.5
CC
27
Cov
68%
call_at
20.0
__ANON__
12.0
__ANON__
12.0
CRAP 8.6
Components.pm 91.4 129 / 14175.0 33 / 4483.3 5 / 666.6 2 / 388.4 23 / 260.0 0 / 1581.7 192 / 23528 12.5
CC
28
Cov
87%
setup_css_match_handler
7.8
find_component
6.0
attr_value_handler_factory
5.0
CRAP 3.5
Factory.pm 90.6 68 / 7562.5 5 / 833.3 1 / 30.0 0 / 295.0 19 / 200.0 0 / 979.4 93 / 1176 4.7
CC
6
Cov
86%
create_model
3.6
_get_dom_class
2.0
_get_components_class
2.0
CRAP 1.6
ComponentCallback.pm 95.2 20 / 2150.0 1 / 2n/a n/a 88.8 8 / 90.0 0 / 676.3 29 / 382 2.6
CC
2
Cov
91%
get_processed_dom
2.0
cb
2.0
BEGIN
1.0
CRAP 1.3
Utils.pm 100 10 / 10n/a n/a n/a 100 3 / 30.0 0 / 192.8 13 / 141 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
mk_component
1.0
CRAP 1.0
Lace/Factory 0.0 0 / 330.0 0 / 2n/a n/a 0.0 0 / 40.0 0 / 20.0 0 / 412 12.8
CC
2
Cov
0%
CRAP 3.6
InferInitArgsRole.pm untested 0.0 0 / 330.0 0 / 2n/a n/a 0.0 0 / 40.0 0 / 20.0 0 / 412 12.8
CC
2
Cov
0%
infer_args_from
6.0
find_fields
2.0
BEGIN
2.0
CRAP 3.6
Lace/Model 18.7 6 / 32n/a 0.0 0 / 2n/a 25.0 2 / 820.0 1 / 519.1 9 / 471 5.6
CC
1
Cov
18%
CRAP 1.8
AutoTemplate.pm untested 0.0 0 / 25n/a 0.0 0 / 2n/a 0.0 0 / 50.0 0 / 30.0 0 / 351 6.9
CC
1
Cov
0%
get_path_to_template
2.0
slurp_template_from
2.0
template
2.0
CRAP 2.0
HasChildren.pm 85.7 6 / 7n/a n/a n/a 66.6 2 / 350.0 1 / 275.0 9 / 121 2.9
CC
1
Cov
86%
children
2.0
BEGIN
1.0
add_child
1.0
CRAP 1.3