Branch Coverage

blib/lib/Graphite/Enumerator.pm
Criterion Covered Total %
branch 6 24 25.0


line true false branch
18 0 1 unless $args{'host'}
19 1 0 unless $args{'host'} =~ m[^https?://]u
20 1 0 unless $args{'host'} =~ m[/$]u
21 1 0 if (defined $args{'basepath'}) { }
22 1 0 unless $args{'basepath'} =~ /\.$/u
28 1 0 unless $args{'lwp_options'}
34 0 0 if (reftype $callback ne 'ARRAY')
41 0 0 if ($res->is_success) { }
43 0 0 unless ($completer_answer)
47 0 0 unless $$completer_answer{'metrics'}
49 0 0 if $$callback[1] and $$callback[1]($$metric{'path'}, $level)
50 0 0 if ($$metric{'is_leaf'}) { }