Coverage Report

Statementstmt 79.0% 1527 / 1933 Branchbran 65.9% 630 / 956 Conditioncond 60.2% 156 / 259 MC/DCmcdc 37.2% 61 / 164 Subroutinesub 82.7% 202 / 244 Podpod 96.4% 135 / 140 totaltotal 73.3% 2711 / 3696 CC 615 scar 30.7 CC 615 · cov 73% · CRAP 21.6
Prefix: blib/lib/PICA/

Top SCAR

Writer.pm 42.1
CC
94
Cov
78%
write
249.5
output
18.3
addfieldstat
16.5
CRAP 67.2
SOAPClient.pm 38.2
CC
27
Cov
21%
new
110.0
_soap_query
72.0
update
30.0
CRAP 45.7
Source.pm 37.0
CC
54
Cov
47%
z3950Query
156.0
getPPN
25.6
new
23.6
CRAP 40.5
SQLiteStore.pm 24.8
CC
39
Cov
44%
update
20.0
new
17.9
get
12.5
CRAP 11.9
SOAPServer.pm untested 24.5
CC
12
Cov
0%
delete
20.0
new
12.0
get
12.0
CRAP 11.6
4 4 files < 75%
6 6 files 75-90%
1 1 file 90-100%
1 1 untested file
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 79.0 1527 / 193365.9 630 / 95660.2 156 / 25937.2 61 / 16482.7 202 / 24496.4 135 / 14073.3 2711 / 3696615 30.7
CC
615
Cov
73%
CRAP 21.6
Writer.pm 88.4 206 / 23367.3 93 / 13857.4 27 / 4736.6 11 / 30100 28 / 28100 13 / 1377.3 378 / 48994 42.1
CC
94
Cov
78%
write
249.5
output
18.3
addfieldstat
16.5
CRAP 67.2
SOAPClient.pm 32.9 31 / 940.0 0 / 460.0 0 / 60.0 0 / 452.9 9 / 17100 7 / 727.0 47 / 17427 38.2
CC
27
Cov
21%
new
110.0
_soap_query
72.0
update
30.0
CRAP 45.7
Source.pm 56.1 87 / 15534.5 29 / 8435.7 10 / 285.8 1 / 1770.5 12 / 17100 10 / 1047.9 149 / 31154 37.0
CC
54
Cov
47%
z3950Query
156.0
getPPN
25.6
new
23.6
CRAP 40.5
SQLiteStore.pm 53.0 88 / 16623.4 15 / 6433.3 2 / 60.0 0 / 455.5 10 / 18100 11 / 1146.8 126 / 26939 24.8
CC
39
Cov
44%
update
20.0
new
17.9
get
12.5
CRAP 11.9
SOAPServer.pm untested 0.0 0 / 720.0 0 / 26n/a n/a 0.0 0 / 90.0 0 / 50.0 0 / 11212 24.5
CC
12
Cov
0%
delete
20.0
new
12.0
get
12.0
CRAP 11.6
XMLParser.pm 90.4 133 / 14774.4 64 / 8667.8 19 / 2838.8 7 / 1894.7 18 / 19100 11 / 1181.5 252 / 30955 23.9
CC
55
Cov
83%
start_element
19.3
end_element
16.4
parsedata
10.2
CRAP 11.0
PlainParser.pm 95.9 141 / 14787.0 87 / 10073.3 22 / 3050.0 9 / 18100 15 / 15100 9 / 988.7 283 / 31964 23.7
CC
64
Cov
90%
parsefile
19.3
_parseline
11.0
handle_record
11.0
CRAP 10.7
Record.pm 90.5 353 / 39080.3 143 / 17873.6 42 / 5758.3 21 / 3694.1 48 / 51100 31 / 3185.8 638 / 743130 21.8
CC
130
Cov
86%
add_headers
20.0
holdings
16.8
subfield
14.0
CRAP 8.9
Store.pm 78.0 39 / 5065.3 17 / 2633.3 2 / 60.0 0 / 457.1 8 / 14100 8 / 868.5 74 / 10817 20.4
CC
17
Cov
71%
readconfigfile
13.9
new
7.0
access
6.0
CRAP 7.7
Field.pm 91.4 299 / 32788.1 127 / 14455.5 15 / 2727.7 5 / 1893.7 30 / 32100 21 / 2187.3 497 / 56989 19.7
CC
89
Cov
89%
html
20.0
parse
13.2
string
12.0
CRAP 7.2
Parser.pm 100 89 / 8988.1 37 / 4277.7 14 / 1863.6 7 / 11100 10 / 10100 6 / 692.6 163 / 17631 18.5
CC
31
Cov
94%
_getparser
11.0
parsefile
8.1
new
4.1
CRAP 6.4
SRUSearchParser.pm 96.8 61 / 6381.8 18 / 2250.0 3 / 60.0 0 / 4100 14 / 14100 8 / 888.8 104 / 11714 13.0
CC
14
Cov
90%
end_element
7.3
start_element
5.1
new
3.1
CRAP 3.7