Cmd.pm

filter: Statementstmt 82.3% 14 / 17 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 70.8% 17 / 24 CC 2 SCAR 11.0
CC
2
Cov
74%
is_up_to_date
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.0
« Cmd/InputHandle.pm ↑ Summary Cmd/Command/Load.pm »
1 #!/usr/bin/perl
2  
3 package KiokuDB::Cmd;
4 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use KiokuDB;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 extends qw(MooseX::App::Cmd);
11  
12 1 our $VERSION = "0.03";
13 1 our $KIOKUDB_VERSION = "0.45";
14  
15 0 ▶sub is_up_to_date {
Subroutine is_up_to_date: not called CC=2 SCAR=17.9
Pod undocumented
16 0 KiokuDB->VERSION($KIOKUDB_VERSION);
17  
18 0 ▶ return unless KiokuDB->cmd_is_up_to_date;
Branch: 1 branch
BranchTrueFalseTotal
unless "KiokuDB"->cmd_is_up_to_date 0 0 0
19  
20 0 return 1;
21 }
22  
23 1 __PACKAGE__->meta->make_immutable;
24  
25 1 __PACKAGE__
26  
27 __END__
« Cmd/InputHandle.pm ↑ Summary Cmd/Command/Load.pm »