File Coverage

blib/lib/Carp/Always/Color.pm
Criterion Covered Total %
statement 7 8 87.5
branch 1 2 50.0
condition n/a
subroutine 3 3 100.0
pod n/a
total 11 13 84.6


line stmt bran cond sub pod time code
1             package Carp::Always::Color;
2             our $AUTHORITY = 'cpan:DOY';
3             $Carp::Always::Color::VERSION = '0.08';
4 1     1   13612 use strict;
  1         1  
  1         23  
5 1     1   3 use warnings;
  1         1  
  1         37  
6             # ABSTRACT: Carp::Always, but with color
7              
8             BEGIN {
9 1 50   1   18 if (-t *STDERR) {
10 0           require Carp::Always::Color::Term;
11             }
12             }
13              
14              
15             1;
16              
17             __END__