blib/lib/POD/Generate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 57 | 61.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
59 | 9 | 5 | 26 | defined $content and ($identifier || 'p') ne "v" |
14 | 0 | 26 | defined $content and ($identifier || 'p') ne "v" and $self->{'width'} | |
0 | 9 | 5 | $has_ident and $identifier eq "v" | |
65 | 26 | 514 | 1762 | defined $chars[$i] and not $chars[$i] =~ /(\s|\n)/ |
66 | 276 | 243 | 21 | $i == 0 and $chars[$i] =~ /\n/ |
line | l | !l | condition |
---|---|---|---|
11 | 2 | 2 | $self->{'pod'} ||= {} |
12 | 2 | 2 | $self->{'width'} ||= 100 |
42 | 3 | 4 | $type ||= "string" |
53 | 7 | 0 | $pod || 'empty' |
59 | 29 | 2 | $identifier || 'p' |
67 | 276 | 264 | $i ||= 1 |
69 | 539 | 0 | $i || 1 |
72 | 1 | 0 | $i || 1 |
344 | 1 | 1 | $author || 'by the author' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
10 | 0 | 4 | 0 | ref $class || $class |
220 | 0 | 0 | 0 | $self->{'version_cb'} && $self->{'version_cb'}->($self, @_) || @_ |
225 | 0 | 2 | 0 | $self->{'description_cb'} && $self->{'description_cb'}->($self, @_) || @_ |
230 | 0 | 2 | 0 | $self->{'synopsis_cb'} && $self->{'synopsis_cb'}->($self, @_) || @_ |
235 | 0 | 2 | 0 | $self->{'methods_cb'} && $self->{'methods_cb'}->($self, @_) || @_ |
240 | 0 | 0 | 0 | $self->{'exports_cb'} && $self->{'exports_cb'}->($self, @_) || @_ |
245 | 0 | 1 | 0 | $self->{'author_cb'} && $self->{'author_cb'}->($self, @_) || @_ |
325 | 0 | 1 | 1 | $self->{'acknowledgements_cb'} && $self->{'acknowledgements_cb'}->($self, @_) || @_ |