Condition Coverage

blib/lib/BGPmon/Log.pm
Criterion Covered Total %
condition 14 21 66.6


and 3 conditions

line !l l&&!r l&&r condition
424 5 3 1 $args{'use_syslog'} != 0 and $args{'use_syslog'} != 1
440 2 4 1 $args{'use_gmt'} != 0 and $args{'use_gmt'} != 1
454 9 0 2 $use_syslog == 1 and defined $log_file
755 1 33 0 defined $function_level{$function_name} and defined $function_description{$function_name}

or 3 conditions

line l !l&&r !l&&!r condition
383 0 1 6 $args{'log_level'} < 0 or $args{'log_level'} > 7
792 0 0 27 not defined $bytes_written or $bytes_written == 0
0 0 27 not defined $bytes_written or $bytes_written == 0 or $bytes_written != length $msg