Branch Coverage

blib/lib/App/AutoCRUD/Context.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
58 0 7 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 4 0 if ($view_class)
122 0 23 if (&does($_[0], 'ARRAY')) { }
16 7 elsif (&does($_[0], 'HASH')) { }