Branch Coverage

blib/lib/Monitoring/TT/Log.pm
Criterion Covered Total %
branch 5 36 13.8


line true false branch
21 5 0 unless $@
22 5 0 unless -t STDIN and -t STDOUT
43 0 0 if $Monitoring::TT::Log::Verbose >= 0
44 0 0 if $Monitoring::TT::Log::Verbose >= 0
45 0 0 if $Monitoring::TT::Log::Verbose >= 0
57 0 0 if $Monitoring::TT::Log::Verbose >= 1
58 0 0 if $Monitoring::TT::Log::Verbose >= 1
59 0 0 if $Monitoring::TT::Log::Verbose >= 1
71 0 5 if $Monitoring::TT::Log::Verbose >= 2
83 0 9 if $Monitoring::TT::Log::Verbose >= 3
95 0 4 if $Monitoring::TT::Log::Verbose >= 4
108 0 0 if (ref $msg)
112 0 0 if ($msg =~ /^ERROR:/mx) { }
0 0 elsif ($msg =~ /^WARNING:/mx) { }
128 0 0 unless defined $data
130 0 0 if (ref $data)
134 0 0 if ($lvl eq 'plain')
139 0 0 if ($lvl eq 'error' or $lvl eq 'warning') { }