line |
true |
false |
branch |
98
|
39 |
0 |
unless $self->{'$stash'}
|
129
|
0 |
39 |
unless $self->check_name
|
147
|
0 |
39 |
unless $name
|
149
|
0 |
39 |
if $name->[0] =~ /[^\w\'\:']/
|
174
|
0 |
39 |
unless $self->check_abstract
|
192
|
0 |
39 |
unless $abstract
|
194
|
0 |
39 |
unless $abstract->[0] =~ /\w/
|
203
|
0 |
39 |
unless $self->check_synopsis
|
221
|
0 |
39 |
unless $synopsis
|
223
|
0 |
39 |
unless $synopsis->[0] =~ /\w/
|
232
|
0 |
39 |
unless $self->check_includes
|
250
|
2 |
37 |
unless $includes
|
253
|
14 |
365 |
if $include->[0] eq 'function'
|
254
|
0 |
365 |
if $include->[0] eq 'routine'
|
255
|
365 |
0 |
if $include->[0] eq 'method'
|
267
|
0 |
39 |
unless $self->check_description
|
285
|
0 |
39 |
unless $description
|
293
|
0 |
39 |
unless $self->check_inherits
|
311
|
38 |
1 |
unless $inherits
|
314
|
0 |
1 |
if $inherit =~ /[^\w\'\:']/
|
324
|
0 |
39 |
unless $self->check_integrates
|
342
|
39 |
0 |
unless $integrates
|
345
|
0 |
0 |
if $integrate =~ /[^\w\'\:']/
|
355
|
0 |
39 |
unless $self->check_attributes
|
385
|
1 |
38 |
unless @$attributes
|
390
|
0 |
65 |
unless $stashed->{$name}{'is'}
|
393
|
0 |
65 |
unless $stashed->{$name}{'is'} eq 'ro' or $stashed->{$name}{'is'} eq 'rw'
|
395
|
0 |
65 |
unless $stashed->{$name}{'presence'}
|
398
|
0 |
65 |
unless $stashed->{$name}{'presence'} eq 'req' or $stashed->{$name}{'presence'} eq 'opt'
|
400
|
0 |
65 |
unless $stashed->{$name}{'type'}
|
410
|
0 |
39 |
unless $self->check_libraries
|
428
|
1 |
38 |
unless $libraries
|
431
|
0 |
38 |
if $library =~ /[^\w\'\:']/
|
441
|
0 |
39 |
unless $self->check_headers
|
459
|
25 |
14 |
unless $headers
|
461
|
0 |
14 |
unless scalar @$headers
|
470
|
0 |
39 |
unless $self->check_footers
|
488
|
25 |
14 |
unless $footers
|
490
|
0 |
14 |
unless scalar @$footers
|
499
|
0 |
39 |
unless $self->check_scenarios
|
512
|
14 |
0 |
if (my $content = $source->contents('example', $metadata->{'name'}))
|
513
|
0 |
14 |
unless @$content
|
531
|
25 |
14 |
unless %$scenarios
|
534
|
0 |
14 |
unless $val->{'usage'}
|
535
|
0 |
14 |
unless $val->{'example'}
|
544
|
2 |
37 |
unless $self->includes
|
547
|
0 |
37 |
unless $self->check_methods
|
560
|
14 |
365 |
if $include->[0] ne 'method'
|
570
|
365 |
387 |
unless @$content
|
587
|
0 |
37 |
unless %$methods
|
590
|
0 |
365 |
unless ($val->{'usage'} and @{$val->{'usage'};})
|
594
|
0 |
365 |
unless ($val->{'signature'} and @{$val->{'signature'};})
|
598
|
0 |
365 |
unless ($val->{'examples'})
|
610
|
2 |
37 |
unless $self->includes
|
613
|
0 |
37 |
unless $self->check_functions
|
626
|
365 |
14 |
if $include->[0] ne 'function'
|
636
|
14 |
14 |
unless @$content
|
653
|
23 |
14 |
unless %$functions
|
656
|
0 |
14 |
unless ($val->{'usage'} and @{$val->{'usage'};})
|
660
|
0 |
14 |
unless ($val->{'signature'} and @{$val->{'signature'};})
|
664
|
0 |
14 |
unless ($val->{'examples'})
|
676
|
2 |
37 |
unless $self->includes
|
679
|
0 |
37 |
unless $self->check_routines
|
692
|
379 |
0 |
if $include->[0] ne 'routine'
|
702
|
0 |
0 |
unless @$content
|
719
|
37 |
0 |
unless %$routines
|
722
|
0 |
0 |
unless ($val->{'usage'} and @{$val->{'usage'};})
|
726
|
0 |
0 |
unless ($val->{'signature'} and @{$val->{'signature'};})
|
730
|
0 |
0 |
unless ($val->{'examples'})
|
743
|
0 |
39 |
unless $self->check_types
|
768
|
4 |
0 |
unless @$content
|
776
|
4 |
4 |
unless @$content
|
793
|
38 |
1 |
unless %$types
|
796
|
0 |
4 |
unless $val->{'usage'}
|
797
|
0 |
4 |
unless $val->{'library'}
|
798
|
0 |
4 |
unless $val->{'examples'}
|
809
|
12 |
2 |
unless $name
|
813
|
0 |
2 |
unless $attr
|
823
|
32 |
50 |
unless $name
|
827
|
0 |
50 |
unless $attr
|
837
|
20 |
2 |
unless $name
|
841
|
0 |
2 |
unless $attr
|
851
|
14 |
0 |
unless $name
|
855
|
0 |
0 |
unless $attr
|
865
|
13 |
0 |
unless $name
|
869
|
0 |
0 |
unless $attr
|
879
|
0 |
115 |
unless my $results = $self->$method(@args)
|
887
|
0 |
815 |
unless exists $_[1]
|
889
|
587 |
228 |
unless exists $_[2]
|