| 1 | package Dist::Zilla::Plugin::TestML1Includer; | ||||||||||||||||||||||||||||
| 2 | 1 | our $VERSION = '0.0.2'; | |||||||||||||||||||||||||||
| 3 | |||||||||||||||||||||||||||||
| 4 | 1 | ▶ | use Moose; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||
| 6 | 1 | extends 'Dist::Zilla::Plugin::ModuleIncluder'; | |||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||
| 8 | has module => ( | ||||||||||||||||||||||||||||
| 9 | isa => 'ArrayRef[Str]', | ||||||||||||||||||||||||||||
| 10 | traits => ['Array'], | ||||||||||||||||||||||||||||
| 11 | handles => { | ||||||||||||||||||||||||||||
| 12 | modules => 'elements', | ||||||||||||||||||||||||||||
| 13 | }, | ||||||||||||||||||||||||||||
| 14 | 0 | ▶ | default => sub {[qw( | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 15 | Pegex::Input | ||||||||||||||||||||||||||||
| 16 | Pegex::Grammar | ||||||||||||||||||||||||||||
| 17 | Pegex::Base | ||||||||||||||||||||||||||||
| 18 | Pegex::Optimizer | ||||||||||||||||||||||||||||
| 19 | Pegex::Parser | ||||||||||||||||||||||||||||
| 20 | Pegex::Tree | ||||||||||||||||||||||||||||
| 21 | Pegex::Receiver | ||||||||||||||||||||||||||||
| 22 | TestML1::Util | ||||||||||||||||||||||||||||
| 23 | TestML1::Compiler::Lite | ||||||||||||||||||||||||||||
| 24 | TestML1::Compiler::Pegex::Grammar | ||||||||||||||||||||||||||||
| 25 | TestML1::Compiler::Pegex::AST | ||||||||||||||||||||||||||||
| 26 | TestML1::Compiler::Pegex | ||||||||||||||||||||||||||||
| 27 | TestML1::Library::Debug | ||||||||||||||||||||||||||||
| 28 | TestML1::Library::Standard | ||||||||||||||||||||||||||||
| 29 | TestML1::Compiler | ||||||||||||||||||||||||||||
| 30 | TestML1::Runtime::TAP | ||||||||||||||||||||||||||||
| 31 | TestML1::Runtime | ||||||||||||||||||||||||||||
| 32 | TestML1::Base | ||||||||||||||||||||||||||||
| 33 | TestML1::Bridge | ||||||||||||||||||||||||||||
| 34 | TestML1 | ||||||||||||||||||||||||||||
| 35 | )]}, | ||||||||||||||||||||||||||||
| 36 | 1 | ); | |||||||||||||||||||||||||||
| 37 | |||||||||||||||||||||||||||||
| 38 | has blacklist => ( | ||||||||||||||||||||||||||||
| 39 | isa => 'ArrayRef[Str]', | ||||||||||||||||||||||||||||
| 40 | traits => ['Array'], | ||||||||||||||||||||||||||||
| 41 | handles => { | ||||||||||||||||||||||||||||
| 42 | blacklisted_modules => 'elements', | ||||||||||||||||||||||||||||
| 43 | }, | ||||||||||||||||||||||||||||
| 44 | 0 | ▶ | default => sub {[qw( | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||||||||||||||||||||||||||||
| 45 | XXX | ||||||||||||||||||||||||||||
| 46 | TestML1::Object | ||||||||||||||||||||||||||||
| 47 | )]}, | ||||||||||||||||||||||||||||
| 48 | 1 | ); | |||||||||||||||||||||||||||
| 49 | |||||||||||||||||||||||||||||
| 50 | |||||||||||||||||||||||||||||
| 51 | 0 | ▶ | sub gather_files { | ||||||||||||||||||||||||||
|
Subroutine
gather_files: not called CC=5 SCAR=34.0
Pod
undocumented
| |||||||||||||||||||||||||||||
| 52 | 0 | my $self = shift; | |||||||||||||||||||||||||||
| 53 | 0 | for my $prefix (qw(.. ../..)) { | |||||||||||||||||||||||||||
| 54 | 0 | my $pegex = "$prefix/pegex-pm"; | |||||||||||||||||||||||||||
| 55 | 0 | my $testml1 = "$prefix/testml1-pm"; | |||||||||||||||||||||||||||
| 56 | 0 | ▶ | if ( | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
-d "$pegex/.git" and -d "$testml1/.git"
MC/DC0%0/2
-d "$pegex/.git" and -d "$testml1/.git"
-d "$pegex/.git"
-d "$testml1/.git"
Truth table0%0/3
A and B
A= -d "$pegex/.git"B= -d "$testml1/.git"
| |||||||||||||||||||||||||||||
| 57 | -d "$pegex/.git" and | ||||||||||||||||||||||||||||
| 58 | -d "$testml1/.git" | ||||||||||||||||||||||||||||
| 59 | ) { | ||||||||||||||||||||||||||||
| 60 | 0 | ▶ | eval "use lib '$pegex/lib', '$testml1/lib'; 1" or die $@; | ||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||
| 61 | 0 | $self->SUPER::gather_files(@_); | |||||||||||||||||||||||||||
| 62 | 0 | return; | |||||||||||||||||||||||||||
| 63 | } | ||||||||||||||||||||||||||||
| 64 | } | ||||||||||||||||||||||||||||
| 65 | 0 | die "Pegex and TestML1 repos missing or not in right state"; | |||||||||||||||||||||||||||
| 66 | } | ||||||||||||||||||||||||||||
| 67 | |||||||||||||||||||||||||||||
| 68 | 1 | __PACKAGE__->meta->make_immutable; | |||||||||||||||||||||||||||
| 69 | |||||||||||||||||||||||||||||
| 70 | 1 | ▶ | no Moose; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 71 | |||||||||||||||||||||||||||||
| 72 | 1 | 1; | |||||||||||||||||||||||||||