Branch Coverage

blib/lib/Net/Analysis/Time.pm
Criterion Covered Total %
branch 29 42 69.0


line true false branch
78 0 7 if (not defined $us and $s - int($s))
82 0 7 unless defined $us
114 0 1 wantarray ? :
133 0 4 if ($val < 10 or $val > 1000000)
141 2 2 if ($up and $$self{'rem'})
142 1 1 if ($val == 1000000) { }
174 4 14 if $fmt
176 6 12 if ($Default_format) { }
199 0 5 if (ref $_[0] ne 'Net::Analysis::Time' or ref $_[1] ne 'Net::Analysis::Time')
205 5 0 if ($_[0]{'s'} == $_[1]{'s'})
218 0 4 if $arg3
232 0 4 if $arg3
246 0 1 if $arg3
262 0 1 if $arg3
301 7 0 if (exists $format_shortcuts{$fmt}) { }
323 2 0 wantarray ? :
332 2 8 if (not ref $arg) { }
5 3 elsif (ref $arg eq 'ARRAY') { }
3 0 elsif (ref $arg eq 'Net::Analysis::Time') { }
356 1 4 if (($$self{'us'} += $us) > 1000000)
371 2 3 if (($$self{'us'} -= $us) < 0)