Branch Coverage

lib/Rex/Commands/Gather.pm
Criterion Covered Total %
branch 14 56 25.0


line true false branch
133 2 2 if ($operatingsystem eq $os)
242 0 2 @_ ? :
243 0 2 if ($os =~ /FreeBSD/iu)
259 0 2 @_ ? :
271 0 2 if (grep {/$os/iu;} @redhat_clones)
287 0 0 @_ ? :
291 0 0 if (grep {/$os/iu;} @fedora_clones)
307 0 0 @_ ? :
311 0 0 if (grep {/$os/iu;} @suse_clones)
327 0 0 @_ ? :
331 0 0 if (grep {/$os/iu;} @mdv_clones)
347 0 0 @_ ? :
351 0 0 if (grep {/$os/iu;} @debian_clones)
367 0 0 @_ ? :
371 0 0 if (grep {/$os/iu;} @alt_clones)
392 0 2 @_ ? :
393 0 2 if ($os =~ /NetBSD/iu)
414 0 2 @_ ? :
415 0 2 if ($os =~ /OpenBSD/iu)
438 9 0 if (exists $host->{'kernelname'} and $host->{'kernelname'} and $host->{'kernelname'} =~ /Linux/u)
464 0 0 if ($host->{'kernelname'} =~ /BSD/u)
487 0 9 if (exists $host->{'kernelname'} and $host->{'kernelname'} and $host->{'kernelname'} =~ /SunOS/u)
504 0 1 if ($host->{'operatingsystem'} =~ /^MSWin/u or $host->{'operatingsystem'} eq "Windows")
520 0 2 if ($os =~ /OpenWrt/iu)
534 0 0 if ($os =~ /Gentoo/iu)
551 0 0 @_ ? :
555 0 0 if (grep {/$os/iu;} @arch_clones)
568 0 0 if ($os =~ /VoidLinux/iu)