Branch Coverage

blib/lib/WebService/Hexonet/Connector/Response.pm
Criterion Covered Total %
branch 56 66 84.8


line true false branch
21 4 47 if ($self->{'raw'} =~ /[{][[:upper:]_]+[}]/gmsux)
22 3 1 unless (defined $ph)
35 1 50 if (defined $self->{'command'}{'PASSWORD'})
45 33 18 if (defined $h->{'PROPERTY'})
52 50 105 if ($len > $count)
61 18682 0 if (defined $col)
63 3251 15431 if (defined $v)
92 18767 17 if ($self->_hasColumn($key))
103 1 1 if defined $col
141 14 5 if (defined $first and $limit > 0)
150 1 1 if $self->_hasCurrentRecord
159 21 7 if (defined $col)
161 21 0 if (defined $f)
166 1 6 if $len > 0
174 7 2 if (defined $col)
176 7 0 if (defined $l)
181 1 1 if ($len > 0)
207 3 2 if $self->_hasNextRecord
216 1 4 if ($cp < 0)
221 4 0 if $page <= $pages
230 8 1 if ($t > 0 and $limit > 0)
257 1 4 if ($cp < 0)
261 0 4 if $np > 0
268 1 3 if $self->_hasPreviousRecord
276 3 0 if ($idx >= 0 and $self->getRecordsCount > $idx)
299 17 1 if (defined $col)
301 17 0 if (defined $t)
312 35 6 if (defined $col)
314 35 0 if (defined $l)
325 1 1 if ($cp < 0)
329 1 0 if ($np <= $self->getNumberOfPages)
339 1 1 if ($cp < 0)
343 0 1 if ($pp > 0)