blib/lib/Dist/Zilla/App/Command/nop.pm

filter: Statementstmt 63.6% 7 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 40.0% 2 / 5 Podpod 100% 3 / 3 totaltotal 63.1% 12 / 19 CC 1 SCAR 4.7
CC
1
Cov
64%
abstract
2.0
description
2.0
execute
2.0
CRAP 1.6
« blib/lib/Dist/Zilla/App/Command/clean.pm ↑ Summary blib/lib/Dist/Zilla/Plugin/AutoVersion.pm »
1 package Dist::Zilla::App::Command::nop 6.040;
2 # ABSTRACT: initialize dzil, then exit
3  
4 4 ▶use Dist::Zilla::Pragmas;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 ▶use Dist::Zilla::App -command;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 #pod =head1 SYNOPSIS
9 #pod
10 #pod This command does nothing. It initializes Dist::Zilla, then exits. This is
11 #pod useful to see the logging output of plugin initialization.
12 #pod
13 #pod dzil nop -v
14 #pod
15 #pod Seriously, this command is almost entirely for diagnostic purposes. Don't
16 #pod overthink it, okay?
17 #pod
18 #pod =cut
19  
20 0 ▶sub abstract { 'do nothing: initialize dzil, then exit' }
Subroutine abstract: not called CC=1 SCAR=6.9
Pod documented
21  
22 0 ▶sub description {
Subroutine description: not called CC=1 SCAR=6.9
Pod documented
23 0 "This command does nothing but initialize Dist::Zilla and exit.\n" .
24 "It is sometimes useful for diagnostic purposes."
25 }
26  
27 0 ▶sub execute {
Subroutine execute: not called CC=1 SCAR=6.9
Pod documented
28 0 my ($self, $opt, $arg) = @_;
29  
30 0 $self->zilla;
31 }
32  
33 4 1;
34  
35 __END__
« blib/lib/Dist/Zilla/App/Command/clean.pm ↑ Summary blib/lib/Dist/Zilla/Plugin/AutoVersion.pm »