Branch Coverage

blib/lib/Zodiac/Angle.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
97 13 7 unless (defined $opts_hr and exists $opts_hr->{'minute'})
100 16 4 unless (exists $opts_hr->{'second'})
103 19 1 unless (exists $opts_hr->{'second_round'})
106 15 5 unless (exists $opts_hr->{'sign_type'})
109 1 19 if (&none(sub { $opts_hr->{'sign_type'} eq $_; } , @SIGN_TYPES))
121 17 2 if ($opts_hr->{'minute'})
128 3 16 if ($opts_hr->{'second'})
143 15 4 if ($opts_hr->{'sign_type'} eq 'sign') { }
4 0 elsif ($opts_hr->{'sign_type'} eq 'ascii') { }
146 14 1 if ($opts_hr->{'minute'})
148 1 13 if ($opts_hr->{'second'})
157 3 1 if ($opts_hr->{'minute'})
159 2 1 if ($opts_hr->{'second'})
168 0 0 if ($opts_hr->{'minute'})
170 0 0 if ($opts_hr->{'second'})