Condition Coverage

blib/lib/MediaWiki/API.pm
Criterion Covered Total %
condition 0 36 0.0


and 3 conditions

line !l l&&!r l&&r condition
345 0 0 0 $self->{'config'}{'use_http_get'} and $self->{'config'}{'get_actions'}{$query->{'action'}}
414 0 0 0 ref $ref eq 'ARRAY' and scalar @{$ref;} == 0
417 0 0 0 ref $ref eq 'HASH' and exists $ref->{'error'}
0 0 0 ref $ref eq 'HASH' and exists $ref->{'error'} and $ref->{'error'}{'code'} eq 'maxlag'
434 0 0 0 ref $ref eq 'HASH' and exists $ref->{'error'}
695 0 0 0 $count >= $options->{'max'} and $options->{'max'} != 0
739 0 0 0 $1 == 1 and $2 < 16
849 0 0 0 not $skipenc and !utf8::is_utf8($ref->{$key}) || $URI::VERSION < 1.36

or 3 conditions

line l !l&&r !l&&!r condition
366 0 0 0 $query->{'action'} eq 'upload' or $query->{'action'} eq 'import'
695 0 0 0 not $continue or $count >= $options->{'max'} and $options->{'max'} != 0
846 0 0 0 not defined $ref->{$key} or ref $ref->{$key}
849 0 0 0 !utf8::is_utf8($ref->{$key}) || $URI::VERSION < 1.36