blib/lib/Parser/IPTables/Save.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 21 | 61.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
136 | 0 | 0 | 1 | $proto and defined $iptables_save_file |
184 | 1 | 2 | 3 | $get_lines == 1 and substr($line, 0, 1) eq ':' |
1 | 2 | 0 | $get_lines == 1 and substr($line, 0, 2) eq '-A' || substr($line, 0, 3) eq '#-A' | |
271 | 1 | 0 | 0 | $$rule{'target_param1'} and $$rule{'target_param1'} eq '--comment' |
285 | 1 | 4 | 1 | $get_lines == 1 and $line eq 'COMMIT' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
138 | 0 | 1 | 0 | ref $proto || $proto |
184 | 1 | 0 | 1 | substr($line, 0, 2) eq '-A' || substr($line, 0, 3) eq '#-A' |