File Coverage

lib/SDL2/FRect.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1              
2             package SDL2::FRect {
3 2     2   15 use SDL2::Utils;
  2         5  
  2         33  
4             has x => 'float', y => 'float', w => 'float', h => 'float';
5              
6             =encoding utf-8
7              
8             =head1 NAME
9              
10             SDL2::FRect - A Rectangle with the Origin at the Upper Left in Floating Point
11             Numbers
12              
13             =head1 SYNOPSIS
14              
15             use SDL2 qw[:all];
16             my $rect = SDL2::FRect->new( { x => 50.7, y => 1.5, w => 99.75, h => 50.75 } );
17              
18             =head1 DESCRIPTION
19              
20             SDL2::FRect
21              
22             =head1 AUTHOR
23              
24             Sanko Robinson Esanko@cpan.orgE
25              
26             =begin stopwords
27              
28              
29              
30             =end stopwords
31              
32             =cut
33              
34             };
35             1;