Branch Coverage

blib/lib/DataStore/CAS/FS/InvalidUTF8.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
14 0 66 unless not ref $str or ref($str)->isa('DataStore::CAS::FS::InvalidUTF8')
16 46 20 ref $str || utf8::is_utf8($str) || utf8::decode($str) ? :
26 1 1 if (ref $other eq 'DataStore::CAS::FS::InvalidUTF8') { }
28 1 1 $swap ? :
33 1 1 if (ref $other eq 'DataStore::CAS::FS::InvalidUTF8') { }
34 1 1 $swap ? :
54 3 0 if utf8::is_utf8($x)