Proxy/BodyFilter/complete.pm

filter: Statementstmt 100% 23 / 23 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 2 / 2 totaltotal 100% 34 / 34 CC 2 SCAR 2.2
CC
2
Cov
100%
filter
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Proxy/BodyFilter.pm ↑ Summary
1 package HTTP::Proxy::BodyFilter::complete;
2 3 $HTTP::Proxy::BodyFilter::complete::VERSION = '0.304';
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use HTTP::Proxy;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use HTTP::Proxy::BodyFilter;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use vars qw( @ISA );
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 @ISA = qw( HTTP::Proxy::BodyFilter );
8 3 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 6 ▶sub filter {
Subroutine filter: called CC=2 SCAR=6.9
Pod documented
11 6 my ( $self, $dataref, $message, $protocol, $buffer ) = @_;
12 6 ▶ return unless defined $buffer;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $buffer 1 5 6
13  
14 5 $$buffer = $$dataref;
15 5 $$dataref = "";
16 }
17  
18 4 ▶sub will_modify { 0 }
Subroutine will_modify: called CC=1 SCAR=0.0
Pod documented
19  
20 3 1;
21  
22 __END__
« Proxy/BodyFilter.pm ↑ Summary