blib/lib/Acme/WTF.pm

filter: Statementstmt 71.4% 10 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 100% 2 / 2 totaltotal 71.4% 15 / 21 CC 2 SCAR 9.8
CC
2
Cov
71%
sum
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.7
↑ Summary
1 package Acme::WTF;
2  
3 2 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 NAME
8  
9 Acme::WTF - The great new Acme::WTF!
10  
11 =head1 VERSION
12  
13 Version 0.03
14  
15 =cut
16  
17 2 our $VERSION = '0.03';
18  
19  
20 =head1 SYNOPSIS
21  
22 Quick summary of what the module does.
23  
24 Perhaps a little code snippet.
25  
26 use Acme::WTF;
27  
28 my $foo = Acme::WTF->new();
29 ...
30  
31 =head1 EXPORT
32  
33 A list of functions that can be exported. You can delete this section
34 if you don't export anything, such as for a purely object-oriented module.
35  
36 =head1 SUBROUTINES/METHODS
37  
38 =head2 sum( LIST_OF_NUMBERS )
39  
40 Returns the sum of the numbers.
41  
42 =cut
43  
44 0 ▶sub sum {
Subroutine sum: not called CC=2 SCAR=17.9
Pod documented
45 0 my $sum = 0;
46 0 foreach( @_ ) { $sum += $_ }
47 0 return $sum;
48 }
49  
50 =head2 function2
51  
52 =cut
53  
54 0 ▶sub function2 {
Subroutine function2: not called CC=1 SCAR=0.0
Pod documented
55 }
56  
57 =head1 AUTHOR
58  
59 Marcus Del Greco, C<< <marcus at mindmined.com> >>
60  
61 =head1 BUGS
62  
63 Please report any bugs or feature requests to C<bug-acme-wtf at rt.cpan.org>, or through
64 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Acme-WTF>. I will be notified, and then you'll
65 automatically be notified of progress on your bug as I make changes.
66  
67  
68  
69  
70 =head1 SUPPORT
71  
72 You can find documentation for this module with the perldoc command.
73  
74 perldoc Acme::WTF
75  
76  
77 You can also look for information at:
78  
79 =over 4
80  
81 =item * RT: CPAN's request tracker (report bugs here)
82  
83 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Acme-WTF>
84  
85 =item * AnnoCPAN: Annotated CPAN documentation
86  
87 L<http://annocpan.org/dist/Acme-WTF>
88  
89 =item * CPAN Ratings
90  
91 L<http://cpanratings.perl.org/d/Acme-WTF>
92  
93 =item * Search CPAN
94  
95 L<http://search.cpan.org/dist/Acme-WTF/>
96  
97 =back
98  
99  
100 =head1 ACKNOWLEDGEMENTS
101  
102  
103 =head1 LICENSE AND COPYRIGHT
104  
105 Copyright 2012 Marcus Del Greco.
106  
107 This program is free software; you can redistribute it and/or modify it
108 under the terms of either: the GNU General Public License as published
109 by the Free Software Foundation; or the Artistic License.
110  
111 See http://dev.perl.org/licenses/ for more information.
112  
113  
114 =cut
115  
116 2 1; # End of Acme::WTF
↑ Summary