Condition Coverage

blib/lib/WWW/Mailgun.pm
Criterion Covered Total %
condition 17 30 56.6


and 3 conditions

line !l l&&!r l&&r condition
72 0 0 7 200 <= $rc and $rc <= 299
135 18 3 1 $OPTION__MAXIMUM->{$option} and $option__count->{$option} > $OPTION__MAXIMUM->{$option}

or 2 conditions

line l !l condition
33 4 0 $param->{'key'} // die('You must specify an API Key')
34 4 0 $param->{'domain'} // die('You need to specify a domain (IE: samples.mailgun.org)')
35 0 4 $param->{'url'} // 'https://api.mailgun.net/v2'
36 2 2 $param->{'from'} // ''
97 3 0 $msg->{'subject'} // ''
98 2 1 $msg->{'text'} // ''
164 4 0 $method // 'get'
173 0 0 $method // 'get'
182 0 0 $method // 'get'

or 3 conditions

line l !l&&r !l&&!r condition
90 2 0 1 $msg->{'from'} || $self->{'from'}
130 1 17 0 $ALIAS__OPTION->{$option} || $option