Branch Coverage

blib/lib/App/AutoCRUD/Context.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
58 0 8 unless $base =~ m[/$]
73 16 1 if $datasource
83 0 54 unless $n_segments >= 0
84 0 54 unless $n_segments < 2 or wantarray
97 20 34 wantarray ? :
106 4 13 if ($path =~ s/\.(\w+)$//)
109 3 1 if ($view_class)
122 0 24 if (&does($_[0], 'ARRAY')) { }
17 7 elsif (&does($_[0], 'HASH')) { }