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 |
91
|
4 |
Yes |
ismn |
92
|
64 |
Yes |
is_valid |
93
|
1 |
Yes |
country |
94
|
0 |
Yes |
publisher |
95
|
62 |
Yes |
publisher_code |
96
|
0 |
Yes |
article_code |
97
|
0 |
Yes |
checksum |
98
|
0 |
Yes |
hyphen_positions |
102
|
1 |
Yes |
fix_checksum |
116
|
3 |
Yes |
as_string |
136
|
1 |
Yes |
as_ean |
162
|
61 |
Yes |
is_valid_country_code |
168
|
2 |
n/a |
BEGIN |
182
|
0 |
Yes |
is_valid_publisher_code |
187
|
68 |
n/a |
is_valid_checksum |
197
|
0 |
Yes |
ean_to_ismn |
216
|
0 |
Yes |
ismn_to_ean |
224
|
0 |
Yes |
png_barcode |
241
|
1 |
n/a |
_check_validity |
257
|
63 |
n/a |
_checksum |
278
|
2 |
n/a |
BEGIN |
280
|
192 |
n/a |
_common_format |