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
77 0 0 3 $file and -e $file
108 57 56 1 $string =~ /^\d+$/ and $self->symbols->{$symbol}[0] == $string
125 114 114 2 $string =~ /^\d+$/ and $self->symbols->{$symbol}[0] == $string
142 1 1 1 not $key =~ /^\d+$/ and length $key < 4

or 3 conditions

line l !l&&r !l&&!r condition
108 1 1 112 $string =~ /^\d+$/ and $self->symbols->{$symbol}[0] == $string or lc $self->symbols->{$symbol}[2] eq lc $string
125 2 2 226 $string =~ /^\d+$/ and $self->symbols->{$symbol}[0] == $string or lc $self->symbols->{$symbol}[1] eq lc $string