Branch Coverage

blib/lib/Quota.pm
Criterion Covered Total %
branch 20 38 52.6


line true false branch
41 0 37 if $#_ > 0
42 0 37 $#_ == -1 ? :
47 37 0 if (defined $dev and $target ne "" and not setmntent())
49 37 404 if $dev == (stat $path)[0]
62 0 37 if $#_ > 0
63 0 37 $#_ == -1 ? :
69 37 0 if (defined $dev and $target ne "" and not setmntent())
71 81 570 if $fstyp =~ /^(lofs|ignore|auto.*|proc|rootfs)$/
73 31 539 if (defined $pdev and $dev == $pdev)
74 0 31 if ($fsname =~ m[^[^/]+:/]) { }
0 31 elsif ($fstyp =~ /^nfs/i and $fsname =~ m[^(/.*)\@([^/]+)$]) { }
31 0 elsif ($argtyp eq 'dev') { }
0 0 elsif ($argtyp eq 'qfile') { }
0 0 elsif ($argtyp eq 'any') { }
79 0 31 if ($fsopt =~ m[(^|,)loop=(/dev/[^,]+)]) { }
94 0 31 if ($fstyp eq 'xfs' and $fsupp =~ /,XFS/) { }
0 31 elsif ($fstyp eq 'vxfs' and defined $fsupp and $fsupp =~ /,VXFS/) { }
0 62 elsif ($fstyp eq 'afs' || $fsname eq 'AFS' and $fsupp =~ /,AFS/) { }
99 0 31 if ($fstyp eq "jfs2" and $fsupp =~ /,JFS2/)