Condition Coverage

blib/lib/Dist/PolicyFiles.pm
Criterion Covered Total %
condition 12 19 63.1


and 3 conditions

line !l l&&!r l&&r condition
87 7 1 3 exists $self->{'email'} and exists $self->{'full_name'}

or 2 conditions

line l !l condition
90 1 0 ($udata->{'email2'} // $udata->{'email'}) // die("Could not determine email address")
92 4 0 $udata->{'full_name'} // die("Could not determine user's full name")

or 3 conditions

line l !l&&r !l&&!r condition
90 4 1 0 $udata->{'email2'} // $udata->{'email'}
1 5 0 $self->{'email'} //= ($udata->{'email2'} // $udata->{'email'}) // die("Could not determine email address")
92 2 4 0 $self->{'full_name'} //= $udata->{'full_name'} // die("Could not determine user's full name")
124 4 0 0 $tmpl_obj->fill_in("HASH", $tmpl_vars) // croak("Couldn't fill in template: $Text::Template::ERROR")