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   34 use strict;
  6         13  
  6         158  
9 6     6   61 use warnings;
  6         11  
  6         262  
10 6     6   546 use Perl6::Pod::Lex::Block;
  6         8  
  6         196  
11 6     6   31 use base 'Perl6::Pod::Lex::Block';
  6         9  
  6         862  
12             our $VERSION = '0.01';
13              
14             sub new {
15 14     14 0 21 my $class = shift;
16 14 50 33     85 my $self = bless( ( $#_ == 0 ) ? shift : {@_}, ref($class) || $class );
17 14         43 $self;
18             }
19              
20             1;
21              
22