File Coverage

blib/lib/Test/Effects/ONLY.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Test::Effects::ONLY;
2              
3 1     1   1658 no if $] >= 5.018, 'warnings', "experimental";
  1         14  
  1         5  
4 1     1   85 use 5.014;
  1         4  
5 1     1   7 use warnings;
  1         2  
  1         104  
6              
7             our $VERSION = '0.000001';
8              
9 1     1   129 sub import { $^H{'Test::Effects::ONLY'} = 1; }
10 1     1   1636 sub unimport { $^H{'Test::Effects::ONLY'} = 0; }
11              
12              
13             1; # Magic true value required at end of module
14             __END__