Branch Coverage

blib/lib/WWW/Lipsum.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
37 2 5 $self->start ? :
44 0 7 unless $res->is_success
53 0 7 if @$
54 0 7 unless $dom
59 5 2 unless $self->html
65 1 1 if $self->what eq 'lists'
81 0 7 if exists $args{'start'}
84 0 7 if exists $args{'html'}
87 0 7 if (defined $args{'what'})
88 0 0 unless $args{'what'} =~ /\A(paras|words|bytes|lists)\z/
95 0 7 if (defined $args{'amount'})
96 0 0 unless $args{'amount'} and $args{'amount'} =~ /\A\d+\z/