blib/lib/Chemistry/PeriodicTable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 18 | 88.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 0 | 0 | 5 | $file and -e $file |
119 | 67 | 66 | 1 | $string =~ /^\d+$/ and $self->symbols->{$symbol}[0] == $string |
136 | 134 | 96 | 2 | $string =~ /^\d+$/ and $self->symbols->{$symbol}[0] == $string |
153 | 1 | 1 | 1 | not $key =~ /^\d+$/ and length $key < 4 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
119 | 1 | 1 | 132 | $string =~ /^\d+$/ and $self->symbols->{$symbol}[0] == $string or lc $self->symbols->{$symbol}[2] eq lc $string |
136 | 2 | 2 | 228 | $string =~ /^\d+$/ and $self->symbols->{$symbol}[0] == $string or lc $self->symbols->{$symbol}[1] eq lc $string |