Condition Coverage

lib/Petal/I18N.pm
Criterion Covered Total %
condition 15 24 62.5


and 3 conditions

line !l l&&!r l&&r condition
110 0 1 8 defined $$tree{"${Prefix}:translate"} and $$tree{"${Prefix}:translate"} ne ''

or 3 conditions

line l !l&&r !l&&!r condition
54 6 25 0 delete $$tree{"${Prefix}:domain"} || $Domain
58 0 4 27 $tag eq '~comment' or $tag eq '~pi'
4 0 27 $tag eq '~comment' or $tag eq '~pi' or $tag eq '~declaration'
93 0 3 0 eval { do { $Petal::TranslationService->maketext($translate_id) } } || $default_value
130 6 3 0 eval { do { $Petal::TranslationService->maketext($translate_id) } } || $default_value
196 2 3 0 $$node{"${Prefix}:name"} || $count
218 2 5 0 $$node{"${Prefix}:name"} || $count