Condition Coverage

lib/Mail/Make/Headers/ContentType.pm
Criterion Covered Total %
condition 17 26 65.3


and 3 conditions

line !l l&&!r l&&r condition
43 2 125 0 @_ == 1 and $self->_is_a($_[0], "Module::Generic::Null")
47 0 0 125 defined $str and length "$str"
69 0 0 6 defined $b and length $b
87 0 0 6 defined $cs and length $cs

or 2 conditions

line l !l condition
52 125 0 $self->_parse_header_value($str) || (return $self->pass_error)
118 2 1 shift @_ || (return $self->error('No MIME type was provided.'))
125 1 0 $self->_new_hv($mime) || (return $self->pass_error)
131 4 1 $self->_hv || (return '')

or 3 conditions

line l !l&&r !l&&!r condition
72 1 1 4 length $b > 70 or $b =~ m[[^0-9a-zA-Z'()+_,\-./:=? ]]
2 1 3 length $b > 70 or $b =~ m[[^0-9a-zA-Z'()+_,\-./:=? ]] or $b =~ / $/