File Coverage

blib/lib/Perl6/Pod/Lex/FormattingCode.pm
Criterion Covered Total %
statement 15 15 100.0
branch 1 2 50.0
condition 1 3 33.3
subroutine 5 5 100.0
pod 0 1 0.0
total 22 26 84.6


line stmt bran cond sub pod time code
1             #===============================================================================
2             #
3             # DESCRIPTION: Base block
4             #
5             # AUTHOR: Aliaksandr P. Zahatski,
6             #===============================================================================
7             package Perl6::Pod::Lex::FormattingCode;
8 6     6   30 use strict;
  6         13  
  6         145  
9 6     6   61 use warnings;
  6         8  
  6         148  
10 6     6   507 use Perl6::Pod::Lex::Block;
  6         11  
  6         205  
11 6     6   29 use base 'Perl6::Pod::Lex::Block';
  6         10  
  6         841  
12             our $VERSION = '0.01';
13              
14             sub new {
15 14     14 0 22 my $class = shift;
16 14 50 33     91 my $self = bless( ( $#_ == 0 ) ? shift : {@_}, ref($class) || $class );
17 14         44 $self;
18             }
19              
20             1;
21              
22