Branch Coverage

blib/lib/PlugAuth/Plugin/Audit.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
49 2 0 unless defined $plugin
50 0 0 unless $plugin->authenticate($c, 'ACPS')
51 0 0 unless $plugin->authorize($c, 'accounts', $c->req->url->path)
63 0 2 unless $year =~ /^\d\d\d\d$/ and $month =~ /^\d\d?$/ and $day =~ /^\d\d?$/
68 1 1 unless -r $filename
115 2 1 if (ref $time) { }