Branch Coverage

blib/lib/Badger/Duration.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
54 0 7 unless @_
55 6 1 if (@_ == 1) { }
56 0 6 if (&is_object('Badger::Duration', $_[0])) { }
76 2 5 if (ref $duration eq 'HASH') { }
94 0 5 if &numlike($duration)
103 0 9 unless &numlike($new)
109 0 5 if ($duration =~ /\G\s*(.*)/cg and length $1)
124 0 12 unless &numlike($value)
142 0 21 unless &numlike($value)