lpOD.pm

filter: Statementstmt 88.2% 15 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 91.3% 21 / 23 CC 1 SCAR 0.5
CC
1
Cov
88%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lpOD/Element.pm ↑ Summary lpOD/TextElement.pm »
1 #=============================================================================
2 #
3 # Copyright (c) 2010 Ars Aperta, Itaapy, Pierlis, Talend.
4 # Copyright (c) 2014 Jean-Marie Gouarné.
5 # Author: Jean-Marie Gouarné <jean-marie.gouarne@online.fr>
6 #
7 #=============================================================================
8 2 ▶use 5.010_001;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 #=============================================================================
11 # The main module for the lpOD Project
12 #=============================================================================
13 package ODF::lpOD;
14 # This is the "master" version number for the whole package
15 our $VERSION = "2.100";
16 2 ▶use constant PACKAGE_DATE => "2026-02-01T20:00:00";
Subroutine BEGIN: called CC=1 SCAR=0.0
17 2 ▶use ODF::lpOD::Common;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 #-----------------------------------------------------------------------------
19 2 ▶use ODF::lpOD::Document;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 0 ▶use ODF::lpOD::TextElement;
Subroutine BEGIN: called CC=1 SCAR=2.6
21 use ODF::lpOD::Field;
22 use ODF::lpOD::StructuredContainer;
23 use ODF::lpOD::Table;
24 use ODF::lpOD::Style;
25 use ODF::lpOD::Attributes;
26 #-----------------------------------------------------------------------------
27 use base 'Exporter';
28 our @EXPORT = ();
29 push @EXPORT, @ODF::lpOD::Common::EXPORT;
30 #=============================================================================
31  
32 BEGIN
33 {
34 my $lpod_pm_path = $INC{'ODF/lpOD.pm'} // "";
35 $lpod_pm_path =~ s/\.pm$//;
36 $ODF::lpOD::Common::INSTALLATION_PATH = $lpod_pm_path;
37 load_color_map;
38 }
39  
40 #=============================================================================
41 1;
« lpOD/Element.pm ↑ Summary lpOD/TextElement.pm »