File Coverage

blib/lib/SpeL/Object/MathEnvironmentSimple.pm
Criterion Covered Total %
statement 21 24 87.5
branch n/a
condition n/a
subroutine 7 8 87.5
pod 1 1 100.0
total 29 33 87.8


line stmt bran cond sub pod time code
1             # -*- cperl -*-
2             # ABSTRACT: LaTeX mathenvironmentsimple object
3              
4              
5 41     41   246 use strict;
  41         111  
  41         1857  
6 41     41   199 use warnings;
  41         134  
  41         2545  
7             package SpeL::Object::MathEnvironmentSimple;
8              
9 41     41   235 use SpeL::Object::Option;
  41         81  
  41         2208  
10 41     41   242 use SpeL::Object::MathElementList;
  41         94  
  41         1747  
11              
12 41     41   223 use parent 'Exporter';
  41         100  
  41         1446  
13 41     41   2690 use Carp;
  41         100  
  41         3357  
14              
15 41     41   261 use Data::Dumper;
  41         94  
  41         5185  
16              
17              
18              
19             sub read {
20 0     0 1   my $self = shift;
21 0           my ( $level ) = @_;
22              
23 0           return $self->{MathUnit}->read( $level + 1 );;
24             }
25              
26              
27              
28             1;
29              
30             __END__