Condition Coverage

blib/lib/I18N/AcceptLanguage.pm
Criterion Covered Total %
condition 16 25 64.0


and 3 conditions

line !l l&&!r l&&r condition
381 20 0 1 not $acceptor->strict and $$tag{'lclanguage'} =~ /^([^-]+)-/
20 0 1 not $acceptor->strict and $$tag{'lclanguage'} =~ /^([^-]+)-/ and exists $secondaryLanguages{$1}
0 0 1 not $acceptor->strict and $$tag{'lclanguage'} =~ /^([^-]+)-/ and exists $secondaryLanguages{$1} and $secondaryMatch eq ''
8 0 12 $$tag{'lclanguage'} =~ /^([^-]+)-/ and exists $secondaryLanguages{$1}
8 2 10 $$tag{'lclanguage'} =~ /^([^-]+)-/ and exists $secondaryLanguages{$1} and $secondaryMatch eq ''

or 2 conditions

line l !l condition
285 0 6 $arg{'debug'} || 0
286 1 5 $arg{'defaultLanguage'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
281 0 6 0 ref $self || $self
338 4 0 25 not $clientPreferences or ref $supportedLanguages ne 'ARRAY'