Coverage Report

Statementstmt 55.8% 328 / 587 Branchbran 42.5% 68 / 160 Conditioncond 29.2% 12 / 41 MC/DCmcdc 31.5% 6 / 19 Subroutinesub 71.9% 59 / 82 Podpod 100% 32 / 32 totaltotal 54.8% 505 / 921 CC 118 scar 33.4 CC 118 · cov 52% · CRAP 28.2
Prefix: blib/

Top SCAR

lib/CMS/Drupal/Modules/MembershipEntity/Stats.pm 39.8
CC
67
Cov
27%
count_daily_were_renewal_memberships
240.0
count_daily_renewals
56.0
build_date_range
42.0
CRAP 53.5
lib/CMS/Drupal/Modules/MembershipEntity.pm 25.9
CC
17
Cov
86%
fetch_memberships
19.2
BEGIN
1.0
BEGIN
1.0
CRAP 13.4
lib/CMS/Drupal/Modules/MembershipEntity/Test.pm 16.9
CC
20
Cov
98%
build_test_data
12.0
build_test_db
5.0
__ANON__
2.0
CRAP 5.4
lib/CMS/Drupal/Modules/MembershipEntity/Membership.pm 9.8
CC
11
Cov
92%
current_was_renewal
4.3
has_renewal
4.0
is_cancelled
2.0
CRAP 2.7
lib/CMS/Drupal/Modules/MembershipEntity/Term.pm 7.6
CC
7
Cov
100%
is_current
3.0
is_future
3.0
is_active
2.0
CRAP 2.1
1 1 file < 75%
1 1 file 75-90%
2 2 files 90-100%
1 1 file 100%
2 2 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
lib/CMS/Drupal/Modules 90.7 69 / 7677.7 14 / 1840.0 2 / 50.0 0 / 3100 9 / 9100 1 / 184.8 95 / 11217 25.9
CC
17
Cov
86%
CRAP 13.4
MembershipEntity.pm 90.7 69 / 7677.7 14 / 1840.0 2 / 50.0 0 / 3100 9 / 9100 1 / 184.8 95 / 11217 25.9
CC
17
Cov
86%
fetch_memberships
19.2
BEGIN
1.0
BEGIN
1.0
CRAP 13.4
lib/CMS/Drupal/Modules/MembershipEntity 57.4 259 / 45142.1 54 / 12841.6 10 / 2437.5 6 / 1678.1 50 / 64100 31 / 3157.4 410 / 714102 34.6
CC
102
Cov
54%
CRAP 31.9
Stats.pm 29.2 76 / 26025.0 23 / 920.0 0 / 120.0 0 / 855.5 15 / 27100 18 / 1831.6 132 / 41767 39.8
CC
67
Cov
27%
count_daily_were_renewal_memberships
240.0
count_daily_renewals
56.0
build_date_range
42.0
CRAP 53.5
Test.pm 100 105 / 10587.5 14 / 16n/a n/a 100 17 / 17100 3 / 398.5 139 / 14120 16.9
CC
20
Cov
98%
build_test_data
12.0
build_test_db
5.0
__ANON__
2.0
CRAP 5.4
Membership.pm 100 46 / 4675.0 9 / 1266.6 4 / 650.0 2 / 4100 10 / 10100 6 / 691.6 77 / 8411 9.8
CC
11
Cov
92%
current_was_renewal
4.3
has_renewal
4.0
is_cancelled
2.0
CRAP 2.7
Term.pm 100 32 / 32100 8 / 8100 6 / 6100 4 / 4100 8 / 8100 4 / 4100 62 / 627 7.6
CC
7
Cov
100%
is_current
3.0
is_future
3.0
is_active
2.0
CRAP 2.1
Cookbook.pm untested 0.0 0 / 8n/a n/a n/a 0.0 0 / 2n/a 0.0 0 / 101 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
script 0.0 0 / 600.0 0 / 140.0 0 / 12n/a 0.0 0 / 9n/a 0.0 0 / 951 6.9
CC
1
Cov
0%
CRAP 2.0
notify_expiring_members.pl untested 0.0 0 / 600.0 0 / 140.0 0 / 12n/a 0.0 0 / 9n/a 0.0 0 / 951 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0