Condition Coverage

blib/lib/XAO/DO/Web/Clipboard.pm
Criterion Covered Total %
condition 20 37 54.0


and 3 conditions

line !l l&&!r l&&r condition
165 2 0 1 ref $array and ref $array eq "ARRAY"
2 0 1 ref $array and ref $array eq "ARRAY" and @$array
190 0 0 3 ref $array and ref $array eq "ARRAY"
228 2 0 4 ref $array and ref $array eq "ARRAY"

or 2 conditions

line l !l condition
33 31 24 $args->{'mode'} || 'show'
198 7 0 $array->[$i] // ""

or 3 conditions

line l !l&&r !l&&!r condition
76 10 0 0 $args->{'name'} || 'XAO::E::DO::Web::Clipboard'->throw(q[clipboard_set - no 'name' given])
103 6 3 19 not defined $value or ref $value
124 5 0 0 $args->{'name'} || $self->throw(q[- no 'name' given])
131 2 0 3 not ref $array or ref $array ne "ARRAY"
160 3 0 0 $args->{'name'} || $self->throw(q[- no 'name' given])
185 3 0 0 $args->{'name'} || $self->throw(q[- no 'name' given])
223 6 0 0 $args->{'name'} || $self->throw(q[- no 'name' given])