Condition Coverage

lib/InfluxDB/LineProtocol.pm
Criterion Covered Total %
condition 10 12 83.3


and 3 conditions

line !l l&&!r l&&r condition
30 19 0 1 $param =~ /^v[\d\.]+$/ and $versions{$param}

or 3 conditions

line l !l&&r !l&&!r condition
24 10 3 7 $param eq 'data2line' or $param eq 'line2data'
120 6 40 0 $timestamp ||= $caller->get_ts
267 24 3 13 $v =~ /^-?\d+(?:\.\d+)?(?:e-?\d+)?$/ or $v =~ /^(?:F(?:ALSE)?|f(?:alse)?|T(?:RUE)?|t(?:rue)?)$/