API/Types.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 61.9% 13 / 21 CC 3 SCAR 9.3
CC
3
Cov
62%
__ANON__
3.7
__ANON__
3.7
BEGIN
1.0
CRAP 2.5
« API/Core/StateVector.pm ↑ Summary API/Utils/Iterator.pm »
1 # ABSTRACT: Type library for OpenSky::API
2  
3 package OpenSky::API::Types;
4 6 our $VERSION = '0.005';
5 use Type::Library
6 6 ▶ -base,
Subroutine BEGIN: called CC=1 SCAR=0.0
7 -declare => qw(
8 Longitude
9 Latitude
10 6 );
11  
12 6 ▶use Type::Utils -all;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 6 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
15 6 extends qw(
16 Types::Standard
17 Types::Common::Numeric
18 Types::Common::String
19 );
20 }
21  
22 0 ▶declare Longitude, as Num, where { $_ >= -180 and $lon <= 180 };
Subroutine __ANON__: not called CC=2 SCAR=13.0
Branch: 1 branch
BranchTrueFalseTotal
$_ >= -180 and $lon <= 180 0 0 0
23 0 ▶declare Latitude, as Num, where { $_ >= -90 and $lon <= 90 };
Subroutine __ANON__: not called CC=2 SCAR=13.0
Branch: 1 branch
BranchTrueFalseTotal
$_ >= -90 and $lon <= 90 0 0 0
24  
25 __END__
« API/Core/StateVector.pm ↑ Summary API/Utils/Iterator.pm »