Ternary.pm

filter: Statementstmt 100% 26 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 12 / 12 Podpod 100% 8 / 8 totaltotal 100% 46 / 46 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Ternary/Calculator/Version.pm ↑ Summary Ternary/Object.pm »
1 # Copyright (c) 2006-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;
6  
7 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 10 ▶use Math::Logic::Ternary::Trit;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 10 ▶use Math::Logic::Ternary::Word;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 10 require Exporter;
13  
14 10 our $VERSION = '0.004';
15 10 our @ISA = qw(Exporter);
16 10 our @EXPORT_OK = qw(
17 nil true false ternary_trit
18 word9 word27 word81 ternary_word
19 );
20 10 our %EXPORT_TAGS = (all => \@EXPORT_OK);
21  
22 76 ▶sub nil { Math::Logic::Ternary::Trit->nil }
Subroutine nil: called CC=1 SCAR=0.0
Pod documented
23 37 ▶sub true { Math::Logic::Ternary::Trit->true }
Subroutine true: called CC=1 SCAR=0.0
Pod documented
24 39 ▶sub false { Math::Logic::Ternary::Trit->false }
Subroutine false: called CC=1 SCAR=0.0
Pod documented
25 1 ▶sub ternary_trit { Math::Logic::Ternary::Trit->from_various(@_) }
Subroutine ternary_trit: called CC=1 SCAR=0.0
Pod documented
26  
27 23 ▶sub word9 { Math::Logic::Ternary::Word->from_various( 9, @_) }
Subroutine word9: called CC=1 SCAR=0.0
Pod documented
28 1 ▶sub word27 { Math::Logic::Ternary::Word->from_various(27, @_) }
Subroutine word27: called CC=1 SCAR=0.0
Pod documented
29 2 ▶sub word81 { Math::Logic::Ternary::Word->from_various(81, @_) }
Subroutine word81: called CC=1 SCAR=0.0
Pod documented
30 432 ▶sub ternary_word { Math::Logic::Ternary::Word->from_various( @_) }
Subroutine ternary_word: called CC=1 SCAR=0.0
Pod documented
31  
32 10 1;
33 __END__
« Ternary/Calculator/Version.pm ↑ Summary Ternary/Object.pm »