Condition Coverage

blib/lib/WWW/Codeguard.pm
Criterion Covered Total %
condition 11 27 40.7


and 3 conditions

line !l l&&!r l&&r condition
84 0 0 3 $opts and UNIVERSAL::isa($opts, 'HASH')
0 1 2 $opts and UNIVERSAL::isa($opts, 'HASH') and exists $opts->{'partner'} || exists $opts->{'user'}
89 1 0 2 exists $opts->{'partner'} and UNIVERSAL::isa($opts->{'partner'}, 'HASH')
94 1 0 2 exists $opts->{'user'} and UNIVERSAL::isa($opts->{'user'}, 'HASH')
135 0 0 0 defined $params and not UNIVERSAL::isa($params, 'HASH')
225 0 0 0 exists $params_to_check->{$required_param} and defined $params_to_check->{$required_param}

or 3 conditions

line l !l&&r !l&&!r condition
84 2 1 0 exists $opts->{'partner'} || exists $opts->{'user'}
101 1 1 0 $partner_obj || $user_obj
217 0 0 0 exists $required_params->{$param} || exists $optional_params->{$param}