Condition Coverage

blib/lib/Games/Go/AGA/Parse/Util.pm
Criterion Covered Total %
condition 7 15 46.6


and 3 conditions

line !l l&&!r l&&r condition
38 0 0 5 defined $token && $token =~ /^\w+$/ && $token =~ /^\D/
48 0 32 0 defined $token && ($token =~ /^(\d+)[dD]$/ && $1 >= 1 && $1 < 20 || $token =~ /^(\d+)[kK]$/ && $1 >= 1 && $1 < 100)
63 36 15 0 looks_like_number $token && ($token < 20 && $token >= 1 || $token <= -1 && $token > -100)
94 0 0 0 is_Rank($rank) and $rank =~ /(\d+)([dkDK])/

or 3 conditions

line l !l&&r !l&&!r condition
74 7 5 27 is_Rating($token) || is_Rank($token)