Branch Coverage

blib/lib/Sys/Statistics/Linux.pm
Criterion Covered Total %
branch 16 34 47.0


line true false branch
466 0 15 if @_
473 0 16 ref $_[0] eq 'HASH' ? :
480 0 19 unless (exists $$opts{$opt})
484 0 19 if (ref $$args{$opt}) { }
0 19 elsif (not $$args{$opt} =~ qr/^[012]\z/) { }
492 19 0 if ($$opts{$opt}) { }
0 0 elsif (exists $$obj{$opt}) { }
502 18 1 unless ($$obj{$opt})
503 0 18 if (ref $$args{$opt}) { }
512 11 8 if ($$opts{$opt} == 1 and UNIVERSAL::can($package, 'init'))
528 0 0 if ($$self{'opts'}{$opt} > 0 and UNIVERSAL::can(ref $$self{'obj'}{$opt}, 'init'))
536 0 15 if $time
540 18 342 if ($$self{'opts'}{$opt})
542 1 17 if ($opt eq 'netstats')
553 0 0 @_ ? :
559 0 0 unless $$self{'timeformat'}
561 0 0 wantarray ? :