File Coverage

blib/lib/Moops/TraitFor/Keyword/dirty.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 19 19 100.0


line stmt bran cond sub pod time code
1 2     2   1078 use v5.14;
  2         7  
2 2     2   13 use strict;
  2         4  
  2         59  
3 2     2   10 use warnings FATAL => 'all';
  2         4  
  2         109  
4 2     2   13 no warnings qw(void once uninitialized numeric);
  2         4  
  2         177  
5              
6             package Moops::TraitFor::Keyword::dirty;
7              
8             our $AUTHORITY = 'cpan:TOBYINK';
9             our $VERSION = '0.038';
10              
11 2     2   15 use Moo::Role;
  2         4  
  2         18  
12              
13             around generate_package_setup => sub {
14             my $next = shift;
15             my $self = shift;
16             grep !/^use namespace::autoclean/, $self->$next(@_);
17             };
18              
19             1;