Branch Coverage

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


line true false branch
118 0 0 unless &GetOptions('vendor=s', \$args{'vendor'}, 'type=s', \$args{'type'}, 'format=s', \$args{'format'}, 'output=s', \$args{'output'})
132 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)
147 0 0 if (not defined $active_output_driver or &reftype($active_output_driver) ne 'CODE')
152 0 0 unless @ARGV
159 0 0 if &reftype($config_filename) and &reftype($config_filename) eq 'GLOB'
169 0 0 if ($args{'output'} eq '-') { }
175 0 0 unless open $fh, '>>:encoding(UTF-8)', $outfile
181 0 0 unless $args{'output'} eq '-'