Branch Coverage

blib/lib/Gas/Prices.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
37 0 0 if ($body =~ m[(.*?)
])
48 0 0 if ($unit =~ m[(.*?).*?(.*?).*?(.*?).*?(.*?).*?(.*?).*?(.*?).*?(.*?).*?(.*?).*?(.*?).*?(.*?).*?(.*?)])
66 0 0 if $$station_info{'unleaded_price'} =~ /\$(.*)/
70 0 0 if $$station_info{'plus_price'} =~ /\$(.*)/
74 0 0 if $$station_info{'premium_price'} =~ /\$(.*)/
78 0 0 if $$station_info{'diesel_price'} =~ /\$(.*)/
115 0 0 unless $cheapest_station
116 0 0 if ($self->is_less($$_{$type . '_price'}, $$cheapest_station{$type . '_price'}))
142 0 0 unless $most_expensive_station
143 0 0 if ($self->is_greater($$_{$type . '_price'}, $$most_expensive_station{$type . '_price'}))
160 0 0 if $first =~ /\$(.*)/
161 0 0 if $second =~ /\$(.*)/
165 0 0 if $first =~ m[N/A]
166 0 0 if $first =~ /nbsp/
168 0 0 if $second =~ m[N/A]
169 0 0 if $second =~ /nbsp/
171 0 0 if $first > $second
179 0 0 if $first =~ /\$(.*)/
180 0 0 if $second =~ /\$(.*)/
184 0 0 if $first =~ m[N/A]
185 0 0 if $first =~ /nbsp/
187 0 0 if $second =~ m[N/A]
188 0 0 if $second =~ /nbsp/
190 0 0 if $first < $second