| 1 | package EBook::EPUB::Check::Result; | ||||||||||
| 2 | |||||||||||
| 3 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | sub new | ||||||||||
| 7 | { | ||||||||||
| 8 | 0 | ▶ | my ($class, $out) = @_; | ||||||||
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 9 | 0 | bless { out => $out }, $class; | |||||||||
| 10 | } | ||||||||||
| 11 | |||||||||||
| 12 | 0 | ▶ | sub is_valid { ${ shift->{out} } =~ /No errors or warnings detected/i ? 1 : 0; } | ||||||||
|
Subroutine
is_valid: not called CC=2 SCAR=17.9
Pod
documented
Branch: 1 branch
| |||||||||||
| 13 | 0 | ▶ | sub report { ${ shift->{out} }; } | ||||||||
|
Subroutine
report: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 14 | |||||||||||
| 15 | 2 | 1; | |||||||||
| 16 | |||||||||||
| 17 | __END__ | ||||||||||