Condition Coverage

blib/lib/REST/Client/CrossRef.pm
Criterion Covered Total %
condition 17 30 56.6


and 3 conditions

line !l l&&!r l&&r condition
442 3 1 0 $ar->{'json_path'} and $ar->{'keys_to_keep'}
477 7 0 0 $self->page_start_at and $self->page_start_at > $self->rows
546 1 0 7 defined $res_count and $res_count > 0
616 2 6 0 $hr->{'message'}{'total-results'} and $hr->{'message'}{'total-results'} == 0
645 90 0 0 $self->{'json_path_callback'} and $self->{'json_path_callback'}{$path}
1060 5 0 0 $last_start and $self->{'last_page_items_count'} >= $self->rows
1131 1 0 6 exists $msg{'next-cursor'} and $n_items >= $self->rows
1213 0 159 1 defined $self->{'keys_to_keep'} and defined $self->{'keys_to_keep'}{$key}
1317 90 54 2 defined $self->{'keys_to_keep'} and defined $self->{'keys_to_keep'}{$last_key}

or 3 conditions

line l !l&&r !l&&!r condition
505 0 0 7 $code eq '429' or $code eq '503'