Branch Coverage

blib/lib/SpeL/Object/Command.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
33 46 0 if (exists $SpeL::Object::Command::macrohash->{$command}) { }
36 7 39 if $macro->{'argc'} eq "-NoValue-"
46 0 46 if $macro->{'optarg'} eq "-NoValue-" and exists $self->{'Options'}
50 0 46 if (exists $self->{'Options'}) { }
54 0 46 unless $macro->{'optarg'} eq "-NoValue-"
69 0 46 if scalar @parameterlist < $macro->{'argc'}
77 0 46 if ($command eq 'ref') { }
0 46 elsif ($command eq 'pageref') { }
0 46 elsif ($command eq 'cite') { }
82 0 0 unless exists $SpeL::Object::Command::labelhash->{$arg}
89 0 0 unless exists $SpeL::Object::Command::labelhash->{$arg}
96 0 0 unless exists $SpeL::Object::Command::citationhash->{$arg}
107 6 46 if (($i18nargs) = $limb =~ /^\@\{i18n\(([^)]+)\)\}/)
126 8 38 if ($command eq "text")