Branch Coverage

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


line true false branch
58 0 10 unless $base =~ m[/$]
73 22 2 if $datasource
83 0 74 unless $n_segments >= 0
84 0 74 unless $n_segments < 2 or wantarray
97 27 47 wantarray ? :
106 4 20 if ($path =~ s/\.(\w+)$//)
109 4 0 if ($view_class)
122 0 25 if (&does($_[0], 'ARRAY')) { }
18 7 elsif (&does($_[0], 'HASH')) { }