Branch Coverage

blib/lib/WWW/Fuel/US/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'}))
140 0 0 unless $most_expensive_station
141 0 0 if ($self->is_greater($$_{$type . '_price'}, $$most_expensive_station{$type . '_price'}))
158 0 0 if $first =~ /\$(.*)/
159 0 0 if $second =~ /\$(.*)/
161 0 0 if $first =~ m[N/A]
162 0 0 if $first =~ /nbsp/
164 0 0 if $second =~ m[N/A]
165 0 0 if $second =~ /nbsp/
167 0 0 if $first > $second
175 0 0 if $first =~ /\$(.*)/
176 0 0 if $second =~ /\$(.*)/
178 0 0 if $first =~ m[N/A]
179 0 0 if $first =~ /nbsp/
181 0 0 if $second =~ m[N/A]
182 0 0 if $second =~ /nbsp/
184 0 0 if $first < $second