Tie/Cycle.pm

filter: Statementstmt 90.9% 10 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 87.5% 14 / 16 CC 1 SCAR 2.2
CC
1
Cov
91%
do_nothing
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Acme/SGABRIEL/Utils/Test.pm ↑ Summary
1 package Tie::Cycle;
2  
3 3 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 NAME
8  
9 Tie::Cycle - Test an erroneous upload (Intermediate Perl, Exercise )
10  
11 =head1 VERSION
12  
13 Version 0.01
14  
15 =cut
16  
17 3 our $VERSION = '0.01';
18  
19  
20 =head1 SYNOPSIS
21  
22 Does nothing useful (to save space rather than copy the legit code)
23  
24 =head1 SUBROUTINES/METHODS
25  
26 =head2 do_nothing (no parameters allowed)
27  
28 Does nothing, successfully
29  
30 =cut
31  
32 sub do_nothing()
33 0 ▶{
Subroutine do_nothing: not called CC=1 SCAR=6.9
Pod documented
34 0 return 1;
35 }
36  
37  
38 =head1 AUTHOR
39  
40 Gabriel Sharp, C<< <osirisgothra at hotmail.com> >>
41  
42 =head1 BUGS
43  
44 Please report any bugs or feature requests to C<bug-acme::sgabriel::utils at rt.cpan.org>, or through
45 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Acme::SGABRIEL::Utils>. I will be notified, and then you'll
46 automatically be notified of progress on your bug as I make changes.
47  
48  
49  
50  
51 =head1 SUPPORT
52  
53 You can find documentation for this module with the perldoc command.
54  
55 perldoc Tie::Cycle
56  
57  
58 You can also look for information at:
59  
60 =over 4
61  
62 =item * RT: CPAN's request tracker (report bugs here)
63  
64 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Acme::SGABRIEL::Utils>
65  
66 =item * AnnoCPAN: Annotated CPAN documentation
67  
68 L<http://annocpan.org/dist/Acme::SGABRIEL::Utils>
69  
70 =item * CPAN Ratings
71  
72 L<http://cpanratings.perl.org/d/Acme::SGABRIEL::Utils>
73  
74 =item * Search CPAN
75  
76 L<http://search.cpan.org/dist/Acme::SGABRIEL::Utils/>
77  
78 =back
79  
80  
81 =head1 ACKNOWLEDGEMENTS
82  
83 See the book "Intermediate Perl" by Brian d Foy, etc for the reasoning for this module
84  
85 =head1 LICENSE AND COPYRIGHT
86  
87 Copyright 2014 Gabriel Sharp.
88  
89 This program is free software; you can redistribute it and/or modify it
90 under the terms of the the Artistic License (2.0). You may obtain a
91 copy of the full license at:
92  
93 L<http://www.perlfoundation.org/artistic_license_2_0>
94  
95 Any use, modification, and distribution of the Standard or Modified
96 Versions is governed by this Artistic License. By using, modifying or
97 distributing the Package, you accept this license. Do not use, modify,
98 or distribute the Package, if you do not accept this license.
99  
100 If your Modified Version has been derived from a Modified Version made
101 by someone other than you, you are nevertheless required to ensure that
102 your Modified Version complies with the requirements of this license.
103  
104 This license does not grant you the right to use any trademark, service
105 mark, tradename, or logo of the Copyright Holder.
106  
107 This license includes the non-exclusive, worldwide, free-of-charge
108 patent license to make, have made, use, offer to sell, sell, import and
109 otherwise transfer the Package with respect to any patent claims
110 licensable by the Copyright Holder that are necessarily infringed by the
111 Package. If you institute patent litigation (including a cross-claim or
112 counterclaim) against any party alleging that the Package constitutes
113 direct or contributory patent infringement, then this Artistic License
114 to you shall terminate on the date that such litigation is filed.
115  
116 Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER
117 AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
118 THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
119 PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY
120 YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR
121 CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR
122 CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE,
123 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
124  
125  
126 =cut
127  
128 3 1; # End of Tie::Cycle
« Acme/SGABRIEL/Utils/Test.pm ↑ Summary