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   2984 use strict;
  4         9  
  4         183  
3 4     4   24 use warnings;
  4         8  
  4         111  
4 4     4   22 use utf8;
  4         9  
  4         31  
5 4     4   153 use 5.010_001;
  4         13  
  4         156  
6              
7 4     4   23 use Moo;
  4         12  
  4         23  
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   1494 no Moo;
  4         10  
  4         24  
15              
16             1;
17