blib/lib/SVN/Pusher/CmdLine.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 28 SCAR 24.8
CC
3
Cov
0%
report
12.0
BEGIN
2.0
BEGIN
2.0
CRAP 12.0
1 package SVN::Pusher::CmdLine;
2  
3 use strict;
4 use warnings;
5  
6 use 5.008;
7  
8 use base 'SVN::Pusher';
9  
10 sub report
11 {
12 my $self = shift;
13 my $spec = shift;
14  
15 my $op = $spec->{'op'};
16  
17 if ($op eq "file")
18 {
19 print sprintf(" %c %s\n", ord($spec->{'file_op'}), $spec->{'path'});
20 }
21 elsif ($op eq "msg")
22 {
23 print $spec->{'msg'} . "\n";
24 }
25 }
26  
27 1;