Condition Coverage

blib/lib/OpenTracing/Span.pm
Criterion Covered Total %
condition 11 34 32.3


or 2 conditions

line l !l condition
88 1 0 +(shift())->{'parent_id'} //= '00000000'
96 0 0 +(shift())->{'flags'} // 0
151 0 0 +(shift())->{'tags'} //= {}
170 0 0 +(shift())->{'logs'} //= []
183 0 0 $self->{'logs'} //= []

or 3 conditions

line l !l&&r !l&&!r condition
54 4 202 0 $args{'operation_name'} //= (caller 1)[3]
62 0 206 0 $args{'start_time'} //= int &Time::HiRes::time() * 1000000
72 4 102 0 +(shift())->{'trace_id'} //= random_bytes_hex(16)
80 3 102 0 +(shift())->{'id'} //= random_bytes_hex(8)
104 1 0 0 +(shift())->{'start_time'} //= int &Time::HiRes::time() * 1000000
125 0 1 0 $self->{'duration'} //= $self->finish_time - $self->start_time
182 0 0 0 delete $args{'timestamp'} // int &Time::HiRes::time() * 1000000
238 0 4 0 $ts //= int &Time::HiRes::time() * 1000000