Condition Coverage

blib/lib/Wiki/Toolkit/Store/Mediawiki.pm
Criterion Covered Total %
condition 0 90 0.0


and 3 conditions

line !l l&&!r l&&r condition
224 0 0 0 $num > 0 and $num <= @namespaces
639 0 0 0 $$metadata{$key} and $cmp eq '!='
0 0 0 not $$metadata{$key} and $cmp eq '='
652 0 0 0 reftype($$metadata{$key}) and reftype($$metadata{$key}) eq 'ARRAY'
685 0 0 0 defined $args{'limit'} and $args{'limit'} =~ /^\d+$/
690 0 0 0 defined $args{'offset'} and $args{'offset'} =~ /^\d+$/
979 0 0 0 defined $args{'version'} and $args{'version'} =~ /^\d+$/
1007 0 0 0 $args{'name'} and $args{'id'}
1041 0 0 0 $args{'set'}{'edit'} eq 'default' and $args{'set'}{'edit'} eq 'default'
1091 0 0 0 $version and not $version =~ /^\d+$/
1327 0 0 0 $limoffsql and wantarray
1703 0 0 0 $metadata and $$metadata{'edit_type'}
2162 0 0 0 $args{'email_token'} eq $token and $now < $expires
2171 0 0 0 defined $$userinfo[$i] and $fields[$i] =~ /_(?:touched|expires)$/
2228 0 0 0 ref $args{'email_token_expires'} && $args{'email_token_expires'}->isa('Time::Piece')
0 0 0 exists $args{'email_token_expires'} and not ref $args{'email_token_expires'} && $args{'email_token_expires'}->isa('Time::Piece')
2243 0 0 0 ref $args{$field} and $args{$field}->isa('Time::Piece::Adaptive')
2351 0 0 0 $args{'name'} && $args{'id'}
0 0 0 not $args{'name'} && $args{'id'} and $args{'name'} || $args{'id'}

or 3 conditions

line l !l&&r !l&&!r condition
304 0 0 0 $args{'name'} or $args{'version'}
402 0 0 0 $args{'version'} or $ignore_case
465 0 0 0 $args{'metadata_is'} or $args{'metadata_isnt'}
639 0 0 0 $$metadata{$key} and $cmp eq '!=' or not $$metadata{$key} and $cmp eq '='
808 0 0 0 $metadata_is or $metadata_isnt
810 0 0 0 $metadata_was or $metadata_wasnt
1009 0 0 0 $args{'set'} or $args{'remove'}
1594 0 0 0 shift() || localtime()
1812 0 0 0 $$metadata{'auto_patrolled'} eq 'yes' or not $requires_moderation
2257 0 0 0 $args{'password'} or @fields > ($args{'create'} ? 2 : 1)
2351 0 0 0 $args{'name'} || $args{'id'}