OpenSky/Moose.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
import
1.0
CRAP 1.0
« OpenSky/Core/Waypoint.pm ↑ Summary
1 package WebService::OpenSky::Moose;
2  
3 # ABSTRACT: MooseX::Extended::Custom for WebService::OpenSky
4  
5 9 ▶use MooseX::Extended::Custom;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 9 ▶use PerlX::Maybe 'provided';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 9 our $VERSION = '0.5';
8  
9 # If $^P is true, we're running under the debugger.
10 #
11 # When running under the debugger, we disable __PACKAGE__->meta->make_immutable
12 # because the way the debugger works with B::Hooks::AtRuntime will cause
13 # the class to be made immutable before the we apply everything we need. This
14 # causes the code to die.
15 73 ▶sub import ( $class, %args ) {
Subroutine import: called CC=1 SCAR=0.0
16 73 MooseX::Extended::Custom->create(
17 includes => 'method',
18 provided $^P, excludes => 'immutable',
19 %args # you need this to allow customization of your customization
20 );
21 }
22  
23 __END__
« OpenSky/Core/Waypoint.pm ↑ Summary