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
71 0 0 7 200 <= $rc and $rc <= 299
134 18 3 1 $OPTION__MAXIMUM->{$option} and $option__count->{$option} > $OPTION__MAXIMUM->{$option}

or 2 conditions

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

or 3 conditions

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