Condition Coverage

lib/HTTP/Promise/MIME.pm
Criterion Covered Total %
condition 5 13 38.4


or 2 conditions

line l !l condition
87 0 0 shift @_ || (return $self->error('No file was provided.'))
115 0 0 shift @_ || (return $self->error('No suffix was provided.'))
133 1 0 shift @_ || (return $self->error('No mime type was provided to get its corresponding suffixes.'))
144 1 0 shift @_ || (return)
145 1 0 $self->new_file($file) || (return $self->pass_error)

or 3 conditions

line l !l&&r !l&&!r condition
150 1089 0 767 /^[[:blank:]\h]*\#/ or /^[[:blank:]\h]*$/