Branch Coverage: lib/OpenMP/Environment.pm

# Branch Coverage

File: | lib/OpenMP/Environment.pm
Coverage: | 98.3%

line | % | coverage | branch
--- | --- | --- | ---
22 | 100 | T | F | unless @imports
29 | 100 | T | F | if ($item eq ':unset') { }
| 100 | T | F | elsif ($item eq ':assert') { }
| 100 | T | F | elsif ($item eq ':dsl') { }
| 100 | T | F | elsif ($item eq 'unset') { }
| 100 | T | F | elsif ($item eq 'assert') { }
| 100 | T | F | elsif ($constant{$item}) { }
58 | 100 | T | F | if $export{'unset'}
59 | 100 | T | F | if $export{'assert'}
61 | 100 | T | F | unless $export{$name}
80 | 100 | T | F | unless defined $value
81 | 100 | T | F | if $value =~ /\D/
83 | 100 | T | F | if $value < $min
90 | 100 | T | F | unless defined $value
91 | 100 | T | F | if $value =~ /\A\s*[1-9]\d*(?:\s*,\s*[1-9]\d*)*\s*\z/
101 | 50 | T | F | unless defined $value
109 | 100 | T | F | unless $test
110 | 100 | T | F | if lc $test eq "false"
125 | 100 | T | F | unless $ENV{$ev}
136 | 100 | T | F | if $ENV{$ev}
156 | 100 | T | F | if @lines == 1
177 | 100 | T | F | if @lines == 1
193 | 100 | T | F | defined $ENV{$ev} ? :
296 | 100 | T | F | if (@_)
299 | 100 | T | F | if (_is_legacy_false_value($value)) { }
349 | 100 | T | F | if (@_)
352 | 100 | T | F | if (_is_legacy_false_value($value)) { }
654 | 100 | T | F | if (defined $value)
658 | 100 | T | F | exists $ENV{$ev} ? :
684 | 100 | T | F | if $self->{'has_override'}