Branch Coverage

blib/lib/Perl/Critic/Policy/Dancer2/ReturnNotNecessary.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
36 12 50 if is_hash_key($elem)
37 0 50 if is_method_call($elem)
38 8 42 if is_subroutine_name($elem)
39 1 41 if is_included_module_name($elem)
40 2 39 if is_package_declaration($elem)
44 20 0 if $_[1]->isa("PPI::Statement::Include") and defined $_[1]->module and $_[1]->module eq "Dancer2"
50 19 20 unless $included
51 2 18 if (grep {$_ eq $elem;} @implicit_returns)
53 1 1 if ($stmnt =~ /^return $elem/)