blib/lib/App/MaMGal/ImageInfoFactory.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
16 | 2 | 1 | if (exists $ENV{'MAMGAL_FORCE_IMAGEINFO'}) { } |
1 | 0 | elsif (eval 'require App::MaMGal::ImageInfo::ExifTool') { } | |
0 | 0 | elsif (eval 'require App::MaMGal::ImageInfo::ImageInfo') { } | |
18 | 0 | 2 | unless eval "require $implementation" |
31 | 2 | 44 | unless my $parser = shift() |
32 | 2 | 42 | unless ref $parser and $parser->isa('Image::EXIF::DateTime::Parser') |
33 | 2 | 40 | unless my $logger = shift() |
34 | 2 | 38 | unless ref $logger and $logger->isa('App::MaMGal::Logger') |