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

polserver / polserver / 12937667606

23 Jan 2025 08:39PM UTC coverage: 57.971% (+0.2%) from 57.723%
12937667606

push

github

web-flow
more dead code from old compiler (#751)

0 of 3 new or added lines in 1 file covered. (0.0%)

2 existing lines in 2 files now uncovered.

41395 of 71407 relevant lines covered (57.97%)

383582.82 hits per line

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

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

6

7
#include <stdio.h>
8
#include <string.h>
9
#include <string>
10

11
#include "../clib/clib.h"
12
#include "../clib/logfacility.h"
13
#include "../clib/passert.h"
14
#include "../clib/rawtypes.h"
15
#include "../clib/stlutil.h"
16
#include "eprog.h"
17
/*#include "filefmt.h"
18
#include "fmodule.h"
19
#include "symcont.h"
20
#include "token.h"
21
#include "tokens.h"
22
*/
23
namespace Pol
24
{
25
namespace Bscript
26
{
UNCOV
27
std::string EScriptProgram::dbg_get_instruction( size_t atPC ) const
×
28
{
29
  OSTRINGSTREAM os;
×
30
  os << instr[atPC].token;
×
31
  return OSTRINGSTREAM_STR( os );
×
32
}
×
33

34
size_t EScriptProgram::sizeEstimate() const
194✔
35
{
36
  using namespace Clib;
37
  size_t size = sizeof( EScriptProgram );
194✔
38
  size += memsize( globalvarnames );
194✔
39
  for ( const auto& l : globalvarnames )
208✔
40
    size += l.capacity();
14✔
41
  size += memsize( dbg_filenames );
194✔
42
  for ( const auto& l : dbg_filenames )
206✔
43
    size += l.capacity();
12✔
44
  size += memsize( dbg_filenum ) + memsize( dbg_linenum ) + memsize( dbg_ins_blocks ) +
194✔
45
          memsize( dbg_ins_statementbegin ) + memsize( modules ) + memsize( exported_functions ) +
194✔
46
          memsize( instr ) + memsize( blocks ) + memsize( dbg_functions );
194✔
47

48
  return size;
194✔
49
}
50
}  // namespace Bscript
51
}  // namespace Pol
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