Branch Coverage

blib/lib/WWW/Challonge/Participant.pm
Criterion Covered Total %
branch 30 40 75.0


line true false branch
75 1 3 unless $$self{'alive'}
78 1 2 unless defined $args
88 0 1 unless __args_are_valid($args)
98 0 1 if $response->is_error
116 1 2 unless $$self{'alive'}
134 1 1 if $response->is_error
157 1 1 unless $$self{'alive'}
171 0 1 if $response->is_error
193 1 1 unless $$self{'alive'}
209 0 1 if $response->is_error
289 1 12 unless $$self{'alive'}
303 0 12 if $response->is_error
336 0 15 unless (ref $args eq 'HASH')
358 46 14 unless defined $$args{$arg}
361 0 14 if ($arg =~ /^misc$/)
363 0 0 if (length $$args{$arg} > 255)
371 10 5 unless defined $$args{$arg}
373 1 4 unless ($$args{$arg} =~ /^\d*$/)
392 18 16 if ($arg eq $valid_arg)
398 0 18 unless $is_valid