Subroutine Coverage
blib/lib/Business/ISMN.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
28 |
36 |
77.7
|
pod |
17 |
17 |
100.0
|
line |
count |
pod |
subroutine |
1
|
2 |
n/a |
BEGIN |
4
|
2 |
n/a |
BEGIN |
12
|
2 |
n/a |
BEGIN |
13
|
2 |
n/a |
BEGIN |
15
|
2 |
n/a |
BEGIN |
16
|
2 |
n/a |
BEGIN |
17
|
2 |
n/a |
BEGIN |
18
|
2 |
n/a |
BEGIN |
19
|
2 |
n/a |
BEGIN |
28
|
62 |
n/a |
INVALID_PUBLISHER_CODE |
29
|
64 |
n/a |
BAD_CHECKSUM |
30
|
183 |
n/a |
GOOD_ISMN |
31
|
10 |
n/a |
BAD_ISMN |
47
|
61 |
Yes |
new |
90
|
4 |
Yes |
ismn |
91
|
64 |
Yes |
is_valid |
92
|
1 |
Yes |
country |
93
|
0 |
Yes |
publisher |
94
|
62 |
Yes |
publisher_code |
95
|
0 |
Yes |
article_code |
96
|
0 |
Yes |
checksum |
97
|
0 |
Yes |
hyphen_positions |
101
|
1 |
Yes |
fix_checksum |
115
|
3 |
Yes |
as_string |
135
|
1 |
Yes |
as_ean |
161
|
61 |
Yes |
is_valid_country_code |
167
|
2 |
n/a |
BEGIN |
181
|
0 |
Yes |
is_valid_publisher_code |
186
|
68 |
n/a |
is_valid_checksum |
196
|
0 |
Yes |
ean_to_ismn |
215
|
0 |
Yes |
ismn_to_ean |
223
|
0 |
Yes |
png_barcode |
240
|
1 |
n/a |
_check_validity |
256
|
63 |
n/a |
_checksum |
277
|
2 |
n/a |
BEGIN |
279
|
192 |
n/a |
_common_format |