Subroutine Coverage 
| lib/Rex/Commands/Iptables.pm | 
 | 
| Criterion | 
Covered | 
Total | 
% | 
| subroutine | 
13 | 
26 | 
 50.0 
 | 
| pod | 
8 | 
8 | 
 100.0 
 | 
|  line  | 
 count  | 
 pod  | 
 subroutine  | 
| 
82
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
83
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
84
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
89
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
91
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
93
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
95
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
96
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
97
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
98
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
99
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
101
 | 
 2  | 
 n/a  | 
 BEGIN  | 
| 
130
 | 
 0  | 
 Yes  | 
 open_port  | 
| 
168
 | 
 0  | 
 Yes  | 
 close_port  | 
| 
206
 | 
 0  | 
 Yes  | 
 redirect_port  | 
| 
308
 | 
 0  | 
 Yes  | 
 iptables  | 
| 
360
 | 
 0  | 
 Yes  | 
 is_nat_gateway  | 
| 
408
 | 
 0  | 
 Yes  | 
 default_state_rule  | 
| 
444
 | 
 0  | 
 Yes  | 
 iptables_list  | 
| 
451
 | 
 1  | 
 n/a  | 
 _iptables_list  | 
| 
497
 | 
 0  | 
 Yes  | 
 iptables_clear  | 
| 
519
 | 
 0  | 
 n/a  | 
 _open_or_close_port  | 
| 
581
 | 
 0  | 
 n/a  | 
 _rule_exists  | 
| 
611
 | 
 0  | 
 n/a  | 
 _get_ip_version  | 
| 
621
 | 
 0  | 
 n/a  | 
 _get_executable  | 
| 
636
 | 
 0  | 
 n/a  | 
 _iptables_version  |