Branch Coverage

lib/I18NFool/Extractor.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
33 41 24 unless ref $tree
42 9 124 if ($value eq $Namespace)
44 0 9 unless $key =~ /^xmlns\:/
55 95 23 /^_/ ? :
56 0 24 if $tag eq '~comment' or $tag eq '~pi' or $tag eq '~declaration'
59 1 23 if ($$tree{"${Prefix}:attributes"})
70 4 0 if ($attribute =~ /\s/) { }
84 0 4 unless $translate_id
93 0 4 if ($existing_po and $$existing_po{'msgstr'} ne $$new_po{'msgstr'})
105 12 12 if (exists $$tree{"${Prefix}:translate"})
110 0 12 if (defined $$tree{"${Prefix}:translate"} and $$tree{"${Prefix}:translate"} ne '') { }
124 0 12 unless $translate_id
133 0 12 if ($existing_po and $$existing_po{'msgstr'} ne $$new_po{'msgstr'})
152 23 1 if (defined $$tree{'_content'})
178 26 2 unless (ref $node)