Condition Coverage

blib/lib/WWW/StatsMix/Params.pm
Criterion Covered Total %
condition 20 48 41.6


and 3 conditions

line !l l&&!r l&&r condition
41 0 5 0 defined $str and exists $WWW::StatsMix::Params::SHARING->{$str}
47 0 0 0 defined $str and $str =~ /^[0|1]$/
54 0 9 11 defined $num and $num =~ /^\d+$/
61 0 18 0 defined $str and $str =~ /^\d+$/
70 6 0 0 $3 == 31 and $2 == 4 || $2 == 6 || $2 == 9 || $2 == 11
6 0 0 $3 >= 30 and $2 == 2
6 0 0 $2 == 2 and $3 == 29
0 0 0 $1 % 4 == 0 && ($1 % 100 != 0 || $1 % 400 == 0)
6 0 0 $2 == 2 and $3 == 29 and not $1 % 4 == 0 && ($1 % 100 != 0 || $1 % 400 == 0)
91 0 3 3 defined $str and $str =~ m[^(http(?:s)?\://[a-zA-Z0-9\-]+(?:\.[a-zA-Z0-9\-]+)*\.[a-zA-Z]{2,6}(?:/?|(?:/[\w\-]+)*)(?:/?|/\w+\.[a-zA-Z]{2,4}(?:\?[\w]+\=[\w\-]+)?)?(?:\&[\w]+\=[\w\-]+)*)$]
99 0 3 13 defined $str and $str =~ /^\d{0,11}\.?\d{0,2}$/
106 0 4 0 defined $str && ref $str eq 'HASH'
144 120 33 5 $required and not exists $values->{$field}
147 120 31 2 $required and not defined $values->{$field}

or 3 conditions

line l !l&&r !l&&!r condition
33 5 0 0 defined $str or $str =~ /^\bjson\b|\bxml\b$/i
70 0 0 0 $2 == 4 || $2 == 6 || $2 == 9 || $2 == 11