lib/CGI/OptimalQuery/CustomOutput.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 16 / 16 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/CGI/OptimalQuery/CSV.pm ↑ Summary lib/CGI/OptimalQuery/InteractiveFilter.pm »
1 package CGI::OptimalQuery::CustomOutput;
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 ▶no warnings qw( uninitialized );
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use base 'CGI::OptimalQuery::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 use CGI();
8  
9 our $custom_output_handler;
10  
11 sub output {
12 my $o = shift;
13 my $codeRef = $$o{custom_output_handler} || $custom_output_handler;
14 $codeRef->($o) if $codeRef;
15 $o->finish();
16 }
17  
18 1;
« lib/CGI/OptimalQuery/CSV.pm ↑ Summary lib/CGI/OptimalQuery/InteractiveFilter.pm »