Condition Coverage

lib/Win32/PEFile/SectionHandlers.pm
Criterion Covered Total %
condition 20 92 21.7


and 3 conditions

line !l l&&!r l&&r condition
153 1 1 0 $verResource and exists $$entries{'VERSION'}{'1'}{$lang}
186 0 0 0 $verResource and exists $$entries{'VERSION'}{'1'}{$lang}
209 2 2 0 defined $lang and exists $$entries{$type}{$name}{$lang}
276 22 0 13 $level == 1 and exists $Win32::PEFile::rsrcHandler::rsrcTypes{$rsrcId}
301 0 1 0 defined $lang and exists $$entries{'VERSION'}{'1'}{$lang}{'FixedFileInfo'}
540 0 0 0 ref $root and ref $path

or 2 conditions

line l !l condition
32 12 0 $class->can("${_}_$type") or die "'${class}' requires a ${_}_$type method\n"
108 0 0 $$self{'SecData'}{'.rsrc'}{'Entries'} ||= {}
116 0 0 $$self{'SecData'}{'.rsrc'}{'header'} ||= {}
117 0 0 $$self{'DataDir'}{'.rsrc'} ||= {}
120 0 0 $$dDir{'size'} ||= undef
121 0 0 $$dDir{'filePos'} ||= undef
122 0 0 $$dDir{'fileBias'} ||= undef
123 0 0 $$dDir{'imageRVA'} ||= 16384
151 2 0 $$self{'SecData'}{'.rsrc'}{'Entries'} ||= {}
214 1 2 $lang ||= 1033
299 1 0 $$self{'SecData'}{'.rsrc'}{'Entries'} ||= {}
543 0 0 $$entry{$_} ||= {}
545 0 0 $params{'codepage'} || 0
576 0 0 $params{'StrucVersion'} ||= 65536
577 0 0 $params{'FileVersionMS'} ||= 65536
578 0 0 $params{'FileVersionLS'} ||= 0
579 0 0 $params{'ProductVersionMS'} ||= 65536
580 0 0 $params{'ProductVersionLS'} ||= 0
581 0 0 $params{'FileFlagsMask'} ||= 0
582 0 0 $params{'FileFlags'} ||= 0
583 0 0 $params{'FileOS'} ||= 4
584 0 0 $params{'FileType'} ||= 2
585 0 0 $params{'FileSubtype'} ||= 0
586 0 0 $params{'FileDateMS'} ||= 0
587 0 0 $params{'FileDateLS'} ||= 0
589 0 0 $_ ||= 0
615 0 0 $params{'codePage'} ||= 1200
619 0 0 $params{'strings'}{'ProductVersion'} ||= '1.0'
620 0 0 $params{'strings'}{'FileVersion'} ||= '1.0'
951 1 1 $$self{'SecData'}{'.idata'}{'Entries'} ||= {}
965 2 0 $$self{'SecData'}{'.idata'}{'Entries'}{$dllName} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
258 4 35 31 $numNames or $numIDs
621 0 0 0 $params{'strings'}{'OriginalFilename'} ||= $$self{-'file'}
622 0 0 0 $params{'strings'}{'InternalName'} ||= $$self{-'file'}
987 40 0 2 $index or $isOrdinal