Branch Coverage

blib/lib/Acme/Constructor/Pythonic.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
18 1 3 ref $_[0] eq 'HASH' ? :
20 4 0 unless (ref $$globals{'into'})
23 4 0 unless exists $$globals{'into_file'}
24 4 0 unless exists $$globals{'into_line'}
42 1 4 defined $$args{'class'} ? :
43 3 2 defined $$args{'constructor'} ? :
44 4 1 defined $$args{'alias'} ? :
45 2 3 exists $$args{'no_require'} ? :
50 1 4 if $alias =~ /::(\w+)\z/
57 2 3 if ($req)
61 5 0 defined $$globals{'into_line'} && defined $$globals{'into_file'} ? :
2 3 $req ? :
81 0 5 unless my $coderef = ($_CACHE{"$class\034$ctor\034$req"} ||= eval $code)