File Coverage

blib/arch/Intertangle/API/Kiwisolver/Term.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 0 1 0.0
total 14 15 93.3


line stmt bran cond sub pod time code
1 8     8   53 use Renard::Incunabula::Common::Setup;
  8         16  
  8         54  
2             package Intertangle::API::Kiwisolver::Term;
3             # ABSTRACT: Kiwisolver term
4             $Intertangle::API::Kiwisolver::Term::VERSION = '0.001';
5 8     8   49140 use overload "fallback" => 0, '""' => \&stringify;
  8         24  
  8         62  
6              
7             sub stringify {
8 3     3 0 6 my ($self) = @_;
9 3         4 "(@{[ $self->coefficient ]} * @{[ $self->variable ]} : @{[ $self->value ]})"
  3         17  
  3         22  
  3         31  
10             }
11              
12             1;
13              
14             __END__
15              
16             =pod
17              
18             =encoding UTF-8
19              
20             =head1 NAME
21              
22             Intertangle::API::Kiwisolver::Term - Kiwisolver term
23              
24             =head1 VERSION
25              
26             version 0.001
27              
28             =head1 AUTHOR
29              
30             Zakariyya Mughal <zmughal@cpan.org>
31              
32             =head1 COPYRIGHT AND LICENSE
33              
34             This software is copyright (c) 2019 by Zakariyya Mughal.
35              
36             This is free software; you can redistribute it and/or modify it under
37             the same terms as the Perl 5 programming language system itself.
38              
39             =cut