Condition Coverage

blib/lib/URI/VersionRange.pm
Criterion Covered Total %
condition 23 27 85.1


and 3 conditions

line !l l&&!r l&&r condition
84 782 6 2 $string =~ m[^vers\:(none|all)/] and not $string =~ m[^vers\:(none|all)/\*$]
196 13 23 2 &first(sub { $constraint->comparator eq $_; } , "=", "<=", ">=") and $version_class->new($version) == $version_class->new($constraint->version)
203 29 5 2 $constraint->comparator eq "!=" and $version_class->new($version) == $version_class->new($constraint->version)
246 7 1 0 &first(sub { $current_constraint->comparator eq $_; } , "<=", "<") and $version_class->new($version) < $version_class->new($current_constraint->version)
258 1 0 7 &first(sub { $current_constraint->comparator eq $_; } , ">", ">=") and &first(sub { $next_constraint->comparator eq $_; } , "<", "<=")
1 3 4 &first(sub { $current_constraint->comparator eq $_; } , ">", ">=") and &first(sub { $next_constraint->comparator eq $_; } , "<", "<=") and $version_class->new($version) > $version_class->new($current_constraint->version)
3 1 3 &first(sub { $current_constraint->comparator eq $_; } , ">", ">=") and &first(sub { $next_constraint->comparator eq $_; } , "<", "<=") and $version_class->new($version) > $version_class->new($current_constraint->version) and $version_class->new($version) < $version_class->new($next_constraint->version)
4 0 1 &first(sub { $current_constraint->comparator eq $_; } , "<", "<=") and &first(sub { $next_constraint->comparator; } , ">", ">=")
282 4 1 0 &first(sub { $next_constraint->comparator eq $_; } , ">", ">=") and $version_class->new($version) > $version_class->new($next_constraint->version)