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/)
257 0 0 if ($have_nice)
259 0 0 if ($header_int % 2 != 0) { }
263 0 0 if ($have_pri)
265 0 0 if ($header_int % 2 != 0) { }
269 0 0 if ($self->{'major_faults'})
271 0 0 if ($header_int % 2 != 0) { }
275 0 0 if ($self->{'minor_faults'})
277 0 0 if ($header_int % 2 != 0) { }
281 0 0 if ($self->{'cmajor_faults'})
283 0 0 if ($header_int % 2 != 0) { }
287 0 0 if ($self->{'cminor_faults'})
289 0 0 if ($header_int % 2 != 0) { }
293 0 0 if ($self->{'numthr'})
295 0 0 if ($header_int % 2 != 0) { }
299 0 0 if ($self->{'tty'})
301 0 0 if ($header_int % 2 != 0) { }
305 0 0 if ($self->{'jid'})
307 0 0 if ($header_int % 2 != 0) { }
310 0 0 if ($header_int % 2 != 0) { }
313 0 0 if ($header_int % 2 != 0) { }
316 0 0 if ($header_int % 2 != 0) { }
319 0 0 if ($header_int % 2 != 0) { }
338 0 0 unless (defined $user)
353 0 0 if ($self->{'stats'})
358 0 0 if ($^O =~ /bsd/) { }
361 0 0 if ($self->{'stats'})
364 0 0 if ($self->{'stats'})
371 0 0 if ($self->{'stats'})
377 0 0 if ($self->{'stats'})
391 0 0 if ($have_nice)
398 0 0 if ($have_pri)
405 0 0 if ($self->{'major_faults'})
412 0 0 if ($self->{'minor_faults'})
419 0 0 if ($self->{'cmajor_faults'})
426 0 0 if ($self->{'cminor_faults'})
433 0 0 if ($self->{'numthr'})
440 0 0 if ($self->{'tty'})
447 0 0 if ($self->{'jid'})
460 0 0 if ($self->{'stats'})
466 0 0 if ($proc->{'cmndline'} =~ /^$/) { }
480 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'}]) { }