| 1 | package Complete::Pod::Weaver; | ||||||||||||
| 2 | |||||||||||||
| 3 | 1 | our $DATE = '2015-11-29'; # DATE | |||||||||||
| 4 | 1 | our $VERSION = '0.05'; # 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_weaver_plugin | ||||||||||||
| 18 | complete_weaver_section | ||||||||||||
| 19 | complete_weaver_bundle | ||||||||||||
| 20 | complete_weaver_role | ||||||||||||
| 21 | ); | ||||||||||||
| 22 | |||||||||||||
| 23 | 1 | $SPEC{':package'} = { | |||||||||||
| 24 | v => 1.1, | ||||||||||||
| 25 | summary => 'Pod::Weaver-related completion routines', | ||||||||||||
| 26 | }; | ||||||||||||
| 27 | |||||||||||||
| 28 | $SPEC{complete_weaver_plugin} = { | ||||||||||||
| 29 | 1 | v => 1.1, | |||||||||||
| 30 | summary => 'Complete with installed Pod::Weaver plugin names', | ||||||||||||
| 31 | args => { | ||||||||||||
| 32 | %arg_word, | ||||||||||||
| 33 | }, | ||||||||||||
| 34 | result_naked => 1, | ||||||||||||
| 35 | }; | ||||||||||||
| 36 | 0 | ▶ | sub complete_weaver_plugin { | ||||||||||
|
Subroutine
complete_weaver_plugin: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 37 | 0 | require Complete::Module; | |||||||||||
| 38 | |||||||||||||
| 39 | 0 | my %args = @_; | |||||||||||
| 40 | |||||||||||||
| 41 | 0 | ▶ | my $word = $args{word} // ''; | ||||||||||
|
Condition0%0/2
$args{"word"} // ""
MC/DC0%0/1
$args{"word"} // ""
$args{"word"}
Truth table0%0/2
A
A= $args{"word"}
| |||||||||||||
| 42 | |||||||||||||
| 43 | 0 | Complete::Module::complete_module( | |||||||||||
| 44 | word => $word, | ||||||||||||
| 45 | ns_prefix => 'Pod::Weaver::Plugin', | ||||||||||||
| 46 | ); | ||||||||||||
| 47 | } | ||||||||||||
| 48 | |||||||||||||
| 49 | $SPEC{complete_weaver_section} = { | ||||||||||||
| 50 | 1 | v => 1.1, | |||||||||||
| 51 | summary => 'Complete with installed Pod::Weaver::Section names', | ||||||||||||
| 52 | args => { | ||||||||||||
| 53 | %arg_word, | ||||||||||||
| 54 | }, | ||||||||||||
| 55 | result_naked => 1, | ||||||||||||
| 56 | }; | ||||||||||||
| 57 | 0 | ▶ | sub complete_weaver_section { | ||||||||||
|
Subroutine
complete_weaver_section: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 58 | 0 | require Complete::Module; | |||||||||||
| 59 | |||||||||||||
| 60 | 0 | my %args = @_; | |||||||||||
| 61 | |||||||||||||
| 62 | 0 | ▶ | my $word = $args{word} // ''; | ||||||||||
|
Condition0%0/2
$args{"word"} // ""
MC/DC0%0/1
$args{"word"} // ""
$args{"word"}
Truth table0%0/2
A
A= $args{"word"}
| |||||||||||||
| 63 | |||||||||||||
| 64 | 0 | Complete::Module::complete_module( | |||||||||||
| 65 | word => $word, | ||||||||||||
| 66 | ns_prefix => 'Pod::Weaver::Section', | ||||||||||||
| 67 | ); | ||||||||||||
| 68 | } | ||||||||||||
| 69 | |||||||||||||
| 70 | $SPEC{complete_weaver_role} = { | ||||||||||||
| 71 | 1 | v => 1.1, | |||||||||||
| 72 | summary => 'Complete with installed Pod::Weaver role names', | ||||||||||||
| 73 | args => { | ||||||||||||
| 74 | %arg_word, | ||||||||||||
| 75 | }, | ||||||||||||
| 76 | result_naked => 1, | ||||||||||||
| 77 | }; | ||||||||||||
| 78 | 0 | ▶ | sub complete_weaver_role { | ||||||||||
|
Subroutine
complete_weaver_role: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 79 | 0 | require Complete::Module; | |||||||||||
| 80 | |||||||||||||
| 81 | 0 | my %args = @_; | |||||||||||
| 82 | |||||||||||||
| 83 | 0 | ▶ | my $word = $args{word} // ''; | ||||||||||
|
Condition0%0/2
$args{"word"} // ""
MC/DC0%0/1
$args{"word"} // ""
$args{"word"}
Truth table0%0/2
A
A= $args{"word"}
| |||||||||||||
| 84 | |||||||||||||
| 85 | 0 | Complete::Module::complete_module( | |||||||||||
| 86 | word => $word, | ||||||||||||
| 87 | ns_prefix => 'Pod::Weaver::Role', | ||||||||||||
| 88 | ); | ||||||||||||
| 89 | } | ||||||||||||
| 90 | |||||||||||||
| 91 | $SPEC{complete_weaver_bundle} = { | ||||||||||||
| 92 | 1 | v => 1.1, | |||||||||||
| 93 | summary => 'Complete with installed Pod::Weaver bundle names', | ||||||||||||
| 94 | args => { | ||||||||||||
| 95 | %arg_word, | ||||||||||||
| 96 | }, | ||||||||||||
| 97 | result_naked => 1, | ||||||||||||
| 98 | }; | ||||||||||||
| 99 | 0 | ▶ | sub complete_weaver_bundle { | ||||||||||
|
Subroutine
complete_weaver_bundle: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 100 | 0 | require Complete::Module; | |||||||||||
| 101 | |||||||||||||
| 102 | 0 | my %args = @_; | |||||||||||
| 103 | |||||||||||||
| 104 | 0 | ▶ | my $word = $args{word} // ''; | ||||||||||
|
Condition0%0/2
$args{"word"} // ""
MC/DC0%0/1
$args{"word"} // ""
$args{"word"}
Truth table0%0/2
A
A= $args{"word"}
| |||||||||||||
| 105 | |||||||||||||
| 106 | 0 | Complete::Module::complete_module( | |||||||||||
| 107 | word => $word, | ||||||||||||
| 108 | ns_prefix => 'Pod::Weaver::PluginBundle', | ||||||||||||
| 109 | ); | ||||||||||||
| 110 | } | ||||||||||||
| 111 | |||||||||||||
| 112 | 1 | 1; | |||||||||||
| 113 | # ABSTRACT: Pod::Weaver-related completion routines | ||||||||||||
| 114 | |||||||||||||
| 115 | __END__ | ||||||||||||