blib/lib/Net/Int/Stats.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 22 | 90.9 |
line | true | false | branch |
---|---|---|---|
35 | 2 | 16 | if /^$/ |
38 | 2 | 14 | unless (/^\s/) |
49 | 4 | 6 | if (/RX/ or /TX/ or /collisions/ or /inet addr/) |
52 | 2 | 8 | if /inet addr/ |
53 | 2 | 8 | if /RX packets/ |
54 | 2 | 8 | if /TX packets/ |
55 | 2 | 8 | if /RX bytes/ |
56 | 2 | 8 | if /collisions/ |
62 | 4 | 4 | if /inet addr/ or /RX packets/ or /TX packets/ |
83 | 2 | 10 | if ($line =~ /bytes/) |
113 | 0 | 0 | if not grep(/$int/, keys %interface_values) |