Coverage Report

Statementstmt 49.0% 1116 / 2275 Branchbran 31.9% 193 / 604 Conditioncond 26.9% 62 / 230 MC/DCmcdc 12.3% 16 / 130 Subroutinesub 52.2% 233 / 446 Podpod 4.3% 8 / 186 totaltotal 42.0% 1628 / 3871 CC 392 scar 39.4 CC 392 · cov 44% · CRAP 51.6

Top SCAR

blib/lib/Ftree/Exporters/ExcelExporter.pm untested 57.5
CC
22
Cov
0%
export
420.0
getPlaceString
12.0
BEGIN
2.0
CRAP 312.7
blib/lib/Ftree/Exporters/ExcelxExporter.pm untested 57.5
CC
22
Cov
0%
export
420.0
getPlaceString
12.0
BEGIN
2.0
CRAP 312.7
blib/lib/Ftree/DataParsers/DBIFormat.pm untested 57.2
CC
23
Cov
0%
getFamilyTreeData
462.0
_get_date
12.0
BEGIN
2.0
CRAP 304.8
lib/Ftree/PersonPage.pm 47.2
CC
28
Cov
15%
_draw_single_person_page
272.0
_print_people_list
56.0
_draw_pictures
30.0
CRAP 112.1
lib/Ftree/DataParsers/ExtendedSimonWardFormat.pm 41.6
CC
20
Cov
57%
createFamilyTreeDataFromFile
182.0
getNameFields
6.0
getPictureFileName
5.8
CRAP 64.0
13 13 files < 75%
5 5 files 75-90%
2 2 files 90-100%
1 file 100%
14 14 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
blib/lib/Ftree/DataParsers 0.0 0 / 1860.0 0 / 680.0 0 / 290.0 0 / 160.0 0 / 390.0 0 / 100.0 0 / 34835 49.3
CC
35
Cov
0%
CRAP 138.4
DBIFormat.pm untested 0.0 0 / 540.0 0 / 440.0 0 / 170.0 0 / 90.0 0 / 100.0 0 / 20.0 0 / 13623 57.2
CC
23
Cov
0%
getFamilyTreeData
462.0
_get_date
12.0
BEGIN
2.0
CRAP 304.8
ExcelxFormat.pm untested 0.0 0 / 430.0 0 / 100.0 0 / 20.0 0 / 10.0 0 / 90.0 0 / 20.0 0 / 676 25.3
CC
6
Cov
0%
createFamilyTreeDataFromFile
30.0
convertCell
6.0
BEGIN
2.0
CRAP 12.6
GedcomFormat.pm untested 0.0 0 / 600.0 0 / 120.0 0 / 80.0 0 / 50.0 0 / 120.0 0 / 50.0 0 / 1027 20.9
CC
7
Cov
0%
getDate
20.0
createFamilyTreeDataFromFile
12.0
getPlace
6.0
CRAP 8.1
SerializerFormat.pm untested 0.0 0 / 290.0 0 / 20.0 0 / 20.0 0 / 10.0 0 / 80.0 0 / 10.0 0 / 432 10.6
CC
2
Cov
0%
createFamilyTreeDataFromFile
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.9
blib/lib/Ftree/Exporters 0.0 0 / 1500.0 0 / 84n/a n/a 0.0 0 / 190.0 0 / 50.0 0 / 25843 56.2
CC
43
Cov
0%
CRAP 277.1
ExcelExporter.pm untested 0.0 0 / 640.0 0 / 42n/a n/a 0.0 0 / 60.0 0 / 20.0 0 / 11422 57.5
CC
22
Cov
0%
export
420.0
getPlaceString
12.0
BEGIN
2.0
CRAP 312.7
ExcelxExporter.pm untested 0.0 0 / 640.0 0 / 42n/a n/a 0.0 0 / 60.0 0 / 20.0 0 / 11422 57.5
CC
22
Cov
0%
export
420.0
getPlaceString
12.0
BEGIN
2.0
CRAP 312.7
Serializer.pm untested 0.0 0 / 22n/a n/a n/a 0.0 0 / 70.0 0 / 10.0 0 / 301 6.9
CC
1
Cov
0%
export
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
blib/lib/Ftree/TextGenerators 0.0 0 / 2910.0 0 / 14n/a n/a 0.0 0 / 1040.0 0 / 770.0 0 / 4868 9.2
CC
8
Cov
0%
CRAP 2.5
RomanianTextGenerator.pm untested 0.0 0 / 390.0 0 / 2n/a n/a 0.0 0 / 140.0 0 / 110.0 0 / 662 9.3
CC
2
Cov
0%
maintainer
6.0
new
2.0
summary
2.0
CRAP 2.5
FrenchTextGenerator.pm untested 0.0 0 / 420.0 0 / 2n/a n/a 0.0 0 / 150.0 0 / 110.0 0 / 702 9.2
CC
2
Cov
0%
maintainer
6.0
new
2.0
summary
2.0
CRAP 2.5
GermanTextGenerator.pm untested 0.0 0 / 420.0 0 / 2n/a n/a 0.0 0 / 150.0 0 / 110.0 0 / 702 9.2
CC
2
Cov
0%
maintainer
6.0
new
2.0
summary
2.0
CRAP 2.5
HungarianTextGenerator.pm untested 0.0 0 / 420.0 0 / 2n/a n/a 0.0 0 / 150.0 0 / 110.0 0 / 702 9.2
CC
2
Cov
0%
maintainer
6.0
new
2.0
summary
2.0
CRAP 2.5
ItalianTextGenerator.pm untested 0.0 0 / 420.0 0 / 2n/a n/a 0.0 0 / 150.0 0 / 110.0 0 / 702 9.2
CC
2
Cov
0%
maintainer
6.0
new
2.0
summary
2.0
CRAP 2.5
PolishTextGenerator.pm untested 0.0 0 / 420.0 0 / 2n/a n/a 0.0 0 / 150.0 0 / 110.0 0 / 702 9.2
CC
2
Cov
0%
maintainer
6.0
new
2.0
summary
2.0
CRAP 2.5
RussianTextGenerator.pm untested 0.0 0 / 420.0 0 / 2n/a n/a 0.0 0 / 150.0 0 / 110.0 0 / 702 9.2
CC
2
Cov
0%
maintainer
6.0
new
2.0
summary
2.0
CRAP 2.5
lib/Ftree 65.7 832 / 126544.8 149 / 33231.1 43 / 13818.1 14 / 7782.9 161 / 1940.0 0 / 6158.0 1199 / 2067232 33.7
CC
232
Cov
59%
CRAP 29.0
PersonPage.pm 20.9 27 / 1290.0 0 / 440.0 0 / 90.0 0 / 547.0 8 / 170.0 0 / 216.9 35 / 20628 47.2
CC
28
Cov
15%
_draw_single_person_page
272.0
_print_people_list
56.0
_draw_pictures
30.0
CRAP 112.1
FamilyTreeInfo.pm 17.9 37 / 2060.0 0 / 400.0 0 / 180.0 0 / 1050.0 11 / 220.0 0 / 216.1 48 / 29836 40.0
CC
36
Cov
14%
_draw_surname_page
110.0
_draw_facehall_page
110.0
_draw_birthday_page
72.0
CRAP 54.7
FamilyTreeData.pm 84.4 87 / 10375.8 47 / 6252.3 11 / 2128.5 4 / 1492.3 12 / 130.0 0 / 573.8 161 / 21839 36.0
CC
39
Cov
78%
add_person
55.9
set_parent
8.1
get_all_people
2.0
CRAP 36.6
Person.pm 75.3 61 / 8136.3 8 / 2217.9 7 / 3910.0 2 / 2080.0 8 / 100.0 0 / 448.8 86 / 17626 35.8
CC
26
Cov
54%
get_soft_peers
90.0
get_spouses
42.0
get_peers
19.8
CRAP 35.9
Place.pm 80.9 17 / 210.0 0 / 6n/a n/a 83.3 5 / 60.0 0 / 262.8 22 / 354 22.5
CC
4
Cov
63%
toString
20.0
BEGIN
1.0
BEGIN
1.0
CRAP 9.4
Name.pm 70.0 42 / 6041.6 5 / 1222.2 2 / 916.6 1 / 672.7 8 / 110.0 0 / 556.3 58 / 10310 18.2
CC
10
Cov
60%
get_short_name
20.0
get_full_name
4.2
get_long_name
4.2
CRAP 6.2
FamilyTreeBase.pm 84.9 107 / 12660.8 28 / 4633.3 2 / 60.0 0 / 395.6 22 / 230.0 0 / 576.0 159 / 20926 16.8
CC
26
Cov
77%
_password_check
15.5
get_cell_class
12.0
html_img
7.3
CRAP 5.3
FamilyTreeGraphics.pm 89.2 306 / 34363.0 58 / 9258.3 21 / 3636.8 7 / 1993.6 44 / 470.0 0 / 2477.7 436 / 56165 16.7
CC
65
Cov
82%
set_size
15.6
getDGridLineG
13.0
fillDTree
8.6
CRAP 5.3
Cemetery.pm 74.0 20 / 270.0 0 / 2n/a n/a 75.0 6 / 80.0 0 / 266.6 26 / 392 8.0
CC
2
Cov
69%
toString
6.0
new
2.0
BEGIN
1.0
CRAP 2.2
FamilyTreeDataFactory.pm 58.5 24 / 4150.0 1 / 2n/a n/a 100 6 / 60.0 0 / 162.0 31 / 502 4.9
CC
2
Cov
58%
getFamilyTree
3.2
BEGIN
1.0
BEGIN
1.0
CRAP 1.6
TextGeneratorFactory.pm 55.5 30 / 54n/a n/a n/a 100 10 / 100.0 0 / 458.8 40 / 682 4.7
CC
2
Cov
56%
getTextGenerator
4.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.6
SettingsFactory.pm 100 18 / 1850.0 1 / 2n/a n/a 100 5 / 50.0 0 / 192.3 24 / 262 2.9
CC
2
Cov
95%
importSettings
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
StringUtils.pm 100 22 / 2250.0 1 / 2n/a n/a 100 7 / 70.0 0 / 388.2 30 / 342 2.4
CC
2
Cov
96%
trim
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
PerlSettingsImporter.pm 100 17 / 17n/a n/a n/a 100 5 / 50.0 0 / 195.6 22 / 231 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Picture.pm 100 17 / 17n/a n/a n/a 100 4 / 4n/a 100 21 / 211 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
lib/Ftree/DataParsers 75.3 193 / 25643.7 42 / 9631.5 18 / 576.0 2 / 3393.3 42 / 450.0 0 / 1958.7 297 / 50671 34.0
CC
71
Cov
62%
CRAP 29.9
ExtendedSimonWardFormat.pm 68.8 75 / 10929.4 10 / 340.0 0 / 60.0 0 / 484.2 16 / 190.0 0 / 756.4 101 / 17920 41.6
CC
20
Cov
57%
createFamilyTreeDataFromFile
182.0
getNameFields
6.0
getPictureFileName
5.8
CRAP 64.0
FieldValidatorParser.pm 72.8 67 / 9239.4 15 / 3833.3 14 / 424.3 1 / 23100 17 / 170.0 0 / 1051.3 114 / 22235 27.5
CC
35
Cov
56%
getDate
48.3
getCemetery
22.6
validMonth
6.5
CRAP 15.6
ExcelFormat.pm 92.7 51 / 5570.8 17 / 2444.4 4 / 916.6 1 / 6100 9 / 90.0 0 / 278.1 82 / 10518 21.1
CC
18
Cov
82%
convertCell
11.3
createFamilyTreeDataFromFile
10.5
BEGIN
1.0
CRAP 8.2
lib/Ftree/DataParsers/ArrayImporters 50.0 15 / 300.0 0 / 60.0 0 / 30.0 0 / 250.0 4 / 80.0 0 / 435.8 19 / 535 17.0
CC
5
Cov
38%
CRAP 5.5
CSVArrayImporter.pm 50.0 15 / 300.0 0 / 60.0 0 / 30.0 0 / 250.0 4 / 80.0 0 / 435.8 19 / 535 17.0
CC
5
Cov
38%
next
12.0
new
6.0
close
6.0
CRAP 5.5
lib/Ftree/Date 82.7 48 / 5850.0 1 / 233.3 1 / 30.0 0 / 273.9 17 / 2380.0 8 / 1076.5 75 / 983 3.5
CC
3
Cov
79%
CRAP 1.4
Tiny.pm 82.7 48 / 5850.0 1 / 233.3 1 / 30.0 0 / 273.9 17 / 2380.0 8 / 1076.5 75 / 983 3.5
CC
3
Cov
79%
format
3.1
now
2.0
ymd
2.0
CRAP 1.4
lib/Ftree/TextGenerators 71.7 28 / 3950.0 1 / 2n/a n/a 64.2 9 / 14n/a 69.0 38 / 552 3.9
CC
2
Cov
71%
CRAP 1.5
EnglishTextGenerator.pm 71.7 28 / 3950.0 1 / 2n/a n/a 64.2 9 / 14n/a 69.0 38 / 552 3.9
CC
2
Cov
71%
maintainer
2.0
summary
2.0
People_with_surname
2.0
CRAP 1.5