Branch Coverage

blib/lib/Tie/Hash/Longest.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
15 2 1 if $$self{'RESCAN_NEEDED'}
21 1 4 if $$self{'RESCAN_NEEDED'}
32 6 8 if length $_ > length $$self{'KEY'}
33 7 7 if length $$self{'CURRENT_STATE'}{$_} > length $$self{'VALUE'}
52 1 8 unless defined $$self{'KEY'}
53 1 8 unless defined $$self{'VALUE'}
54 4 5 if length $key == length $$self{'KEY'} or length $$self{'CURRENT_STATE'}{$key} == length $$self{'VALUE'}
59 3 6 if length $key > length $$self{'KEY'}
60 3 6 if length $value > length $$self{'VALUE'}
76 2 1 if $key eq $$self{'KEY'} or $$self{'CURRENT_STATE'}{$key} eq $$self{'VALUE'}