bin/generate_wrap_config.pl | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 26 | 32 | 81.2 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 8 | unless &GetOptionsFromArray(\@_, 'spec=s', \my $spec_file, 'file=s', \my @files, 'ignore=s', \my @ignore, 'include=s', \my @include, 'exclude=s', \my @exclude, 'filter=s', \my @filters, 'out=s', \my $output_file, 'help', \my $help) |
34 | 0 | 8 | if $help |
37 | 8 | 0 | if defined $spec_file |
46 | 8 | 0 | if $output_file |
56 | 6 | 10 | unless $filter_specs |
67 | 0 | 2 | unless $threshold |
78 | 0 | 4 | unless my $generator = $GENERATORS->{$filter} |
98 | 8 | 70 | if exists $file_ignored{$file} |
101 | 4 | 122 | if exists $sub_excluded{$sub} |
113 | 12 | 63 | unless $subs |
117 | 12 | 150 | if ¬all(sub { |
119 | 2 | 148 | if ($sub->name =~ /'|::/) { } |
124 | 140 | 8 | $pkg ? : |
133 | 8 | 168 | unless $elem |
134 | 6 | 162 | if $elem->isa('PPI::Statement::Package') |
138 | 134 | 124 | if $prev->isa('PPI::Statement::Package') |