Condition Coverage

blib/lib/Chemistry/PeriodicTable.pm
Criterion Covered Total %
condition 16 18 88.8


and 3 conditions

line !l l&&!r l&&r condition
39 0 0 5 $file and -e $file
119 8 7 1 $string =~ /^\d+$/ and $self->data->{$symbol}[0] == $string
136 16 53 2 $string =~ /^\d+$/ and $self->data->{$symbol}[0] == $string
153 1 1 1 not $key =~ /^\d+$/ and length $key < 4

or 3 conditions

line l !l&&r !l&&!r condition
119 1 1 14 $string =~ /^\d+$/ and $self->data->{$symbol}[0] == $string or lc $self->data->{$symbol}[2] eq lc $string
136 2 2 67 $string =~ /^\d+$/ and $self->data->{$symbol}[0] == $string or lc $self->data->{$symbol}[1] eq lc $string