Condition Coverage

blib/lib/FusionInventory/Agent/Tools.pm
Criterion Covered Total %
condition 6 8 75.0


or 2 conditions

line l !l condition
174 14 343 $base ||= 1000

or 3 conditions

line l !l&&r !l&&!r condition
206 1 0 5 $major > $min_major || $major == $min_major && $minor >= $min_minor
224 909 0 23189 &Encode::is_utf8($string) or $string =~ /\A( [\x09\x0A\x0D\x20-\x7E] # ASCII | [\xC2-\xDF][\x80-\xBF] # non-overlong 2-byte | \xE0[\xA0-\xBF][\x80-\xBF] # excluding overlongs | [\xE1-\xEC\xEE\xEF][\x80-\xBF]{2} # straight 3-byte | \xED[\x80-\x9F][\x80-\xBF] # excluding surrogates | \xF0[\x90-\xBF][\x80-\xBF]{2} # planes 1-3 | [\xF1-\xF3][\x80-\xBF]{3} # planes 4-15 | \xF4[\x80-\x8F][\x80-\xBF]{2} # plane 16 )*\z/x