Condition Coverage

blib/lib/Yancy/Plugin/Form/Bootstrap4.pm
Criterion Covered Total %
condition 32 41 78.0


or 2 conditions

line l !l condition
99 41 48 delete $opt{'format'} // ""
113 0 11 $opt{'pattern'} ||= "[0-9]*"
118 41 26 $format || 'text'
123 13 1 $opt{'pattern'} ||= "[^\@]+\@[^\@]+"
159 0 0 $schema->{'required'} // []
196 68 0 $schema->{'required'} // []
229 5 3 $opt{'item'} || $c->stash('item') || {}
234 2 6 ($opt{'properties'} // $c->stash("properties")) // [grep((!$props->{$_}{'readOnly'}), keys %$props)]
242 110 0 $props->{$a}{'x-order'} // "2147483648"
110 0 $props->{$b}{'x-order'} // "2147483648"

or 3 conditions

line l !l&&r !l&&!r condition
92 39 0 50 $opt{'value'} //= $c->req->param($opt{'name'})
101 11 1 67 $type eq "integer" or $type eq "number"
137 4 1 84 delete $opt{'readOnly'} || delete $opt{'readonly'}
185 0 1 3 $opt{'value'} //= $c->req->param($prop)
234 1 1 6 $opt{'properties'} // $c->stash("properties")
248 1 25 30 $c->req->param($field) // $item->{$field}
253 7 0 1 not exists $opt{'csrf'} or $opt{'csrf'}