Coverage Report

Statementstmt 38.3% 1102 / 2875 Branchbran 35.1% 349 / 992 Conditioncond 22.6% 123 / 542 MC/DCmcdc 31.2% 46 / 147 Subroutinesub 42.4% 115 / 271 Podpod 7.1% 11 / 153 totaltotal 35.0% 1746 / 4980 CC 636 scar 40.5 CC 636 · cov 36% · CRAP 57.5

Top SCAR

blib/lib/Yote/YapiServer/Compiler.pm untested 52.5
CC
58
Cov
0%
compile_app
552.0
compile
90.0
compile_object
72.0
CRAP 190.2
blib/lib/Yote/YapiServer/Handler.pm untested 50.9
CC
70
Cov
0%
handle
342.0
handle_call
306.0
validate_args
156.0
CRAP 161.7
lib/Yote/YapiServer/BaseObj.pm 44.2
CC
15
Cov
20%
to_client_hash
156.0
_client_class_name
6.0
field_access
3.4
CRAP 82.7
blib/lib/Yote/YapiServer/App/Base.pm untested 43.4
CC
20
Cov
0%
authorize_object_method
156.0
authorize_method
42.0
connect_info_methods
20.0
CRAP 76.5
lib/Yote/YapiServer/User.pm 41.6
CC
15
Cov
53%
to_client_hash
132.0
updateProfile
3.0
verify_password
2.0
CRAP 64.1
5 5 files < 75%
2 2 files 75-90%
2 2 files 90-100%
11 11 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 87.8 36 / 4137.5 6 / 1633.3 1 / 30.0 0 / 2100 7 / 7n/a 72.4 50 / 697 14.4
CC
7
Cov
72%
CRAP 4.2
Build 87.8 36 / 4137.5 6 / 1633.3 1 / 30.0 0 / 2100 7 / 7n/a 72.4 50 / 697 14.4
CC
7
Cov
72%
BEGIN
8.1
magic_number_matches
3.1
BEGIN
1.0
CRAP 4.2
blib/lib/Yote 0.0 0 / 1560.0 0 / 240.0 0 / 33n/a 0.0 0 / 120.0 0 / 40.0 0 / 22913 30.4
CC
13
Cov
0%
CRAP 20.8
YapiServer.pm untested 0.0 0 / 1560.0 0 / 240.0 0 / 33n/a 0.0 0 / 120.0 0 / 40.0 0 / 22913 30.4
CC
13
Cov
0%
handle_request
42.0
run
30.0
_new_store
20.0
CRAP 20.8
blib/lib/Yote/YapiServer 0.0 0 / 12710.0 0 / 4260.0 0 / 222n/a 0.0 0 / 1140.0 0 / 680.0 0 / 2101214 46.6
CC
214
Cov
0%
CRAP 106.0
Compiler.pm untested 0.0 0 / 4170.0 0 / 1140.0 0 / 30n/a 0.0 0 / 200.0 0 / 130.0 0 / 59458 52.5
CC
58
Cov
0%
compile_app
552.0
compile
90.0
compile_object
72.0
CRAP 190.2
Handler.pm untested 0.0 0 / 2910.0 0 / 1380.0 0 / 63n/a 0.0 0 / 230.0 0 / 120.0 0 / 52770 50.9
CC
70
Cov
0%
handle
342.0
handle_call
306.0
validate_args
156.0
CRAP 161.7
YapiDef.pm untested 0.0 0 / 2620.0 0 / 940.0 0 / 63n/a 0.0 0 / 170.0 0 / 150.0 0 / 45148 38.4
CC
48
Cov
0%
parse_block_content
110.0
brace_delta
72.0
parse_string
42.0
CRAP 46.3
Site.pm untested 0.0 0 / 1240.0 0 / 460.0 0 / 12n/a 0.0 0 / 170.0 0 / 90.0 0 / 20824 36.4
CC
24
Cov
0%
createUser
110.0
login
30.0
init
20.0
CRAP 38.1
Session.pm untested 0.0 0 / 690.0 0 / 160.0 0 / 8n/a 0.0 0 / 160.0 0 / 100.0 0 / 1199 25.6
CC
9
Cov
0%
can_access
42.0
expose_object
6.0
revoke_access
6.0
CRAP 13.0
BaseObj.pm untested 0.0 0 / 450.0 0 / 80.0 0 / 27n/a 0.0 0 / 90.0 0 / 40.0 0 / 935 25.5
CC
5
Cov
0%
to_client_hash
30.0
field_access
2.0
method_defs
2.0
CRAP 12.8
User.pm untested 0.0 0 / 500.0 0 / 100.0 0 / 19n/a 0.0 0 / 90.0 0 / 50.0 0 / 936 25.3
CC
6
Cov
0%
to_client_hash
30.0
updateProfile
6.0
getProfile
2.0
CRAP 12.6
File.pm untested 0.0 0 / 13n/a n/a n/a 0.0 0 / 3n/a 0.0 0 / 161 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
blib/lib/Yote/YapiServer/App 0.0 0 / 1130.0 0 / 420.0 0 / 39n/a 0.0 0 / 190.0 0 / 100.0 0 / 22322 40.3
CC
22
Cov
0%
CRAP 56.4
Base.pm untested 0.0 0 / 660.0 0 / 380.0 0 / 29n/a 0.0 0 / 100.0 0 / 50.0 0 / 14820 43.4
CC
20
Cov
0%
authorize_object_method
156.0
authorize_method
42.0
connect_info_methods
20.0
CRAP 76.5
Example.pm untested 0.0 0 / 470.0 0 / 40.0 0 / 10n/a 0.0 0 / 90.0 0 / 50.0 0 / 753 12.4
CC
3
Cov
0%
getMessages
6.0
postMessage
6.0
getStats
2.0
CRAP 3.5
lib/Yote/YapiServer 81.6 1002 / 122870.8 316 / 44646.7 101 / 21630.4 39 / 12889.9 98 / 10916.6 11 / 6671.4 1567 / 2193354 34.2
CC
354
Cov
75%
CRAP 30.6
BaseObj.pm 35.5 16 / 450.0 0 / 80.0 0 / 270.0 0 / 1655.5 5 / 90.0 0 / 319.4 21 / 10815 44.2
CC
15
Cov
20%
to_client_hash
156.0
_client_class_name
6.0
field_access
3.4
CRAP 82.7
User.pm 72.0 36 / 5020.0 2 / 1021.0 4 / 1918.1 2 / 1188.8 8 / 90.0 0 / 550.0 52 / 10415 41.6
CC
15
Cov
53%
to_client_hash
132.0
updateProfile
3.0
verify_password
2.0
CRAP 64.1
Compiler.pm 73.0 293 / 40160.3 70 / 11628.5 8 / 280.0 0 / 1595.2 20 / 210.0 0 / 1365.8 391 / 594105 39.5
CC
105
Cov
68%
compile_object
240.0
compile_app
50.8
merge_method_shorthands
45.0
CRAP 52.2
Handler.pm 81.7 229 / 28071.4 100 / 14052.4 32 / 6132.4 12 / 3780.0 16 / 200.0 0 / 1170.8 389 / 549101 32.0
CC
101
Cov
75%
process_file_arg
110.0
handle
30.5
handle_call
20.4
CRAP 24.5
YapiDef.pm 92.3 242 / 26279.0 87 / 11063.9 39 / 6141.6 15 / 36100 17 / 170.0 0 / 1579.8 400 / 50182 22.9
CC
82
Cov
85%
brace_delta
17.5
parse_block_content
12.7
parse_code_block
10.4
CRAP 9.8
Site.pm 96.6 117 / 12191.3 42 / 46100 12 / 12100 8 / 894.1 16 / 1766.6 6 / 994.3 201 / 21329 17.8
CC
29
Cov
96%
createUser
12.0
login
7.0
init
5.0
CRAP 5.9
Session.pm 100 69 / 6993.7 15 / 1675.0 6 / 840.0 2 / 5100 16 / 1650.0 5 / 1091.1 113 / 12413 9.7
CC
13
Cov
97%
can_access
6.0
expose_object
3.0
calculate_expiry
2.0
CRAP 2.6
lib/Yote/YapiServer/App 96.9 64 / 6671.0 27 / 3872.4 21 / 2941.1 7 / 17100 10 / 100.0 0 / 578.1 129 / 16531 25.0
CC
31
Cov
84%
CRAP 12.1
Base.pm 96.9 64 / 6671.0 27 / 3872.4 21 / 2941.1 7 / 17100 10 / 100.0 0 / 578.1 129 / 16531 25.0
CC
31
Cov
84%
authorize_object_method
24.1
connect_info_methods
9.0
authorize_method
7.0
CRAP 12.1