Condition Coverage

blib/lib/Jenkins/i18n.pm
Criterion Covered Total %
condition 11 24 45.8


and 3 conditions

line !l l&&!r l&&r condition
85 0 0 6 exists $i18n_ref->{$entry} and defined $i18n_ref->{$entry}
401 3 0 0 scalar @pieces == $min_file_pieces and length $pieces[-1] == $lang_code_length
0 0 3 scalar @pieces > $min_file_pieces and length $pieces[-1] == $country_code_length
0 0 3 scalar @pieces > $min_file_pieces and length $pieces[-1] == $country_code_length and length $pieces[-2] == $lang_code_length

or 3 conditions

line l !l&&r !l&&!r condition
381 0 0 13 $file =~ /$src_regex/u or $file =~ /$target_regex/u
382 1 4 8 $file =~ /$msgs_regex/u or $file =~ /$jelly_regex/u
475 0 0 4 $file =~ /$src_regex/u or $file =~ /$target_regex/u
556 13 0 10 $line =~ /^.*?\$\{\%([^\(\}]+)(.*)$/u or $line =~ /^.*?\$\{.*?['"]\%([^\(\}\"\']+)(.*)$/u