BlankOnDev/command.pm

filter: Statementstmt 70.0% 14 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 2 totaltotal 64.2% 18 / 28 CC 1 SCAR 2.9
CC
1
Cov
70%
bzr
2.0
github
2.0
BEGIN
1.0
CRAP 1.3
« BlankOnDev/Rilis.pm ↑ Summary BlankOnDev/Version.pm »
1 package BlankOnDev::command;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # Import :
6 1 ▶use Term::ReadKey;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use BlankOnDev::Rilis;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 # Version :
10 1 our $VERSION = '0.1005';
11  
12 # Subroutine for bazaar command :
13 # ------------------------------------------------------------------------
14 0 ▶sub bzr {
Subroutine bzr: not called CC=1 SCAR=6.9
Pod undocumented
15 0 my %data = ();
16  
17 # Bzr Command :
18 0 $data{'bzr'} = {
19 'branch' => => 'bzr branch',
20 'bzr-export' => 'bzr fast-export',
21 'bzr-fast-import' => 'git fast-import'
22 };
23 0 return \%data;
24 }
25 # Subroutine for github command :
26 # ------------------------------------------------------------------------
27 0 ▶sub github {
Subroutine github: not called CC=1 SCAR=6.9
Pod undocumented
28 0 my %data = ();
29  
30 # Git Command :
31 0 $data{'git'} = {
32 'cfg-name' => 'git config --global user.name',
33 'cfg-email' => 'git config --global user.email',
34 'cfg-credential-cache' => 'git config --global credential.helper cache',
35 'cfg-creden-cache-clear' => 'git config --global --unset credential.helper',
36 'cfg-list' => 'git config --list',
37 'cfg-list' => 'git config --list',
38 'init' => 'git init',
39 'add' => 'git add',
40 'commit' => 'git commit -m',
41 'reset-head' => 'git reset HEAD',
42 'remote' => 'git remote add origin',
43 'push' => 'git push -u origin master',
44 'push-force' => 'git push origin master --force',
45 'push-repo' => 'git push -u origin',
46 'checkout' => 'git checkout -b',
47 'fetch' => 'git fetch origin',
48 'merge' => 'git merge origin origin/master',
49 'pull' => 'git pull origin',
50 'branch' => 'git branch',
51 };
52 0 return \%data;
53 }
54 1 1;
« BlankOnDev/Rilis.pm ↑ Summary BlankOnDev/Version.pm »