Branch Coverage

blib/lib/WebService/AbuseIPDB/Category.pm
Criterion Covered Total %
branch 8 8 100.0


line true false branch
55 1 77 unless (defined $cat)
59 27 50 if ($by_id{$cat}) { }
23 27 elsif ($by_name{$cat}) { }
23 4 elsif (&blessed($cat) and $cat->isa($class)) { }