GitGot/Outputter/light.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GitGot/Outputter/dark.pm ↑ Summary GitGot/Types.pm »
1 package App::GitGot::Outputter::light;
2 1 our $AUTHORITY = 'cpan:GENEHACK';
3 1 $App::GitGot::Outputter::light::VERSION = '1.339';
4 # ABSTRACT: Color scheme appropriate for dark terminal backgrounds
5 1 ▶use 5.014;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use Types::Standard -types;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use App::GitGot::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 extends 'App::GitGot::Outputter';
13 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 1 has color_error => (
16 is => 'ro' ,
17 isa => Str ,
18 default => 'bold red'
19 );
20  
21 # Color choices by drdrang based on a conversation that started with
22 # <http://www.leancrew.com/all-this/2010/12/batch-comparison-of-git-repositories/>
23  
24 1 has color_major_change => (
25 is => 'ro' ,
26 isa => Str ,
27 default => 'blue'
28 );
29  
30 1 has color_minor_change => (
31 is => 'ro' ,
32 isa => Str ,
33 default => 'uncolored'
34 );
35  
36 1 has color_warning => (
37 is => 'ro' ,
38 isa => Str ,
39 default => 'bold magenta'
40 );
41  
42  
43 1 1;
44  
45 __END__
« GitGot/Outputter/dark.pm ↑ Summary GitGot/Types.pm »