Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Win32/Softwares.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
34 0 0 if ($is64bit) { }
40 0 0 unless my $machKey64 = $FusionInventory::Agent::Task::Inventory::Win32::Softwares::Registry->Open('LMachine', {'Access', KEY_READ() | 256})
58 0 0 if ($params{'scan_profiles'}) { }
71 0 0 unless my $machKey32 = $FusionInventory::Agent::Task::Inventory::Win32::Softwares::Registry->Open('LMachine', {'Access', KEY_READ() | 512})
89 0 0 if $params{'scan_profiles'}
95 0 0 unless my $machKey = $FusionInventory::Agent::Task::Inventory::Win32::Softwares::Registry->Open('LMachine', {'Access', KEY_READ()})
112 0 0 if $params{'scan_profiles'}
124 0 0 if $$seen{$$hotfix{'NAME'}}
137 0 0 unless my $machKey = $FusionInventory::Agent::Task::Inventory::Win32::Softwares::Registry->Open('LMachine', {'Access', KEY_READ()})
144 0 0 unless $profileList
150 0 0 unless $profileName =~ m[/$]
151 0 0 unless length $profileName > 10
156 0 0 unless $sid
157 0 0 unless $profilePath
163 0 0 $is64bit ? :
191 0 0 unless $date
193 0 0 if ($date =~ /^(\d{4})(\d{1})(\d{2})$/)
197 0 0 if ($date =~ /^(\d{4})(\d{2})(\d{2})$/)
211 0 0 unless $softwares
215 0 0 if $rawGuid =~ m[^/]
219 0 0 unless keys %$data > 1
224 0 0 $params{'is64bit'} ? :
246 0 0 if $$software{'VERSION'}
265 0 0 if ($$object{'Description'} and $$object{'Description'} =~ /^(Security Update|Hotfix|Update)/)
269 0 0 unless $$object{'HotFixID'} =~ /KB(\d{4,10})/i
270 0 0 $params{'is64bit'} ? :
289 0 0 if $$seen{$$entry{'NAME'}}{$$entry{'ARCH'}}{$$entry{'VERSION'} or '_undef_'}++
297 0 0 $params{'is64bit'} ? :
303 0 0 unless $version
305 0 0 $params{'is64bit'} ? :