Condition Coverage

blib/lib/AI/Genetic/Pro.pm
Criterion Covered Total %
condition 20 70 28.5


and 3 conditions

line !l l&&!r l&&r condition
58 14 1 0 $self->type eq 'combination' and $self->variable_length
62 0 1 0 $self->strategy->[0] ne 'OX' and $self->strategy->[0] ne 'PMX'
14 1 0 $self->type eq 'combination' and ($self->strategy->[0] ne 'OX' and $self->strategy->[0] ne 'PMX')
64 14 1 0 $self->strategy->[0] eq 'PMX' || $self->strategy->[0] eq 'OX' and $self->variable_length
263 0 0 0 $params{-'logo'} && -f $params{-'logo'}
366 0 0 20044 defined $_[0] and ref $_[0]
0 0 20044 defined $_[0] and ref $_[0] and ref $_[0] eq 'AI::Genetic::Pro'
368 0 0 20044 defined $_[1] and ref $_[1]
0 0 20044 defined $_[1] and ref $_[1] and ref $_[1] eq 'AI::Genetic::Pro::Chromosome'
475 12 0 0 $self->strict and $self->_strict
477 0 0 0 $self->chromosomes->[$idx] and $self->_strict->[$idx]
488 0 16 10 $self->terminate and $self->terminate->($self)
505 0 0 2 $self->terminate and $self->terminate->($self)

or 2 conditions

line l !l condition
246 0 0 $params{-'width'} || 640
0 0 $params{-'height'} || 480
258 0 0 $params{'legend1'} || 'Max value'
0 0 $params{'legend2'} || 'Mean value'
0 0 $params{'legend3'} || 'Min value'
263 0 0 $params{-'format'} || '%.2f'
0 0 $params{'-title'} || 'Evolution'
0 0 $params{'-x_label'} || 'Generation'
0 0 $params{'-y_label'} || 'Value'
473 12 0 $generations ||= -1
550 1 38 $n ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
64 1 0 14 $self->strategy->[0] eq 'PMX' || $self->strategy->[0] eq 'OX'
311 0 0 0 not $self->variable_length or $self->variable_length < 2
350 0 0 0 not $self->variable_length or $self->variable_length < 2