script/ospfd2yaml | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 16 | 37.5 |
line | true | false | branch |
---|---|---|---|
27 | 0 | 1 | if @_ |
69 | 0 | 2 | unless &GetOptions(4, sub { $ipv6 = 0; } , 6, sub { $ipv6 = 1; } , "h", sub { &usage(); } , "B=s", \$files{'boundary'}, "E=s", \$files{'external'}, "H=s", \$ssh, "I=s", \$files{'selfid'}, "L=s", \$files{'link'}, "N=s", \$files{'network'}, "P=s", \$files{'intra'}, "R=s", \$files{'router'}, "S=s", \$files{'summary'}) |
70 | 0 | 1 | if @ARGV > 1 |
71 | 0 | 1 | unless ($ipv6) |
72 | 0 | 0 | if $files{'link'} |
73 | 0 | 0 | if $files{'intra'} |
76 | 1 | 0 | $ipv6 ? : |
81 | 1 | 0 | if (@ARGV > 0) { } |