Branch Coverage

blib/lib/Chess/Opening/Book/Entry.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
33 3 112 if exists $args{'length'}
34 3 112 if exists $args{'significant'}
35 0 3 if (exists $args{'history'} and ref $args{'history'} and 'ARRAY' eq $args{'history'})
46 0 289 unless (exists $args{'move'})
51 0 289 unless ($args{'move'} =~ /^[a-h][1-8][a-h][1-8][qrbn]?$/u)
56 0 289 if exists $args{'weight'}
57 0 266 if (exists $args{'count'} and $args{'count'} and not $args{'count'} =~ /^[1-9][0-9]*$/u)