WSDL/Doc.pm

filter: Statementstmt 100% 16 / 16 Branchbran 100% 4 / 4 Conditioncond 100% 2 / 2 MC/DCmcdc 100% 1 / 1 Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 28 / 28 CC 4 SCAR 10.0
CC
4
Cov
100%
new
4.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.7
« WSDL/Utils.pm ↑ Summary WSDL/Fault.pm »
1 package Pod::WSDL::Doc;
2 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 8 ▶use Pod::WSDL::AUTOLOAD;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 8 our $VERSION = "0.05";
8 8 our @ISA = qw/Pod::WSDL::AUTOLOAD/;
9 7 ▶sub new {
Subroutine new: called CC=4 SCAR=13.9
Pod documented
10 7 my ($pkg, $str) = @_;
11  
12 7 ▶ defined $str or $str = ''; # avoids warnings
Branch: 1 branch
BranchTrueFalseTotal
defined $str or $str = "" 6 1 7
13 7 ▶ $str =~ /\s*_DOC\s*(.*)/ or die "_DOC statements must have structure '_DOC <text>', like '_DOC This is my documentation'";
Branch: 1 branch
BranchTrueFalseTotal
$str =~ /\s*_DOC\s*(.*)/ or die "_DOC statements must have structure '_DOC <text>', like '_DOC This is my documentation'" 5 2 7
14
15 5 ▶ bless {
Condition100%2/2
$1 || ''
l!l
41
MC/DC100%1/1
$1 || ''
$1
Truth table100%2/2
A
A= $1
Aresult
11
00
16 _descr => $1 || '',
17 }, $pkg;
18 }
19  
20 8 1;
21 __END__
« WSDL/Utils.pm ↑ Summary WSDL/Fault.pm »