Branch Coverage

blib/lib/ETL/Yertl/Adapter/graphite.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
60 3 2 if (@_ == 1) { }
61 2 1 if ($_[0] =~ m[://([^:]+)(?::([^/]+))?])
63 1 1 if ($port)
72 1 4 unless $args{'host'}
138 0 1 if $query->{'tags'} and keys %{$$query{'tags'};}
147 0 1 if ($query->{'start'})
150 0 1 if ($query->{'end'})
161 0 1 if ($res->is_error)
216 0 3 if $point->{'tags'} and keys %{$$point{'tags'};}
219 1 2 unless (&looks_like_number($point->{'timestamp'}))
238 0 0 if (&looks_like_number($iso))
242 0 0 if ($iso =~ /^(\d{4})-?(\d{2})-?(\d{2})$/)