Muster/Command/init.pm

filter: Statementstmt 71.4% 10 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 72.2% 13 / 18 CC 1 SCAR 2.9
CC
1
Cov
71%
run
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Muster/Hook.pm ↑ Summary Muster/LeafFile/epub.pm »
1 package Muster::Command::init;
2 1 $Muster::Command::init::VERSION = '0.96';
3 #ABSTRACT: Muster::Command::init - generate initial boilerplate app
4 =head1 NAME
5  
6 Muster::Command::init - generate initial boilerplate app
7  
8 =head1 VERSION
9  
10 version 0.96
11  
12 =head1 DESCRIPTION
13  
14 Content management system - generating boilerplate app.
15  
16 =cut
17  
18 1 ▶use Mojo::Base 'Mojolicious::Command';
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 ▶use Muster::Generator;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 1 has description => 'Generates a boilerplate Muster directory structure in your current working directory';
22 1 has usage => "Usage: APPLICATION init\n";
23  
24 0 ▶sub run {
Subroutine run: not called CC=1 SCAR=6.9
Pod documented
25 0 my ($self, @args) = @_;
26  
27 0 print "generating muster boilerplate...\n";
28 0 Muster::Generator->new->init;
29 0 print "done.\n";
30 }
31  
32 1 1;
« Muster/Hook.pm ↑ Summary Muster/LeafFile/epub.pm »