| blib/lib/Moses/Declare.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| statement | 1 | 3 | 33.3 | 
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 | 
| pod | n/a | ||
| total | 2 | 4 | 50.0 | 
| line | stmt | bran | cond | sub | pod | time | code | 
|---|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 15743 | use MooseX::Declare; | |||
| 0 | |||||||
| 0 | |||||||
| 2 | |||||||
| 3 | class Moses::Declare extends MooseX::Declare { | ||||||
| 4 | use aliased 'Moses::Declare::Syntax::BotKeyword'; | ||||||
| 5 | use aliased 'Moses::Declare::Syntax::PluginKeyword'; | ||||||
| 6 | around keywords( ClassName $self: ) { | ||||||
| 7 | $self->$orig, | ||||||
| 8 | BotKeyword->new( identifier => 'bot' ), | ||||||
| 9 | PluginKeyword->new( identifier => 'plugin' ), | ||||||
| 10 | }; | ||||||
| 11 | } | ||||||
| 12 | |||||||
| 13 | __END__ |