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   1721 use strict;
  4         8  
  4         121  
3 4     4   16 use warnings;
  4         5  
  4         80  
4 4     4   15 use utf8;
  4         3  
  4         17  
5 4     4   100 use 5.010_001;
  4         11  
  4         111  
6              
7 4     4   16 use Moo;
  4         4  
  4         25  
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   1164 no Moo;
  4         6  
  4         15  
15              
16             1;
17