• 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

77.78
/pol-core/bscript/StoredToken.cpp
1
#include "StoredToken.h"
2

3
#include "../clib/logfacility.h"
4

5

6
namespace Pol::Bscript
7
{
8
StoredToken::StoredToken( unsigned char aModule, int aID, BTokenType aType, unsigned aOffset )
362,769✔
9
    : type( static_cast<unsigned char>( aType ) ),
362,769✔
10
      id( static_cast<unsigned char>( aID ) ),
362,769✔
11
      offset( static_cast<unsigned short>( aOffset ) ),
362,769✔
12
      module( aModule )
362,769✔
13
{
14
  if ( offset != aOffset )
362,769✔
15
  {
UNCOV
16
    ERROR_PRINTLN(
×
17
        "Data segment overflowed.\nFlog the programmer for using 2-byte offsets in datafiles." );
UNCOV
18
    throw std::runtime_error( "Data segment overflowed" );
×
19
  }
20
}
362,769✔
21

22
}  // 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