Pilot/MockInit/Commands.pm untested

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
uav_module_init
2.0
mock_init
2.0
CRAP 2.0
1  
2 sub uav_module_init
3 {
4 my ($pack, $cmd, $args) = @_;
5 $UAV::Pilot::mock_init_set = $$args{setting};
6 return 1;
7 }
8  
9  
10 sub mock_init ()
11 {
12 return 1;
13 }
14  
15 1;