File Coverage

blib/lib/UAV/Pilot/Control.pm
Criterion Covered Total %
statement 4 6 66.6
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 6 8 75.0


line stmt bran cond sub pod time code
1             package UAV::Pilot::Control;
2 1     1   1589 use v5.14;
  1         3  
  1         38  
3 1     1   410 use Moose::Role;
  0            
  0            
4              
5             has 'driver' => (
6             is => 'ro',
7             does => 'UAV::Pilot::Driver',
8             );
9              
10              
11             1;
12             __END__
13              
14              
15             =head1 NAME
16              
17             UAV::Pilot::Control
18              
19             =head1 DESCRIPTION
20              
21             Role for high-level interfaces to drones. External programs should usually write against a
22             module that does this role.
23              
24             =head1 ATTRIBUTES
25              
26             =head2 driver
27              
28             Instantiated C<UAV::Pilot::Driver> object.
29              
30             =cut