Branch Coverage

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


line true false branch
31 0 0 unless &GetOptions('vendor=s', \$args{'vendor'}, 'type=s', \$args{'type'}, 'format=s', \$args{'format'}, 'output=s', \$args{'output'})
45 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)
60 0 0 if (not defined $active_output_driver or &reftype($active_output_driver) ne 'CODE')
65 0 0 unless @ARGV
72 0 0 if &reftype($config_filename) and &reftype($config_filename) eq 'GLOB'
82 0 0 if ($args{'output'} eq '-') { }
88 0 0 unless open $fh, '>>:encoding(UTF-8)', $outfile
94 0 0 unless $args{'output'} eq '-'