Branch Coverage

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


line true false branch
34 0 0 unless ($screen_w and $screen_h and $screen_d)
36 2 1 if ($video_info)
44 3 0 unless (exists $options{'noinit'})
46 3 0 defined $options{'init'} ? :
75 0 3 if $options{'gl'} or $options{'opengl'}
76 0 3 if $options{'fullscreen'} or $options{'full'}
78 0 3 if $options{'resizeable'}
79 0 3 if $db
80 0 3 if $async
82 0 3 if ($f & 2) { }
84 0 0 if $r
86 0 0 if $g
88 0 0 if $b
90 0 0 if $a
93 0 0 if $ras
97 0 0 if $gas
101 0 0 if $bas
105 0 0 if $aas
110 0 0 if $db
114 0 0 if $bs
123 0 3 unless my $surface = SDL::Video::set_video_mode($w, $h, $d, $f)
129 0 3 if ($ic and -e $ic)
144 0 0 if ($flags & 16) { }
146 0 0 unless $self = SDL::Video::set_video_mode($w, $h, $bpp, $flags)
156 0 0 if (@_)
200 0 0 if ($SDLx::App::USING_OPENGL) { }
209 0 0 unless $SDLx::App::USING_OPENGL
210 0 0 if (defined $value)
214 0 0 if $$returns[0] < 0
224 0 0 unless $_stash{$ref}
229 0 0 if ($screen_w and $screen_h and $screen_d)