Condition Coverage

blib/lib/BSON/Timestamp.pm
Criterion Covered Total %
condition 16 22 72.7


and 3 conditions

line !l l&&!r l&&r condition
42 5 37 17929 @_ and not $_[0] =~ /^[s|i]/
51 42 0 0 exists $args{'sec'} and not exists $args{'seconds'}
52 42 0 0 exists $args{'inc'} and not exists $args{'increment'}
67 2 2 35936 $v >= 0 and $v <= $max_uint32
108 0 3 5 defined $l and defined $r

or 2 conditions

line l !l condition
111 8 0 $l //= {'seconds', 0, 'increment', 0}
112 5 3 $r //= {'seconds', 0, 'increment', 0}

or 3 conditions

line l !l&&r !l&&!r condition
115 2 4 2 $l->{'seconds'} <=> $r->{'seconds'} || $l->{'increment'} <=> $r->{'increment'}