Branch Coverage

blib/lib/CGI/Application/Plugin/DebugScreen.pm
Criterion Covered Total %
branch 3 32 9.3


line true false branch
149 0 0 if (exists $INC{'CGI/Application/Plugin/ViewCode.pm'} and not exists $INC{'CGI/Application/Dispatch.pm'})
164 0 0 if ($ENV{'CGI_APP_DEBUG'} and exists $INC{'CGI/Application/Plugin/ViewCode.pm'})
169 1 0 if (not exists $INC{'CGI/Application/Plugin/ViewCode.pm'})
170 1 0 unless 'CGI::Application::Plugin::ViewCode'->require
172 0 1 unless ($@)
187 0 0 if ($$self{'__viewcode'})
196 0 0 exists $$stack{'pkg'} ? :
197 0 0 exists $$stack{'file'} ? :
204 0 0 if ($$self{'__viewcode'} and $s{'package'} ne 'main')
236 0 0 if (-f $file)
239 0 0 $start < 1 ? :
240 0 0 if (my $fh = 'IO::File'->new($file, 'r'))
244 0 0 if $cur_line > $end
245 0 0 if $cur_line < $start
246 0 0 $cur_line == $linenum ? :
247 0 0 if ($view and $package ne 'main' and $cur_line == $linenum) { }