SD/Replica/debbugs.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 34 CC 1 SCAR 6.9
CC
1
Cov
0%
BUILD
2.0
record_pushed_transactions
2.0
BEGIN
2.0
CRAP 2.0
1 package App::SD::Replica::debbugs;
2 use Any::Moose;
3 extends qw/App::SD::ForeignReplica/;
4  
5 use Params::Validate qw(:all);
6 use Memoize;
7  
8 use Prophet::ChangeSet;
9  
10 use constant scheme => 'debbugs';
11  
12 # FIXME: what should this actually be?
13 has debbugs => ( isa => 'Net::Debbugs', is => 'rw');
14 has remote_url => ( isa => 'Str', is => 'rw');
15 has debbugs_query => ( isa => 'Str', is => 'rw');
16  
17 =head2 BUILD
18  
19 Open a connection to the source identified by C<$self->{url}>.
20  
21 =cut
22  
23 sub BUILD {
24 my $self = shift;
25  
26 # require any specific libs needed by this foreign replica
27  
28 # parse the given url
29 # my ($foo, $bar, $baz) = $self->{url} =~ m/regex-here/
30  
31 # ...
32 }
33  
34 sub record_pushed_transactions {}
35  
36 __PACKAGE__->meta->make_immutable;
37 no Any::Moose;
38 1;