blib/lib/Complete/Dist/Zilla.pm

filter: Statementstmt 63.6% 21 / 33 Branchbran n/a Conditioncond 0.0% 0 / 6 MC/DCmcdc 0.0% 0 / 3 Subroutinesub 57.1% 4 / 7 Podpod 100% 3 / 3 totaltotal 53.8% 28 / 52 CC 4 SCAR 13.9
CC
4
Cov
54%
complete_dzil_plugin
6.0
complete_dzil_role
6.0
complete_dzil_bundle
6.0
CRAP 4.0
↑ Summary
1 package Complete::Dist::Zilla;
2  
3 1 our $DATE = '2015-11-30'; # DATE
4 1 our $VERSION = '0.07'; # VERSION
5  
6 1 ▶use 5.010001;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 #use Log::Any '$log';
10  
11 1 ▶use Complete::Common qw(:all);
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 our %SPEC;
14 1 require Exporter;
15 1 our @ISA = qw(Exporter);
16 1 our @EXPORT_OK = qw(
17 complete_dzil_plugin
18 complete_dzil_bundle
19 complete_dzil_role
20 );
21  
22 $SPEC{complete_dzil_plugin} = {
23 1 v => 1.1,
24 summary => 'Complete with installed Dist::Zilla plugin names',
25 args => {
26 %arg_word,
27 },
28 result_naked => 1,
29 };
30 0 ▶sub complete_dzil_plugin {
Subroutine complete_dzil_plugin: not called CC=2 SCAR=17.9
Pod documented
31 0 require Complete::Module;
32  
33 0 my %args = @_;
34  
35 0 ▶ my $word = $args{word} // '';
Condition0%0/2
$args{"word"} // ""
l!l
00
MC/DC0%0/1
$args{"word"} // ""
$args{"word"}
Truth table0%0/2
A
A= $args{"word"}
Aresult
11
00
36  
37 0 Complete::Module::complete_module(
38 word => $word,
39 ns_prefix => 'Dist::Zilla::Plugin',
40 );
41 }
42  
43 $SPEC{complete_dzil_role} = {
44 1 v => 1.1,
45 summary => 'Complete with installed Dist::Zilla role names',
46 args => {
47 %arg_word,
48 },
49 result_naked => 1,
50 };
51 0 ▶sub complete_dzil_role {
Subroutine complete_dzil_role: not called CC=2 SCAR=17.9
Pod documented
52 0 require Complete::Module;
53  
54 0 my %args = @_;
55  
56 0 ▶ my $word = $args{word} // '';
Condition0%0/2
$args{"word"} // ""
l!l
00
MC/DC0%0/1
$args{"word"} // ""
$args{"word"}
Truth table0%0/2
A
A= $args{"word"}
Aresult
11
00
57  
58 0 Complete::Module::complete_module(
59 word => $word,
60 ns_prefix => 'Dist::Zilla::Role',
61 );
62 }
63  
64 $SPEC{complete_dzil_bundle} = {
65 1 v => 1.1,
66 summary => 'Complete with installed Dist::Zilla bundle names',
67 args => {
68 %arg_word,
69 },
70 result_naked => 1,
71 };
72 0 ▶sub complete_dzil_bundle {
Subroutine complete_dzil_bundle: not called CC=2 SCAR=17.9
Pod documented
73 0 require Complete::Module;
74  
75 0 my %args = @_;
76  
77 0 ▶ my $word = $args{word} // '';
Condition0%0/2
$args{"word"} // ""
l!l
00
MC/DC0%0/1
$args{"word"} // ""
$args{"word"}
Truth table0%0/2
A
A= $args{"word"}
Aresult
11
00
78  
79 0 Complete::Module::complete_module(
80 word => $word,
81 ns_prefix => 'Dist::Zilla::PluginBundle',
82 );
83 }
84  
85 1 1;
86 # ABSTRACT: Complete with installed Dist::Zilla plugin names
87  
88 __END__
↑ Summary