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 sub uav_module_init
2 {
3 my ($pack, $cmd, $args) = @_;
4 $UAV::Pilot::mock_init_set = $$args{setting};
5 return 1;
6 }
7  
8  
9 sub mock_init ()
10 {
11 return 1;
12 }
13  
14 1;