blib/lib/ACME/MBHall.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 100% 2 / 2 totaltotal 95.2% 20 / 21 CC 2 SCAR 2.9
CC
2
Cov
100%
sum
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
↑ Summary
1 package ACME::MBHall;
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;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 NAME
8  
9 ACME::MBHall - The great new ACME::MBHall!
10  
11 =head1 VERSION
12  
13 Version 0.03
14  
15 =cut
16  
17 3 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::MBHall;
27  
28 my $foo = ACME::MBHall->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 1 ▶sub sum {
Subroutine sum: called CC=2 SCAR=6.9
Pod documented
45 1 my $sum = 0;
46 1 foreach my $value (@_) {
47 2 $sum+=$value;
48 }
49 1 return $sum;
50 }
51  
52 =head2 function2
53  
54 =cut
55  
56 0 ▶sub function2 {
Subroutine function2: not called CC=1 SCAR=0.0
Pod documented
57 }
58  
59 =head1 AUTHOR
60  
61 Matthew Hall, C<< <MBHall at cpan.org> >>
62  
63 =head1 BUGS
64  
65 Please report any bugs or feature requests to C<bug-acme-mbhall at rt.cpan.org>, or through
66 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=ACME-MBHall>. I will be notified, and then you'll
67 automatically be notified of progress on your bug as I make changes.
68  
69  
70  
71  
72 =head1 SUPPORT
73  
74 You can find documentation for this module with the perldoc command.
75  
76 perldoc ACME::MBHall
77  
78  
79 You can also look for information at:
80  
81 =over 4
82  
83 =item * RT: CPAN's request tracker (report bugs here)
84  
85 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=ACME-MBHall>
86  
87 =item * AnnoCPAN: Annotated CPAN documentation
88  
89 L<http://annocpan.org/dist/ACME-MBHall>
90  
91 =item * CPAN Ratings
92  
93 L<http://cpanratings.perl.org/d/ACME-MBHall>
94  
95 =item * Search CPAN
96  
97 L<http://search.cpan.org/dist/ACME-MBHall/>
98  
99 =back
100  
101  
102 =head1 ACKNOWLEDGEMENTS
103  
104  
105 =head1 LICENSE AND COPYRIGHT
106  
107 Copyright 2012 Matthew Hall.
108  
109 This program is free software; you can redistribute it and/or modify it
110 under the terms of either: the GNU General Public License as published
111 by the Free Software Foundation; or the Artistic License.
112  
113 See http://dev.perl.org/licenses/ for more information.
114  
115  
116 =cut
117  
118 3 1; # End of ACME::MBHall
↑ Summary