Branch Coverage

blib/lib/Log/Agent/Driver/Fork.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
50 3 0 if (ref $arg) { }
96 4 4 if ($driver->isa('Log::Agent::Driver::File'))
97 4 0 if ($driver->duperr)
98 1 3 if ($priority eq 'critical') { }
1 2 elsif ($priority eq 'error') { }
1 1 elsif ($priority eq 'warning') { }
121 2 9 if (caller 3)[3] =~ /^main::/
140 0 0 unless $driver->channel_eq(@_)