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

jordanvrtanoski / luacpp
100%

Build:
DEFAULT BRANCH: main
Repo Added 28 Mar 2021 04:13PM UTC
Files 45
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • circleci-project-setup
  • feature/state-pooling-colored-pools
  • fix/bounds-checking-nullptr-modernization
  • fix/checkErrorAndThrow-linkage
  • fix/code-quality-and-security
  • fix_library_in_3pp
  • imp_coverage
  • main
  • testing
  • v0.1.0

19 Feb 2026 07:39PM UTC coverage: 100.0%. Remained the same
ab677b8a-c0d9-484c-a8b0-2a4cd882016e

push

circleci

web-flow
[IMP] Eliminate code duplication and fix critical security issue (#36)

* [IMP] Eliminate code duplication and fix critical security issue

- Add PoolTestUtils.hpp with shared helper functions for library checking
- Refactor TestStatePool.cpp and TestPoolManager.cpp to use shared helpers
- Add findPoolOrThrow() helper in PoolManager to reduce duplicate find+throw logic
- Add AcquireVerifyReleaseThree helper to eliminate remaining test duplication
- Fix critical security issue: getGlobalVariable() no longer returns reference to static null pointer
  - Changed return type from reference to value (thread-safe)
  - Returns nullptr directly instead of static null pointer reference
- Maintain 100% line and function coverage (2784/2784 lines, 684/684 functions)

Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com>

* [FIX] Use realloc() in custom allocator to avoid CWE-120

Replace manual malloc/memcpy/free with realloc() which is the
standard C function for memory resizing. This eliminates the
buffer overflow concern (CWE-120) entirely as realloc handles
the memory copy internally and safely.

Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com>

* [CI] Add Codacy configuration for Cppcheck with proper include paths

Configure Cppcheck with standard C++ library include paths to eliminate
false positive 'Include file not found' warnings. Also exclude
non-C++ files (.devcontainer, build) from analysis.

Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com>

---------

Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com>

118 of 118 new or added lines in 7 files covered. (100.0%)

2712 of 2712 relevant lines covered (100.0%)

48.86 hits per line

Relevant lines Covered
Build:
Build:
2712 RELEVANT LINES 2712 COVERED LINES
48.86 HITS PER LINE
Source Files on main
  • Tree
  • List 45
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
ab677b8a... main [IMP] Eliminate code duplication and fix critical security issue (#36) * [IMP] Eliminate code duplication and fix critical security issue - Add PoolTestUtils.hpp with shared helper functions for library checking - Refactor TestStatePool.cpp and ... push 19 Feb 2026 07:41PM UTC web-flow circleci
100.0
85705b3d... fix/code-quality-and-security [CI] Add Codacy configuration for Cppcheck with proper include paths Configure Cppcheck with standard C++ library include paths to eliminate false positive 'Include file not found' warnings. Also exclude non-C++ files (.devcontainer, build) from ... Pull #36 19 Feb 2026 07:19PM UTC jordanvrtanoski circleci
100.0
98cbe6e4... fix/code-quality-and-security [FIX] Use std::min for explicit buffer bounds in custom allocator Addresses CWE-120 by using std::min() to explicitly calculate the safe copy size. The copySize variable is guaranteed to be <= nsize (the allocated buffer size). Signed-off-by: Jo... Pull #36 19 Feb 2026 06:45PM UTC jordanvrtanoski circleci
100.0
1e9898a2... fix/code-quality-and-security [IMP] Eliminate code duplication and fix critical security issue - Add PoolTestUtils.hpp with shared helper functions for library checking - Refactor TestStatePool.cpp and TestPoolManager.cpp to use shared helpers - Add findPoolOrThrow() helper i... push 19 Feb 2026 05:57PM UTC jordanvrtanoski circleci
100.0
f704a6ad... feature/state-pooling-colored-pools [IMP] Eliminate code duplication in tests and PoolManager - Add PoolTestUtils.hpp with shared helper functions for library checking - Refactor TestStatePool.cpp and TestPoolManager.cpp to use shared helpers - Add findPoolOrThrow() helper in PoolM... push 19 Feb 2026 03:58PM UTC jordanvrtanoski circleci
100.0
f7faa744... main [IMP] Add Lua state pooling with colored pools (#35) * [IMP] Add Lua state pooling with colored pools Implement opt-in state pooling system for high-performance scenarios: - StatePool class for managing reusable lua_State instances - PoolManager... push 19 Feb 2026 03:51AM UTC web-flow circleci
100.0
d6a54cf5... feature/state-pooling-colored-pools [FIX] Remove duplicate TestCustomAllocatorSameSize test definition The test was defined twice in TestLuaContextNewState.cpp: - Line 37: correct location - Line 320: duplicate removed This fixes the build error: redefinition of TestLuaContextNewS... Pull #35 19 Feb 2026 03:37AM UTC jordanvrtanoski circleci
100.0
3906e178... feature/state-pooling-colored-pools [IMP] Add Lua state pooling with colored pools Implement opt-in state pooling system for high-performance scenarios: - StatePool class for managing reusable lua_State instances - PoolManager with predefined pool colors (default, sandboxed, minima... Pull #34 19 Feb 2026 02:52AM UTC jordanvrtanoski circleci
100.0
e04320dc... feature/state-pooling-colored-pools [IMP] Add Lua state pooling with colored pools Implement opt-in state pooling system for high-performance scenarios: - StatePool class for managing reusable lua_State instances - PoolManager with predefined pool colors (default, sandboxed, minima... Pull #34 19 Feb 2026 02:26AM UTC jordanvrtanoski circleci
100.0
d7c55702... feature/state-pooling-colored-pools [IMP] Add Lua state pooling with colored pools Implement opt-in state pooling system for high-performance scenarios: - StatePool class for managing reusable lua_State instances - PoolManager with predefined pool colors (default, sandboxed, minima... Pull #34 19 Feb 2026 12:17AM UTC jordanvrtanoski circleci
99.52
See All Builds (82)
  • Repo on GitHub
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