| lib/Perl6/Bible.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 8 | 12 | 66.6 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 5 | 60.0 |
| pod | 0 | 2 | 0.0 |
| total | 11 | 19 | 57.8 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Perl6::Bible; | ||||||
| 2 | 1 | 1 | 69336 | use 5.000; | |||
| 1 | 3 | ||||||
| 3 | 1 | 1 | 4 | use strict; | |||
| 1 | 3 | ||||||
| 1 | 21 | ||||||
| 4 | 1 | 1 | 4 | use File::Spec; | |||
| 1 | 2 | ||||||
| 1 | 108 | ||||||
| 5 | |||||||
| 6 | our $VERSION = '0.39'; | ||||||
| 7 | |||||||
| 8 | sub new { | ||||||
| 9 | 0 | 0 | 0 | my $class = shift; | |||
| 10 | 0 | bless({@_}, $class); | |||||
| 11 | } | ||||||
| 12 | |||||||
| 13 | sub process { | ||||||
| 14 | 0 | 0 | 0 | my $self = shift; | |||
| 15 | 0 | print <<_; | |||||
| 16 | |||||||
| 17 | This was the Perl 6 Canon up to December 2007. | ||||||
| 18 | Please install Perl6::Doc to have even more Perl 6 Documentation. | ||||||
| 19 | _ | ||||||
| 20 | } | ||||||
| 21 | |||||||
| 22 | __DATA__ |