Branch Coverage

blib/lib/Amon2/Plugin/Web/Maintenance.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
12 0 0 unless $c->config->{'MAINTENANCE'}{'enable'}
18 0 0 if &_is_exception($self)
20 0 0 if $self->can('res_maintenance')
39 0 0 if (exists $$config{'except'})
40 0 0 if (exists $$config{'except'}{'addr'})
42 0 0 if &_match_addr($remote_addr, $$config{'except'}{'addr'})
46 0 0 if (exists $$config{'except'}{'path'})
48 0 0 if &_match_path($path, $$config{'except'}{'path'})
61 0 0 if ($condition and $condition =~ /:/) { }
69 0 0 if ($addr =~ /:/) { }
82 0 0 if (ref $condition and ref $condition eq 'Regexp') { }
0 0 elsif (defined $condition) { }
83 0 0 if $path =~ /$condition/
86 0 0 if $path eq $condition