lib/ProjectBuilder/Version.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 95.4% 21 / 22 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/ProjectBuilder/Log/Item.pm ↑ Summary
1 #!/usr/bin/perl -w
2 #
3 # Declare versions that will be used in pb
4 # Those are filtered with pb mecanism
5 # and have been isolated here to avoid unrelated effects
6 #
7 # Copyright B. Cornec 2007-2016
8 # Provided under the GPL v2
9 #
10 package ProjectBuilder::Version;
11  
12 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 # Inherit from the "Exporter" module which handles exporting functions.
15
16 3 ▶use vars qw($VERSION $REVISION @ISA @EXPORT);
Subroutine BEGIN: called CC=1 SCAR=0.0
17 3 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
18
19 # Export, by default, all the functions into the namespace of
20 # any code which uses this module.
21 3 our @ISA = qw(Exporter);
22 3 our @EXPORT = qw(pb_version_init);
23  
24 3 $VERSION = "0.14.1"."";
25 3 $REVISION = "2128";
26  
27 sub pb_version_init {
28  
29 5 ▶my $projectbuilderver = $VERSION;
Subroutine pb_version_init: called CC=1 SCAR=0.0
Pod undocumented
30 5 my $projectbuilderrev = $REVISION;
31  
32 5 return($projectbuilderver,$projectbuilderrev);
33 }
34 3 1;
« lib/ProjectBuilder/Log/Item.pm ↑ Summary