Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Win32/License.pm
Criterion Covered Total %
branch 4 26 15.3


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
79 0 0 unless $registrationKey
82 0 0 unless $registrationKey->{$uuidKey}{'/DigitalProductID'}
104 2 0 if ($key->{'/TrialType'} and $key->{'/TrialType'} =~ /(\d+)$/)
110 68 34 unless $variable =~ m[/(\w+)NameVersion$]
113 2 0 if (@products)