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

polserver / polserver / 16683711876

01 Aug 2025 07:40PM UTC coverage: 59.756% (-0.03%) from 59.79%
16683711876

push

github

web-flow
use c++20 (#799)

* use c++20
* increased used clang version
* compiler report and logfacility use now compile time formatting, which
means that the formatstring gets checked at compile time. (which found 2 errors)
adapted a few places since report only accepts formatting arguments
adapted a few places with logging since char[] is compile time
formatting and string or chr* is runtime formatting
* use std::ranges instead of boost
* disabled pragma_assume vs specific macro (I guess noone cares)
* needed to fix ancient ms exception code
* modernized SpinLock
* removed unused code in ECompile
* replaced std::filesystem::path::u8string with string. It now returns an actual u8string type
* cleanup layers.h added the defines for other layers which where before
  only defined in the pkt
* osmod::OpenConnection and HTTPRequest cleanup: early outs, dont check for pChild which is
  only needed for startscript and placed suspend at the very last
  position

* fix warning

* rebuild cache with new compiler version

* define c++ standard for external libs where possible

* added fixme

156 of 212 new or added lines in 26 files covered. (73.58%)

45 existing lines in 19 files now uncovered.

43621 of 72999 relevant lines covered (59.76%)

409874.73 hits per line

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

87.5
/pol-core/bscript/compiler/ast/JumpStatement.cpp
1
#include "JumpStatement.h"
2

3

4
#include "NodeVisitor.h"
5

6
namespace Pol::Bscript::Compiler
7
{
8
JumpStatement::JumpStatement( const SourceLocation& source_location, JumpType jump_type,
646✔
9
                              std::string label )
646✔
10
    : Statement( source_location ),
11
      jump_type( jump_type ),
646✔
12
      label( std::move( label ) ),
646✔
13
      flow_control_label(),
646✔
14
      local_variables_to_remove( 0 )
646✔
15
{
16
}
646✔
17

18
void JumpStatement::accept( NodeVisitor& visitor )
3,290✔
19
{
20
  visitor.visit_jump_statement( *this );
3,290✔
21
}
3,290✔
22

23
void JumpStatement::describe_to( std::string& w ) const
2✔
24
{
UNCOV
25
  fmt::format_to( std::back_inserter( w ), "{}",
×
26
                  ( jump_type == Break ? "break-statement" : "continue-statement" ) );
2✔
27
  if ( !label.empty() )
2✔
28
    fmt::format_to( std::back_inserter( w ), "({})", label );
×
29
}
2✔
30

31
}  // namespace Pol::Bscript::Compiler
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