File Coverage

blib/lib/Devel/TypeCheck/Type/Dv.pm
Criterion Covered Total %
statement 15 17 88.2
branch n/a
condition n/a
subroutine 5 7 71.4
pod 2 2 100.0
total 22 26 84.6


line stmt bran cond sub pod time code
1             package Devel::TypeCheck::Type::Dv;
2              
3 1     1   1525 use strict;
  1         4  
  1         37  
4 1     1   5 use Carp;
  1         2  
  1         68  
5              
6 1     1   7 use Devel::TypeCheck::Type;
  1         2  
  1         34  
7 1     1   7 use Devel::TypeCheck::Util;
  1         2  
  1         88  
8 1     1   642 use Devel::TypeCheck::Type::TTerm;
  1         3  
  1         140  
9              
10             =head1 NAME
11              
12             Devel::TypeCheck::Type::Dv - Terminal type representing double float
13             numerical values.
14              
15             =head1 SYNOPSIS
16              
17             use Devel::TypeCheck::Type::Dv;
18              
19             =head1 DESCRIPTION
20              
21             Inherits from Devel::TypeCheck::Type::TTerm.
22              
23             =cut
24             our @ISA = qw(Devel::TypeCheck::Type::TTerm);
25              
26             # **** INSTANCE ****
27              
28             sub type {
29 0     0 1   return Devel::TypeCheck::Type::DV();
30             }
31              
32             sub pretty {
33 0     0 1   return "DOUBLE FLOAT";
34             }
35              
36             TRUE;
37              
38             =head1 AUTHOR
39              
40             Gary Jackson, C<< >>
41              
42             =head1 BUGS
43              
44             This version is specific to Perl 5.8.1. It may work with other
45             versions that have the same opcode list and structure, but this is
46             entirely untested. It definitely will not work if those parameters
47             change.
48              
49             Please report any bugs or feature requests to
50             C, or through the web interface at
51             L.
52             I will be notified, and then you'll automatically be notified of progress on
53             your bug as I make changes.
54              
55             =head1 COPYRIGHT & LICENSE
56              
57             Copyright 2005 Gary Jackson, all rights reserved.
58              
59             This program is free software; you can redistribute it and/or modify it
60             under the same terms as Perl itself.
61              
62             =cut