blib/lib/App/XML/DocBook/Docmake/CmdComponent.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package App::XML::DocBook::Docmake::CmdComponent; | ||||||
2 | $App::XML::DocBook::Docmake::CmdComponent::VERSION = '0.1100'; | ||||||
3 | 1 | 1 | 9 | use strict; | |||
1 | 2 | ||||||
1 | 29 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 3 | ||||||
1 | 34 | ||||||
5 | |||||||
6 | use Class::XSAccessor { | ||||||
7 | 1 | 7 | accessors => [ | ||||
8 | |||||||
9 | qw( | ||||||
10 | is_input | ||||||
11 | is_output | ||||||
12 | ) | ||||||
13 | ] | ||||||
14 | 1 | 1 | 492 | }; | |||
1 | 2324 | ||||||
15 | |||||||
16 | sub new | ||||||
17 | { | ||||||
18 | 25 | 25 | 1 | 54 | my ( $class, $self ) = @_; | ||
19 | 25 | 111 | return bless $self, $class; | ||||
20 | } | ||||||
21 | |||||||
22 | 1; | ||||||
23 | |||||||
24 | __END__ |