Branch Coverage

lib/Term/RouterCLI/Log.pm
Criterion Covered Total %
branch 1 24 4.1


line true false branch
66 6 0 if (%hParameters)
104 0 0 if (defined $$self{'_sFilename'})
106 0 0 $1 ? :
121 0 0 if (defined $parameter)
139 0 0 if ($parameter =~ /^\d+$/ and $parameter > 0 and $parameter < $$self{'_iMaxFileLength'})
142 0 0 if ($$self{'_iFileLength'} eq $parameter)
173 0 0 if (defined $$self{'_sFilename'} and $$self{'_iFileLength'} > 0)
177 0 0 if ($parameter eq 'W') { }
0 0 elsif ($parameter eq 'A') { }
206 0 0 if (defined $$self{'_oFileHandle'})
229 0 0 if (defined $$self{'_sFilename'} and -r $$self{'_sFilename'})
276 0 0 if ($$self{'_iFileLength'} < $$self{'_iCurrentLogSize'})