blib/lib/MarpaX/Languages/PowerBuilder/PBR.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 3 | 0.0 |
total | 13 | 16 | 81.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package MarpaX::Languages::PowerBuilder::PBR; | ||||||
2 | 2 | 2 | 2029 | use base qw(MarpaX::Languages::PowerBuilder::base); | |||
2 | 4 | ||||||
2 | 482 | ||||||
3 | |||||||
4 | #a PBR parser by Nicolas Georges | ||||||
5 | |||||||
6 | sub resources{ | ||||||
7 | 1 | 1 | 0 | 33 | my ($ppa, @items) = @_; | ||
8 | 1 | 3 | return \@items; | ||||
9 | } | ||||||
10 | |||||||
11 | sub lib_entry{ | ||||||
12 | 1 | 1 | 0 | 35 | my ($ppa, $lib, $entry) = @_; | ||
13 | 1 | 4 | return { lib => $lib, entry => $entry }; | ||||
14 | } | ||||||
15 | |||||||
16 | sub file{ | ||||||
17 | 2 | 2 | 0 | 2284 | my ($ppa, $file) = @_; | ||
18 | 2 | 6 | return { file => $file }; | ||||
19 | } | ||||||
20 | |||||||
21 | 1; | ||||||
22 |