Condition Coverage

blib/lib/Commandable/Command.pm
Criterion Covered Total %
condition 14 19 73.6


and 3 conditions

line !l l&&!r l&&r condition
93 8 0 1 not $optspec{$opt} and $opt =~ /no-(.+)/u
94 0 0 1 $spec = $optspec{$1} and $spec->negatable
134 55 1 2 defined $spec->default and not exists $opts->{$name}

or 2 conditions

line l !l condition
21 13 7 $args{'arguments'} //= []
22 6 14 $args{'options'} //= {}
115 2 0 $cinv->pull_token // die("Expected value for option --" . $spec->name . "\n")
189 8 4 $args{'mode'} //= "set"
190 0 2 $args{'negatable'} //= 1