Branch Coverage

blib/lib/FileMetadata/Miner/Stat.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
19 3 1 if (defined $$config{'size'})
20 1 2 unless $$config{'size'} =~ /^(MB|KB|bytes)$/
26 0 3 if (defined $$config{'date'}) { }
40 1 3 unless $result
45 1 2 if ($$self{'size_format'} eq 'MB') { }
1 1 elsif ($$self{'size_format'} eq 'KB') { }
0 1 elsif ($$self{'size_format'} eq 'bytes') { }
66 3 0 if (S_ISREG((stat _)[2])) { }
0 0 elsif (S_ISDIR((stat _)[2])) { }