• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

polserver / polserver / 25918451630

15 May 2026 12:43PM UTC coverage: 60.929% (+2.1%) from 58.859%
25918451630

push

github

turleypol
added dynamic property which returns a pointer of the object instead of
a copy like the current imp.
needed to be able to eg store a vector

43 of 61 new or added lines in 2 files covered. (70.49%)

14455 existing lines in 345 files now uncovered.

44695 of 73356 relevant lines covered (60.93%)

449621.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/pol-core/bscript/execmodl.cpp
1
/** @file
2
 *
3
 * @par History
4
 */
5

6

7
#include "execmodl.h"
8

9
#include <string>
10

11
#include "executor.h"
12

13

14
namespace Pol::Bscript
15
{
16
ExecutorModule::ExecutorModule( const char* moduleName, Executor& iExec )
20,944✔
17
    : exec( iExec ), moduleName( moduleName )
20,944✔
18
{
19
}
20,944✔
20

21
BObjectImp* ExecutorModule::getParamImp( unsigned param )
186✔
22
{
23
  return exec.getParamImp( param );
186✔
24
}
25
BObjectImp* ExecutorModule::getParamImp( unsigned param, BObjectImp::BObjectType type )
35✔
26
{
27
  return exec.getParamImp( param, type );
35✔
28
}
29
bool ExecutorModule::getParamImp( unsigned param, BObjectImp*& imp )
43✔
30
{
31
  imp = exec.getParamImp( param );
43✔
32
  return imp != nullptr;
43✔
33
}
34

35
const String* ExecutorModule::getStringParam( unsigned param )
22✔
36
{
37
  return exec.getStringParam( param );
22✔
38
}
UNCOV
39
BApplicObjBase* ExecutorModule::getApplicObjParam( unsigned param,
×
40
                                                   const BApplicObjType* object_type )
41
{
42
  return exec.getApplicObjParam( param, object_type );
×
43
}
44
bool ExecutorModule::getStringParam( unsigned param, const String*& pstr )
1,112✔
45
{
46
  return exec.getStringParam( param, pstr );
1,112✔
47
}
UNCOV
48
bool ExecutorModule::getUnicodeStringParam( unsigned param, const String*& pstr )
×
49
{
UNCOV
50
  return exec.getUnicodeStringParam( param, pstr );
×
51
}
52
bool ExecutorModule::getRealParam( unsigned param, double& value )
159✔
53
{
54
  return exec.getRealParam( param, value );
159✔
55
}
56
bool ExecutorModule::getObjArrayParam( unsigned param, ObjArray*& pobjarr )
134✔
57
{
58
  return exec.getObjArrayParam( param, pobjarr );
134✔
59
}
60

61
bool ExecutorModule::getParam( unsigned param, int& value )
1,063✔
62
{
63
  return exec.getParam( param, value );
1,063✔
64
}
65
bool ExecutorModule::getParam( unsigned param, int& value, int maxval )
9✔
66
{
67
  return exec.getParam( param, value, maxval );
9✔
68
}
69
bool ExecutorModule::getParam( unsigned param, int& value, int minval, int maxval )
242✔
70
{
71
  return exec.getParam( param, value, minval, maxval );
242✔
72
}
73

74
bool ExecutorModule::getParam( unsigned param, unsigned& value )
3✔
75
{
76
  return exec.getParam( param, value );
3✔
77
}
78

79
bool ExecutorModule::getParam( unsigned param, short& value )
295✔
80
{
81
  return exec.getParam( param, value );
295✔
82
}
UNCOV
83
bool ExecutorModule::getParam( unsigned param, short& value, short maxval )
×
84
{
UNCOV
85
  return exec.getParam( param, value, maxval );
×
86
}
UNCOV
87
bool ExecutorModule::getParam( unsigned param, short& value, short minval, short maxval )
×
88
{
UNCOV
89
  return exec.getParam( param, value, minval, maxval );
×
90
}
91

92
bool ExecutorModule::getParam( unsigned param, unsigned short& value )
75✔
93
{
94
  return exec.getParam( param, value );
75✔
95
}
UNCOV
96
bool ExecutorModule::getParam( unsigned param, unsigned short& value, unsigned short maxval )
×
97
{
UNCOV
98
  return exec.getParam( param, value, maxval );
×
99
}
100
bool ExecutorModule::getParam( unsigned param, unsigned short& value, unsigned short minval,
6,141✔
101
                               unsigned short maxval )
102
{
103
  return exec.getParam( param, value, minval, maxval );
6,141✔
104
}
105

106
bool ExecutorModule::getParam( unsigned param, bool& value )
3✔
107
{
108
  return exec.getParam( param, value );
3✔
109
}
110

UNCOV
111
const std::string& ExecutorModule::scriptname() const
×
112
{
UNCOV
113
  return exec.prog_->name;
×
114
}
115

116
size_t ExecutorModule::sizeEstimate() const
14,105✔
117
{
118
  return sizeof( *this );
14,105✔
119
}
120
}  // namespace Pol::Bscript
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc