Condition Coverage

blib/lib/Device/Network/ConfigParser.pm
Criterion Covered Total %
condition 0 27 0.0


and 3 conditions

line !l l&&!r l&&r condition
145 0 0 0 defined &Device::Network::ConfigParser::get_parser and defined &Device::Network::ConfigParser::get_output_drivers
0 0 0 defined &Device::Network::ConfigParser::get_parser and defined &Device::Network::ConfigParser::get_output_drivers and defined &Device::Network::ConfigParser::parse_config
0 0 0 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
173 0 0 0 &reftype($config_filename) and &reftype($config_filename) eq 'GLOB'

or 2 conditions

line l !l condition
134 0 0 $args{'vendor'} //= 'Cisco'
135 0 0 $args{'type'} //= 'ASA'
136 0 0 $args{'format'} //= 'raw'
137 0 0 $args{'output'} //= '-'
157 0 0 $output_drivers->{'raw'} //= \&Device::Network::ConfigParser::_default_raw_output_driver
158 0 0 $output_drivers->{'json'} //= \&Device::Network::ConfigParser::_default_json_output_driver

or 3 conditions

line l !l&&r !l&&!r condition
161 0 0 0 not defined $active_output_driver or &reftype($active_output_driver) ne 'CODE'