Branch Coverage

blib/lib/Cot.pm
Criterion Covered Total %
branch 4 36 11.1


line true false branch
37 2 0 unless $ENV{'COT_ROOT'}
42 1 0 unless $Cot::POOL{$class->_root}
68 0 0 unless eval "require $klass"
136 0 0 if (not -e $path) { }
0 0 elsif (-d $path) { }
140 0 0 if ($path_info =~ m[.*/$]) { }
167 0 0 if (not -e $path) { }
0 0 elsif (-d $path) { }
171 0 0 if ($path_info =~ m[.*/$]) { }
175 0 0 if (-f $index)
207 0 0 if $$env{'SCRIPT_NAME'}
214 0 0 if $controller = $$controllers{$u}
215 0 0 unless scalar @path
223 0 0 $controller ? :
253 0 1 unless $caller->isa('Cot::Plugin')
258 0 1 if $_[0]
270 0 0 if (scalar @argv)
271 0 0 if scalar @argv == 1