Branch Coverage

blib/lib/Device/Network/ConfigParser.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
131 0 0 unless &GetOptions('vendor=s', \$args{'vendor'}, 'type=s', \$args{'type'}, 'format=s', \$args{'format'}, 'output=s', \$args{'output'})
145 0 0 unless (defined &Device::Network::ConfigParser::get_parser and defined &Device::Network::ConfigParser::get_output_drivers and defined &Device::Network::ConfigParser::parse_config and defined &Device::Network::ConfigParser::post_process)
161 0 0 if (not defined $active_output_driver or &reftype($active_output_driver) ne 'CODE')
166 0 0 unless @ARGV
173 0 0 if &reftype($config_filename) and &reftype($config_filename) eq 'GLOB'
183 0 0 if ($args{'output'} eq '-') { }
189 0 0 unless open $fh, '>>:encoding(UTF-8)', $outfile
195 0 0 unless $args{'output'} eq '-'