Condition Coverage

lib/Geo/Address/Formatter.pm
Criterion Covered Total %
condition 32 46 69.5


and 3 conditions

line !l l&&!r l&&r condition
35 16 0 1 defined $params{'no_warnings'} and $params{'no_warnings'}
38 15 0 2 defined $params{'only_address'} && $params{'only_address'}
39 12 5 0 defined $params{'debug'} && $params{'debug'}
513 2 395 49 defined $self->{'templates'}{$cc} and defined $self->{'templates'}{$cc}{'use_country'}
804 10 3664 1 defined $seen_words{$w} and $seen_words{$w} > 1

or 2 conditions

line l !l condition
32 17 0 $params{'conf_path'} || die('no conf_path set')
38 17 0 defined $params{'only_address'} && $params{'only_address'} // 0
39 17 0 defined $params{'debug'} && $params{'debug'} // 0
175 449 0 &clone(shift()) || (return)
176 9 440 shift() || {}
193 445 4 $rh_options->{'country'} || $self->_determine_country_code($rh_components) || ''
202 5 444 $rh_options->{'abbreviate'} // 0
443 450 0 shift() || (return)
477 447 0 shift() || (return)
496 450 0 shift() || (return)
563 449 0 shift() || (return)
594 904 0 shift() // (return)
717 7 0 shift() // (return)
763 903 1 shift() // (return)

or 3 conditions

line l !l&&r !l&&!r condition
276 443 6 0 $self->{'templates'}{uc $cc} || $self->{'templates'}{'default'}