File Coverage

blib/lib/SDL/Video.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1             package SDL::Video;
2 28     28   66968 use strict;
  28         63  
  28         984  
3 28     28   137 use warnings;
  28         54  
  28         858  
4 28     28   144 use vars qw(@ISA @EXPORT @EXPORT_OK);
  28         54  
  28         1777  
5             require Exporter;
6             require DynaLoader;
7 28     28   206 use SDL::Constants ':SDL::Video';
  28         48  
  28         6565  
8             our @ISA = qw(Exporter DynaLoader);
9              
10 28     28   205 use SDL::Internal::Loader;
  28         57  
  28         2196  
11             internal_load_dlls(__PACKAGE__);
12              
13             our $VERSION = 2.548;
14              
15             bootstrap SDL::Video;
16              
17 28     28   196 use base 'Exporter';
  28         60  
  28         5535  
18             our @EXPORT = @{ $SDL::Constants::EXPORT_TAGS{'SDL::Video'} };
19             our %EXPORT_TAGS = (
20             all => \@EXPORT,
21             color => $SDL::Constants::EXPORT_TAGS{'SDL::Video/color'},
22             surface => $SDL::Constants::EXPORT_TAGS{'SDL::Video/surface'},
23             video => $SDL::Constants::EXPORT_TAGS{'SDL::Video/video'},
24             overlay => $SDL::Constants::EXPORT_TAGS{'SDL::Video/overlay'},
25             grab => $SDL::Constants::EXPORT_TAGS{'SDL::Video/grab'},
26             palette => $SDL::Constants::EXPORT_TAGS{'SDL::Video/palette'},
27             gl => $SDL::Constants::EXPORT_TAGS{'SDL::Video/gl'}
28             );
29              
30             1;