BetaGUI.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 83.3% 10 / 12 CC 1 SCAR 0.9
CC
1
Cov
78%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« BetaGUI/BetaGUIListener.pm ↑ Summary
1 package Ogre::BetaGUI;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 our $VERSION = '0.04';
7  
8 0 ▶use Ogre 0.36; # can only be used in an Ogre app
Subroutine BEGIN: called CC=1 SCAR=2.6
9  
10  
11 # the rest is for exporting the constants of the 'wt' enum (not really even used...)
12  
13 require Exporter;
14 unshift @Ogre::BetaGUI::ISA, 'Exporter';
15  
16 use constant {
17 NONE => 0,
18 MOVE => 1,
19 RESIZE => 2,
20 RESIZE_AND_MOVE => 3,
21 };
22  
23 our %EXPORT_TAGS = (
24 wt => [qw(NONE MOVE RESIZE RESIZE_AND_MOVE)],
25 );
26 $EXPORT_TAGS{'all'} = [ map { @{ $EXPORT_TAGS{$_} } } keys %EXPORT_TAGS ];
27 our @EXPORT_OK = @{ $EXPORT_TAGS{'all'} };
28 our @EXPORT = ();
29  
30  
31 1;
« BetaGUI/BetaGUIListener.pm ↑ Summary