File Coverage

blib/lib/Test/Kantan/Reporter/Base.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1             package Test::Kantan::Reporter::Base;
2 4     4   2978 use strict;
  4         9  
  4         140  
3 4     4   23 use warnings;
  4         6  
  4         104  
4 4     4   20 use utf8;
  4         6  
  4         27  
5 4     4   198 use 5.010_001;
  4         14  
  4         133  
6              
7 4     4   20 use Moo;
  4         8  
  4         19  
8              
9             has color => (is => 'ro', required => 1);
10             has level => (is => 'ro', default => sub { 0 });
11             has cutoff => (is => 'ro', default => sub { $ENV{KANTAN_CUTOFF} || 80 });
12             has state => (is => 'ro', required => 1);
13              
14 4     4   1515 no Moo;
  4         8  
  4         16  
15              
16             1;
17