blib/lib/Linux/Info/SockStats.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 16 | 81.2 |
line | true | false | branch |
---|---|---|---|
103 | 0 | 1 | ref $_[0] ? : |
126 | 1 | 0 | $file->{'path'} ? : |
127 | 0 | 1 | unless open my $fh, '<', $filename |
131 | 1 | 5 | if ($line =~ /sockets: used (\d+)/) { } |
1 | 4 | elsif ($line =~ /TCP: inuse (\d+)/) { } | |
1 | 3 | elsif ($line =~ /UDP: inuse (\d+)/) { } | |
1 | 2 | elsif ($line =~ /RAW: inuse (\d+)/) { } | |
1 | 1 | elsif ($line =~ /FRAG: inuse (\d+)/) { } |