Branch Coverage

blib/lib/Amon2.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
23 0 43 @_ == 1 ? :
47 0 1 if 'Amon2' eq $class
56 1 1 $ENV{'AMON2_DEBUG'} ? :
59 0 2 unless $hash
64 0 2 unless $class->config->{$key}
76 6 7 @args > 0 && ref $args[0] eq 'HASH' ? :
105 0 1 if $@