• 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

70.0
/pol-core/bscript/continueimp.cpp
1
#include "continueimp.h"
2
#include "executor.h"
3

4

5
namespace Pol::Bscript
6
{
7
BContinuation::BContinuation( BObjectRef funcref, BObjectRefVec args,
790✔
8
                              ContinuationCallbackWrapper wrapper, void* wrapperData )
790✔
9
    : BObjectImp( BObjectImp::OTContinuation ),
10
      funcref_( std::move( funcref ) ),
790✔
11
      wrapper_( wrapper ),
790✔
12
      wrapperData_( wrapperData ),
790✔
13
      args( std::move( args ) )
1,580✔
14
{
15
}
790✔
16

17
BContinuation::~BContinuation()
1,580✔
18
{
19
  wrapper_.free( wrapperData_ );
790✔
20
}
1,580✔
21

22
BObjectImp* BContinuation::continueWith( Executor& exec, BObjectRef result )
35,890✔
23
{
24
  return wrapper_.call( exec, this, wrapperData_, std::move( result ) );
35,890✔
25
}
26

27
BFunctionRef* BContinuation::func()
70,990✔
28
{
29
  return funcref_->impptr<BFunctionRef>();
70,990✔
30
}
31

UNCOV
32
BObjectImp* BContinuation::copy() const
×
33
{
UNCOV
34
  return nullptr;
×
35
}
36

UNCOV
37
size_t BContinuation::sizeEstimate() const
×
38
{
UNCOV
39
  return sizeof( BContinuation ) + wrapper_.size();
×
40
}
41

UNCOV
42
std::string BContinuation::getStringRep() const
×
43
{
UNCOV
44
  return "<continuation>";
×
45
}
46
}  // 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