Test/Page/Text.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.4% 21 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Test/Form/Widget/Button/Submit.pm ↑ Summary
1 package CGI::Test::Page::Text;
2 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 ####################################################################
5 # $Id: Text.pm 411 2011-09-26 11:19:30Z nohuhu@nohuhu.org $
6 # $Name: cgi-test_0-104_t1 $
7 ####################################################################
8 #
9 # Copyright (c) 2001, Raphael Manfredi
10 #
11 # You may redistribute only under the terms of the Artistic License,
12 # as specified in the README file that comes with the distribution.
13 #
14  
15 8 ▶use CGI::Test::Page::Real;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 8 ▶use base qw(CGI::Test::Page::Real);
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 #
19 # ->new
20 #
21 # Creation routine
22 #
23 sub new
24 12 ▶{
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
25 12 my $this = bless {}, shift;
26 12 $this->_init(@_);
27 12 return $this;
28 }
29  
30 #
31 # Attribute access
32 #
33  
34 8 1;
35  
36 =head1 NAME
37  
38 CGI::Test::Page::Text - A text page reply
39  
40 =head1 SYNOPSIS
41  
42 # Inherits from CGI::Test::Page::Real
43  
44 =head1 DESCRIPTION
45  
46 This class represents an HTTP reply containing C<text/plain> data.
47 Its interface is the same as the one described in L<CGI::Test::Page::Real>.
48  
49 =head1 AUTHORS
50  
51 The original author is Raphael Manfredi.
52  
53 Steven Hilton was long time maintainer of this module.
54  
55 Current maintainer is Alexander Tokarev F<E<lt>tokarev@cpan.orgE<gt>>.
56  
57 =head1 SEE ALSO
58  
59 CGI::Test::Page::Real(3).
60  
61 =cut
62  
« Test/Form/Widget/Button/Submit.pm ↑ Summary