File Coverage

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