Ternary/TAPI27.pm

filter: Statementstmt 77.7% 14 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 100% 1 / 1 totaltotal 79.1% 19 / 24 CC 1 SCAR 1.8
CC
1
Cov
78%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Ternary/TAPI_9.pm ↑ Summary Ternary/Calculator/Version.pm »
1 # Copyright (c) 2012-2017 Martin Becker, Blaubeuren. All rights reserved.
2 # This package is free software; you can redistribute it and/or modify it
3 # under the same terms as Perl itself.
4  
5 package Math::Logic::Ternary::TAPI27;
6  
7 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Carp qw(croak);
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use Math::BigInt try => 'GMP,Pari';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 our $VERSION = '0.004';
13  
14 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
15 0 my ($class, @trits) = @_;
16 0 croak "$class: class not yet fully implemented";
17 0 return bless [map { $_->Trits } @trits], $class;
18 }
19  
20 1 1;
21 __END__
« Ternary/TAPI_9.pm ↑ Summary Ternary/Calculator/Version.pm »