Branch Coverage

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


line true false branch
18 0 0 if $params{'no_category'}{'licenseinfo'}
31 0 0 if ($is64bit) { }
32 0 0 unless my $machKey64 = $FusionInventory::Agent::Task::Inventory::Win32::License::Registry->Open('LMachine', {'Access', KEY_READ() | 256})
36 0 0 if $officeKey64
38 0 0 unless my $machKey32 = $FusionInventory::Agent::Task::Inventory::Win32::License::Registry->Open('LMachine', {'Access', KEY_READ() | 512})
43 0 0 if $officeKey32
45 0 0 unless my $machKey = $FusionInventory::Agent::Task::Inventory::Win32::License::Registry->Open('LMachine', {'Access', KEY_READ()})
52 0 0 if $officeKey
76 0 0 if ($$key{'DigitalProductID'})
80 0 0 if ($$key{'TrialType'} and $$key{'TrialType'} =~ /(\d+)$/)
86 0 0 unless $entry =~ s[/(\w+)NameVersion$][]
88 0 0 unless $$key{$product . 'NameVersion'}
91 0 0 if (@products)
96 0 0 if $license{'KEY'}
100 0 0 if $subKey =~ m[^/]