VAST/args.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 29 CC 3 SCAR 17.5
CC
3
Cov
0%
emit_m0ld
12.0
BEGIN
2.0
BEGIN
2.0
CRAP 5.8
1 package VAST::args;
2 BEGIN {
3 $VAST::args::VERSION = '0.05';
4 }
5 use utf8;
6 use strict;
7 use warnings;
8 use Mildew::AST::Helpers;
9  
10 sub emit_m0ld {
11 my $m = shift;
12 if ($m->{semiarglist}) {
13 $m->{semiarglist}->emit_m0ld;
14 } elsif ($m->{arglist}[0]) {
15 $m->{arglist}[0]->emit_m0ld;
16 } else {
17 #???
18 }
19 }
20  
21 1;