ProgressMonitor/SetMessageFlags.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ProgressMonitor/Exceptions.pm ↑ Summary ProgressMonitor/State.pm »
1 package ProgressMonitor::SetMessageFlags;
2
3 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5
6 # This defines the values used to indicate when SetMessage should occur
7 #
8
9 10 ▶use Exporter qw(import);
Subroutine BEGIN: called CC=1 SCAR=0.0
10 10 our @EXPORT = qw(SM_NOW SM_PREPARE SM_BEGIN SM_TICK SM_END);
11
12 # This is the default - 'set the message now'
13 #
14 sub SM_NOW () { 0 }
15
16 # Set the message when prepare is called
17 #
18 sub SM_PREPARE () { 1 }
19
20 # Set the message when begin is called
21 #
22 sub SM_BEGIN () { 2 }
23
24 # Set the message when next tick is called
25 #
26 sub SM_TICK () { 3 }
27
28 # Set the message when end is called
29 #
30 sub SM_END () { 4 }
31
32 10 1;
« ProgressMonitor/Exceptions.pm ↑ Summary ProgressMonitor/State.pm »