File Coverage

blib/lib/SDL/Image.pm
Criterion Covered Total %
statement 21 21 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod n/a
total 28 28 100.0


line stmt bran cond sub pod time code
1             package SDL::Image;
2 13     13   3130 use strict;
  13         29  
  13         430  
3 13     13   144 use warnings;
  13         29  
  13         401  
4 13     13   68 use vars qw(@ISA @EXPORT @EXPORT_OK);
  13         33  
  13         938  
5             require Exporter;
6             require DynaLoader;
7 13     13   82 use SDL::Constants ':SDL::Image';
  13         30  
  13         1965  
8 13     13   2462 use SDL::Surface;
  13         28  
  13         3978  
9             our @ISA = qw(Exporter DynaLoader);
10              
11 13     13   96 use SDL::Internal::Loader;
  13         25  
  13         1037  
12             internal_load_dlls(__PACKAGE__);
13              
14             bootstrap SDL::Image;
15              
16 13     13   77 use base 'Exporter';
  13         59  
  13         2100  
17             our @EXPORT = @{ $SDL::Constants::EXPORT_TAGS{'SDL::Image'} };
18             our %EXPORT_TAGS = (
19             all => \@EXPORT,
20             init => $SDL::Constants::EXPORT_TAGS{'SDL::Video/init'}
21             );
22              
23             1;