File Coverage

blib/lib/App/EventStreamr/IngestTest.pm
Criterion Covered Total %
statement 10 13 76.9
branch 0 2 0.0
condition n/a
subroutine 4 5 80.0
pod n/a
total 14 20 70.0


line stmt bran cond sub pod time code
1             package App::EventStreamr::IngestTest;
2 1     1   817 use Method::Signatures;
  1         3  
  1         12  
3 1     1   419 use Moo;
  1         3  
  1         5  
4 1     1   316 use namespace::clean;
  1         1  
  1         5  
5              
6             # ABSTRACT: A Test Ingest Process
7              
8             our $VERSION = '0.3'; # VERSION: Generated by DZP::OurPkg:Version
9              
10              
11             extends 'App::EventStreamr::Process';
12              
13             has 'cmd' => ( is => 'ro', lazy => 1, builder => 1 );
14             has 'id' => ( is => 'ro', required => 1 );
15             has 'device' => ( is => 'ro', required => 1 );
16             has 'type' => ( is => 'ro', default => sub { 'IngestTest' } );
17              
18 1 0   1   1150 method _build_cmd() {
  0     0      
  0            
19 0           return 'ping 127.0.0.1';
20             }
21              
22             1;
23              
24             __END__
25              
26             =pod
27              
28             =encoding UTF-8
29              
30             =head1 NAME
31              
32             App::EventStreamr::IngestTest - A Test Ingest Process
33              
34             =head1 VERSION
35              
36             version 0.3
37              
38             =head1 SYNOPSIS
39              
40             This Provides a Test ingest process.
41              
42             =head1 DESCRIPTION
43              
44             This largely extends L<App::EventStreamr::Process>.
45              
46             =head1 AUTHOR
47              
48             Leon Wright < techman@cpan.org >
49              
50             =head1 COPYRIGHT AND LICENSE
51              
52             This software is Copyright (c) 2014 by Leon Wright.
53              
54             This is free software, licensed under:
55              
56             The GNU Affero General Public License, Version 3, November 2007
57              
58             =cut