Database/Command/db.pm

filter: Statementstmt 78.5% 11 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 100% 1 / 1 totaltotal 71.4% 15 / 21 CC 1 SCAR 4.1
CC
1
Cov
79%
_actions
2.0
_default_action
2.0
usage_desc
2.0
CRAP 1.5
« Database/DefaultCommandHelper.pm ↑ Summary Database/CsvProvider.pm »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package Footprintless::Plugin::Database::Command::db;
5 1 $Footprintless::Plugin::Database::Command::db::VERSION = '1.06';
6 # ABSTRACT: Provides support for databases
7 # PODNAME: Footprintless::Plugin::Database::Command::db
8  
9 1 ▶use parent qw(Footprintless::App::ActionCommand);
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 0 ▶sub _actions {
Subroutine _actions: not called CC=1 SCAR=6.9
12 return (
13 0 'backup' => 'Footprintless::Plugin::Database::Command::db::backup',
14 'client' => 'Footprintless::Plugin::Database::Command::db::client',
15 'copy-to' => 'Footprintless::Plugin::Database::Command::db::copy_to',
16 'restore' => 'Footprintless::Plugin::Database::Command::db::restore',
17 );
18 }
19  
20 0 ▶sub _default_action {
Subroutine _default_action: not called CC=1 SCAR=6.9
21 0 return 'client';
22 }
23  
24 0 ▶sub usage_desc {
Subroutine usage_desc: not called CC=1 SCAR=6.9
Pod documented
25 0 return 'fpl db DB_COORD ACTION %o';
26 }
27  
28 1 1;
29  
30 __END__
« Database/DefaultCommandHelper.pm ↑ Summary Database/CsvProvider.pm »