Condition Coverage

lib/I18NFool/Extractor.pm
Criterion Covered Total %
condition 15 31 48.3


and 3 conditions

line !l l&&!r l&&r condition
93 4 0 0 $existing_po and $$existing_po{'msgstr'} ne $$new_po{'msgstr'}
110 0 12 0 defined $$tree{"${Prefix}:translate"} and $$tree{"${Prefix}:translate"} ne ''
133 12 0 0 $existing_po and $$existing_po{'msgstr'} ne $$new_po{'msgstr'}

or 2 conditions

line l !l condition
85 3 1 $$Results{$Domain} ||= {}
88 4 0 _canonicalize($$tree{$attribute_name}) || ''
125 1 11 $$Results{$Domain} ||= {}
128 12 0 _canonicalize(_extract_content_string($tree)) || ''
160 28 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
52 6 0 18 delete $$tree{"${Prefix}:domain"} || $Domain
56 0 0 24 $tag eq '~comment' or $tag eq '~pi'
0 0 24 $tag eq '~comment' or $tag eq '~pi' or $tag eq '~declaration'
184 2 0 0 $$node{"${Prefix}:name"} || $count