Condition Coverage

lib/Geo/Address/Formatter.pm
Criterion Covered Total %
condition 33 46 71.7


and 3 conditions

line !l l&&!r l&&r condition
34 16 0 1 defined $params{'no_warnings'} and $params{'no_warnings'}
37 15 0 2 defined $params{'only_address'} && $params{'only_address'}
38 12 5 0 defined $params{'debug'} && $params{'debug'}
520 2 400 49 defined $self->{'templates'}{$cc} and defined $self->{'templates'}{$cc}{'use_country'}
811 10 3706 2 defined $seen_words{$w} and $seen_words{$w} > 1

or 2 conditions

line l !l condition
31 17 0 $params{'conf_path'} || die('no conf_path set')
37 17 0 defined $params{'only_address'} && $params{'only_address'} // 0
38 17 0 defined $params{'debug'} && $params{'debug'} // 0
182 454 1 &clone(shift()) || (return)
183 9 445 shift() || {}
200 450 4 $rh_options->{'country'} || $self->_determine_country_code($rh_components) || ''
209 5 449 $rh_options->{'abbreviate'} // 0
450 455 0 shift() || (return)
484 452 0 shift() || (return)
503 455 0 shift() || (return)
570 454 0 shift() || (return)
601 914 0 shift() // (return)
724 7 0 shift() // (return)
770 913 1 shift() // (return)

or 3 conditions

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