blib/lib/Acme/SOAP/Dodger.pm

filter: Statementstmt 100% 17 / 17 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 23 / 23 CC 3 SCAR 6.9
CC
3
Cov
100%
import
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
↑ Summary
1 package Acme::SOAP::Dodger;
2  
3 =head1 NAME
4  
5 Acme::SOAP::Dodger - be a hippy
6  
7 =head1 SYNOPSIS
8  
9 use Acme::SOAP::Dodger;
10  
11 =head1 DESCRIPTION
12  
13 I hate SOAP. You hate SOAP. So don't use SOAP.
14  
15 =head1 Why, dear God, why?
16  
17 I was having a discussion on why SOAP sucked. And it lent itself to amusing
18 jokes and japes. Oh, what witty people programmers are, eh? This was
19 constructed in a few minutes. No doubt there are cleverer ways of doing it. I
20 don't care. I am too busy being a hater.
21  
22 =cut
23  
24 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 1 our $VERSION = 0.002;
28  
29 1 ▶use Symbol qw/delete_package/;
Subroutine BEGIN: called CC=1 SCAR=0.0
30  
31 1 ▶sub import {
Subroutine import: called CC=3 SCAR=11.0
32 1 for my $mod (keys %INC) {
33 150 ▶ do {
Branch: 1 branch
BranchTrueFalseTotal
if ($mod =~ /^SOAP/) 1 149 150
34 1 delete $INC{$mod};
35 1 $mod =~ s/\.pm$//; $mod =~ s/\//::/g;
36 1 delete_package($mod);
37 } if $mod =~ m/^SOAP/;
38 }
39 }
40  
41 =head1 AUTHOR
42  
43 Stray Taoist E<lt>F<mwk@strayLALAtoaster.co.uk>E<gt>
44  
45 Take out the Tellytubby if you particularly feel inclined to mail me.
46  
47 =head1 COPYRIGHT
48  
49 Copyright (c) 2007 StrayTaoist
50  
51 This module is free software; you can redistribute it or modify it
52 under the same terms as Perl itself.
53  
54 =head1 STUFF
55  
56 o things
57  
58 =head1 THINGS
59  
60 o stuff
61  
62 =cut
63  
64 1 return qw/Get a haircut son you look like a godamned girl/;
↑ Summary