WADL/Utils.pm

filter: Statementstmt 88.2% 30 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 81.8% 9 / 11 Podpod 100% 1 / 1 totaltotal 86.9% 40 / 46 CC 1 SCAR 1.7
CC
1
Cov
88%
operation
2.0
__ANON__
2.0
BEGIN
1.0
CRAP 1.2
« WADL/XSD.pm ↑ Summary WADL/Document.pm »
1 package W3C::SOAP::WADL::Utils;
2  
3 # Created on: 2013-06-27 17:13:29
4 # Create by: Ivan Wills
5 # $Id$
6 # $Revision$, $HeadURL$, $Date$
7 # $Revision$, $Source$, $Date$
8  
9 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use Scalar::Util;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use List::Util;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use Data::Dumper qw/Dumper/;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶use English qw/ -no_match_vars /;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 ▶use W3C::SOAP::WADL::Meta::Method;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 1 Moose::Exporter->setup_import_methods(
20 with_meta => ['operation'],
21 );
22  
23 1 our $VERSION = version->new('0.007');
24  
25 0 ▶sub operation {
Subroutine operation: not called CC=1 SCAR=6.9
Pod documented
26 0 my ( $meta, $name, %options ) = @_;
27 $meta->add_method(
28 $name,
29 W3C::SOAP::WADL::Meta::Method->wrap(
30 0 ▶ body => sub { shift->_request($name => @_) },
Subroutine __ANON__: not called CC=1 SCAR=6.9
31 0 package_name => $meta->name,
32 name => $name,
33 %options,
34 )
35 );
36 0 return;
37 }
38  
39 1 1;
40  
41 __END__
« WADL/XSD.pm ↑ Summary WADL/Document.pm »