Branch Coverage

blib/lib/Lingua/YaTeA/OptionSet.pm
Criterion Covered Total %
branch 15 44 34.0


line true false branch
37 108 4 if (not $this->optionExists($name)) { }
56 0 4 unless (defined $this->optionExists($compulsory))
68 0 0 if (defined $this->{'OPTIONS'}{$name})
70 0 0 if ($this->{'OPTIONS'}{$name} == 0)
82 8 0 if (defined $this->{'OPTIONS'}{$name})
84 0 8 if ($this->{'OPTIONS'}{$name} == 1)
103 1203 183 if (defined $this->{'OPTIONS'}{$name})
139 0 0 if (defined $this->getOption('chained-links'))
167 2 2 if (defined $this->getOption('match-type') and $this->getOption('match-type')->getValue ne '')
185 0 4 unless ($this->optionExists('PHRASE_MAXIMUM_LENGTH'))
189 0 4 if (not $this->optionExists('CANDIDATE_MAXIMUM_LENGTH'))
257 4 0 if (not defined $this->getOption('output-path') or $this->getOption('output-path')->getValue =~ /^\s*$/)
274 0 0 if ($this->optionExists($option_name))
285 0 0 if (not $this->optionExists($option_name))
289 0 0 if (defined $option_value)
315 4 0 if ($this->optionExists($option))
319 0 8 if ($this->optionExists($incompatible_option) and $this->is_enable($incompatible_option))
331 0 8 if ($this->optionExists($option) and $this->getOption('TT-for-BioLG')->getValue == 1)
336 0 0 if (not $this->optionExists($necessary_option[0])) { }
338 0 0 if ($necessary_option[0] eq 'termino') { }
350 0 0 if (defined $necessary_option[1])
352 0 0 if ($this->getOption($necessary_option[0])->getValue ne $necessary_option[1])