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

filter: Statementstmt 88.8% 8 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 2 / 2 totaltotal 86.6% 13 / 15 CC 1 SCAR 2.2
CC
1
Cov
89%
log
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/Dist/Zilla/Pragmas.pm ↑ Summary blib/lib/Dist/Zilla/MVP/Assembler/Zilla.pm »
1 package Dist::Zilla::App::Command 6.040;
2 # ABSTRACT: base class for dzil commands
3  
4 4 ▶use Dist::Zilla::Pragmas;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 4 ▶use App::Cmd::Setup -command;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 #pod =method zilla
9 #pod
10 #pod This returns the Dist::Zilla object in use by the command. If none has yet
11 #pod been constructed, one will be by calling C<< Dist::Zilla->from_config >>.
12 #pod
13 #pod (This method just delegates to the Dist::Zilla::App object!)
14 #pod
15 #pod =cut
16  
17 22 ▶sub zilla {
Subroutine zilla: called CC=1 SCAR=0.0
Pod documented
18 22 return $_[0]->app->zilla;
19 }
20  
21 #pod =method log
22 #pod
23 #pod This method calls the C<log> method of the application's chrome.
24 #pod
25 #pod =cut
26  
27 0 ▶sub log {
Subroutine log: not called CC=1 SCAR=6.9
Pod documented
28 0 $_[0]->app->chrome->logger->log($_[1]);
29 }
30  
31 4 1;
32  
33 __END__
« blib/lib/Dist/Zilla/Pragmas.pm ↑ Summary blib/lib/Dist/Zilla/MVP/Assembler/Zilla.pm »