lib/Mite/App/Command/clean.pm

filter: Statementstmt 100% 22 / 22 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 2 totaltotal 93.7% 30 / 32 CC 2 SCAR 2.5
CC
2
Cov
100%
execute
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« lib/Mite/Trait/HasMOP.pm ↑ Summary lib/Mite/Role/Tiny.pm »
1 24 ▶use 5.010001;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 24 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 24 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Mite::App::Command::clean;
6 24 ▶use Mite::Miteception -all;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 24 extends qw(Mite::App::Command);
8  
9 24 our $AUTHORITY = 'cpan:TOBYINK';
10 24 our $VERSION = '0.013000';
11  
12 24 ▶sub abstract {
Subroutine abstract: called CC=1 SCAR=0.0
Pod undocumented
13 24 return "Remove compiled mite files.";
14 }
15  
16 5 ▶sub execute {
Subroutine execute: called CC=2 SCAR=6.9
Pod undocumented
17 5 my $self = shift;
18  
19 5 ▶ return 0 if $self->should_exit_quietly;
Branch: 1 branch
BranchTrueFalseTotal
if $self->should_exit_quietly 2 3 5
20  
21 3 my $project = $self->project;
22 3 $project->clean_mites;
23 3 $project->clean_shim;
24  
25 3 return 0;
26 }
27  
28 24 1;
« lib/Mite/Trait/HasMOP.pm ↑ Summary lib/Mite/Role/Tiny.pm »