File Coverage

blib/lib/Lingua/Poetry/Haiku/Finder/NonWord.pm
Criterion Covered Total %
statement 19 19 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod 0 2 0.0
total 27 29 93.1


line stmt bran cond sub pod time code
1 1     1   19 use 5.012;
  1         4  
2 1     1   6 use strict;
  1         2  
  1         21  
3 1     1   5 use warnings;
  1         2  
  1         54  
4              
5             package Lingua::Poetry::Haiku::Finder::NonWord;
6              
7             our $AUTHORITY = 'cpan:TOBYINK';
8             our $VERSION = '0.002';
9              
10 1     1   6 use Moo;
  1         2  
  1         5  
11 1     1   356 use Types::Standard -types;
  1         2  
  1         8  
12 1     1   5042 use namespace::autoclean;
  1         2  
  1         8  
13              
14             has text => (
15             is => 'ro',
16             isa => Str,
17             required => !!1,
18             );
19              
20             sub syllables {
21 4071     4071 0 188380 return 0;
22             }
23              
24 44     44 0 117 sub is_word { !!0 }
25              
26             with 'Lingua::Poetry::Haiku::Finder::SentencePart';
27              
28             1;