Branch Coverage

blib/lib/Proc/ProcessTable/ncps.pm
Criterion Covered Total %
branch 0 124 0.0


line true false branch
112 0 0 if (defined $_[1])
157 0 0 if (defined $args{'match'} and defined $args{'match'}{'checks'} and defined $args{'match'}{'checks'}[0])
194 0 0 if (defined $self->{'match'}) { }
198 0 0 if ($self->{'match'}->match($proc))
209 0 0 if (defined $procs->[0] and defined $procs->[0]{'nice'})
218 0 0 if (defined $procs->[0] and defined $procs->[0]{'priority'})
226 0 0 if ($^O =~ /bsd/)
256 0 0 if ($have_nice)
258 0 0 if ($header_int % 2 != 0) { }
262 0 0 if ($have_pri)
264 0 0 if ($header_int % 2 != 0) { }
268 0 0 if ($self->{'major_faults'})
270 0 0 if ($header_int % 2 != 0) { }
274 0 0 if ($self->{'minor_faults'})
276 0 0 if ($header_int % 2 != 0) { }
280 0 0 if ($self->{'cmajor_faults'})
282 0 0 if ($header_int % 2 != 0) { }
286 0 0 if ($self->{'cminor_faults'})
288 0 0 if ($header_int % 2 != 0) { }
292 0 0 if ($self->{'numthr'})
294 0 0 if ($header_int % 2 != 0) { }
298 0 0 if ($self->{'tty'})
300 0 0 if ($header_int % 2 != 0) { }
304 0 0 if ($self->{'jid'})
306 0 0 if ($header_int % 2 != 0) { }
309 0 0 if ($header_int % 2 != 0) { }
312 0 0 if ($header_int % 2 != 0) { }
315 0 0 if ($header_int % 2 != 0) { }
318 0 0 if ($header_int % 2 != 0) { }
337 0 0 unless (defined $user)
352 0 0 if ($self->{'stats'})
357 0 0 if ($^O =~ /bsd/) { }
360 0 0 if ($self->{'stats'})
363 0 0 if ($self->{'stats'})
370 0 0 if ($self->{'stats'})
376 0 0 if ($self->{'stats'})
390 0 0 if ($have_nice)
397 0 0 if ($have_pri)
404 0 0 if ($self->{'major_faults'})
411 0 0 if ($self->{'minor_faults'})
418 0 0 if ($self->{'cmajor_faults'})
425 0 0 if ($self->{'cminor_faults'})
432 0 0 if ($self->{'numthr'})
439 0 0 if ($self->{'tty'})
446 0 0 if ($self->{'jid'})
459 0 0 if ($self->{'stats'})
465 0 0 if ($proc->{'cmndline'} =~ /^$/) { }
479 0 0 if ($self->{'stats'})
616 0 0 if ($year ne $cyear)
619 0 0 if ($mon ne $cmon)
622 0 0 if ($mday ne $cmday)
640 0 0 if ($^O =~ /^linux$/)
645 0 0 if ($time >= 3600)
650 0 0 if ($time >= 60)
664 0 0 if ($hours == 0) { }
0 0 elsif ($hours >= 10) { }
675 0 0 if ($hours > 0 or $minutes > 0)
700 0 0 if ($mem < '10000') { }
0 0 elsif ($mem >= '10000' and $mem < '1000000') { }
0 0 elsif ($mem >= '1000000' and $mem < '1000000000') { }
0 0 elsif ($mem >= '1000000000') { }
744 0 0 if (defined $self->{'colors'}[$self->{'nextColor'}]) { }