Branch Coverage

blib/lib/Language/P/Toy/Value/StringNumber.pm
Criterion Covered Total %
branch 20 34 58.8


line true false branch
23 236 28 if defined $$self{'string'}
24 16 12 if defined $$self{'integer'}
25 12 0 if defined $$self{'float'}
32 184 179 if defined $$self{'integer'}
33 179 0 if defined $$self{'float'}
34 0 0 if defined $$self{'string'}
41 6963 7125 if defined $$self{'float'}
42 7125 0 if defined $$self{'integer'}
43 0 0 if defined $$self{'string'}
50 0 2735 unless ref $self eq ref $other
60 17 11 if (defined $$self{'integer'}) { }
0 11 elsif (defined $$self{'float'}) { }
11 0 elsif (defined $$self{'string'}) { }
61 17 0 $$self{'integer'} != 0 ? :
63 0 0 $$self{'float'} != 0 ? :
65 0 11 length $$self{'string'} && $$self{'string'} ne '0' ? :
74 6 9 defined $$self{'float'} || defined $$self{'integer'} || defined $$self{'string'} ? :