Condition Coverage

blib/lib/Crane/Options.pm
Criterion Covered Total %
condition 12 19 63.1


and 3 conditions

line !l l&&!r l&&r condition
101 0 0 23 defined $spec and $spec =~ /^([^!+=:]+)/isu
113 2 1 3 exists $$params{'default'} and not exists $$options{$name}
118 4 0 2 $$params{'required'} and not $$options{'help'}
4 1 1 $$params{'required'} and not $$options{'help'} and not exists $$options{$name}

or 2 conditions

line l !l condition
76 0 0 $main::VERSION // 'not specified'
124 20 2 $desc // ''

or 3 conditions

line l !l&&r !l&&!r condition
101 0 0 5 defined $spec || defined $desc || defined $params