Branch Coverage

blib/lib/Devel/TimeStats.pm
Criterion Covered Total %
branch 33 38 86.8


line true false branch
45 1 27 unless $self->enable
48 6 21 if (@_ <= 1) { }
0 21 elsif (@_ % 2 != 0) { }
65 8 19 if ($params{'end'})
68 8 4 if ($$stack[$i]->getNodeValue->{'action'} eq $params{'end'})
78 1 18 if ($params{'parent'})
82 18 1 unless ($parent)
84 0 18 unless $prev = $parent = $$stack[-1]
86 7 11 if $n > 0
95 1 18 if $params{'uid'}
98 9 10 if $params{'begin'}
125 1 18 $$stat{'action'} && $$stat{'comment'} ? :
11 8 $$stat{'comment'} ? :
9 10 $$stat{'action'} ? :
137 68 8 if $$stat{'elapsed'} >= $key
144 19 0 defined $r[2] ? :
152 3 1 wantarray ? :
171 1 0 if ($$stat{'elapsed'})
184 1 0 if ($$stat{'elapsed'})