Branch Coverage

blib/lib/HackaMol/Roles/ReadPdbRole.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
28 1 2 if ($line =~ /^(?:MODEL|ATOM|HETATM)\s/) { }
58 921 7604 if ($self->has_readline_func)
59 855 66 if $self->readline_func->($_) eq 'PDB_SKIP'
61 19 7651 if (/^(?:MODEL\s+(\d+))/) { }
19 7632 elsif (/^(?:ENDMDL)/) { }
7326 306 elsif (/^(?:HETATM|ATOM)/) { }
71 9 10 if ($t)
72 0 9 if ($t_atom_count != $t0_atom_count)
83 69 7257 if $q_tbad
91 7 7250 if ($charge =~ /\d/) { }
94 7242 15 if ($chainID =~ /\w/) { }
107 72 7185 unless $element =~ /\w+/
109 4 7253 if $qdirt
112 4863 2394 if ($t == 0) { }
129 4863 0 unless $atoms[$n]->is_dirty
135 2 2392 if ($n > $#atoms or $name ne $atoms[$n]->name or $element ne $atoms[$n]->symbol)
158 2 13 if ($something_dirty)
159 1 1 if ($self->hush_read <= 0)