Branch Coverage

blib/lib/Class/AutoClass/Args.pm
Criterion Covered Total %
branch 24 40 60.0


line true false branch
12 0 2 if @args == 1 and 'ARRAY' eq ref $args[0]
15 2 0 wantarray ? :
19 0 0 wantarray ? :
31 0 998 unless defined $keyword
32 998 0 unless ref $keyword
34 300 263 wantarray ? :
37 0 0 if not @_ % 2
38 0 0 unless @_ % 2
43 1 183 if @args == 1 and 'ARRAY' eq ref $args[0]
44 3 181 if @args == 1 and 'HASH' eq ref $args[0]
45 0 184 if @args == 1 and $args[0] =~ /HASH/
46 0 184 if @args % 2
51 232 7 if $counts{$keyword} == 0
52 5 234 if $counts{$keyword} == 1
53 2 237 if $counts{$keyword} > 1
62 0 80 if $Class::AutoClass::Args::AUTOLOAD eq 'DESTROY'
64 67 13 if @_ == 0 and not exists $$self{$keyword}
66 10 3 if @_ == 0
67 3 0 if @_ == 1
68 0 0 if @_ > 1