Tanker/Plugin/Log.pm

filter: Statementstmt 83.3% 20 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 1 totaltotal 81.2% 26 / 32 CC 1 SCAR 1.3
CC
1
Cov
83%
handle
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Tanker/RequestGenerator/IRC.pm ↑ Summary
1 package Tanker::Plugin::Log;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Tanker::Request;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Tanker::Plugin;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use vars qw(@ISA);
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 @ISA = qw (Tanker::Plugin);
11  
12  
13 sub handle ($$)
14 0 ▶{
Subroutine handle: not called CC=1 SCAR=6.9
Pod undocumented
15 0 my ($self, $request) = @_;
16
17 0 sleep (rand(10));
18 0 print STDERR Dumper $request;
19 0 print STDERR "\n\n";
20  
21 }
22  
23  
24  
25  
26 1 1;
27 __END__
« Tanker/RequestGenerator/IRC.pm ↑ Summary