dbMan/Extension/OutputQuiet.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran 0.0% 0 / 2 Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 33 CC 2 SCAR 11.5
CC
2
Cov
0%
handle_action
6.0
IDENTIFICATION
2.0
preference
2.0
CRAP 3.1
1 package DBIx::dbMan::Extension::OutputQuiet;
2  
3 use strict;
4 use base 'DBIx::dbMan::Extension';
5  
6 our $VERSION = '0.02';
7  
8 1;
9  
10 sub IDENTIFICATION { return "000001-000081-000002"; }
11  
12 sub preference { return -45; }
13  
14 sub known_actions { return [ qw/OUTPUT/ ]; }
15  
16 sub handle_action {
17 my ($obj,%action) = @_;
18  
19 $action{processed} = 1;
20 $action{action} = 'NONE' if $action{action} eq 'OUTPUT' && $action{output_quiet};
21  
22 return %action;
23 }