Branch Coverage

blib/lib/SDLx/App.pm
Criterion Covered Total %
branch 12 62 19.3


line true false branch
36 0 0 unless ($screen_w and $screen_h and $screen_d)
38 2 1 if ($video_info)
46 3 0 unless (exists $options{'noinit'})
51 3 0 defined $options{'init'} ? :
77 0 3 if $options{'gl'} or $options{'opengl'}
79 0 3 if $options{'fullscreen'} or $options{'full'}
80 0 3 if $options{'resizeable'}
81 0 3 if $db
82 0 3 if $async
84 0 3 if ($f & 2) { }
86 0 0 if $r
88 0 0 if $g
90 0 0 if $b
92 0 0 if $a
95 0 0 if $ras
99 0 0 if $gas
103 0 0 if $bas
107 0 0 if $aas
112 0 0 if $db
116 0 0 if $bs
125 0 3 unless my $surface = SDL::Video::set_video_mode($w, $h, $d, $f)
131 0 3 if ($ic and -e $ic)
146 0 0 if ($flags & 16) { }
148 0 0 unless $self = SDL::Video::set_video_mode($w, $h, $bpp, $flags)
158 0 0 if (@_)
202 0 0 if ($SDLx::App::USING_OPENGL) { }
211 0 0 unless $SDLx::App::USING_OPENGL
212 0 0 if (defined $value)
216 0 0 if $returns->[0] < 0
226 0 0 unless $_stash{$ref}
231 0 0 if ($screen_w and $screen_h and $screen_d)