Branch Coverage

blib/lib/App/Sysadmin/Log/Simple.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
20 3 1 if ($opts{'date'})
22 0 3 unless my $in_date = 'DateTime'->new('year', $in_year, 'month', $in_month, 'day', $in_day)
27 0 3 if $in_date > $today
60 0 5 unless $s
70 1 2 unless $logentry
73 0 6 unless $plugin->can('log')
75 4 2 if ($r)
87 4 2 unless $plugin->can('view')