• 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: main
CHANGE BRANCH
x
Reset
  • main
  • 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
  • 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
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
2b0844e2... main [IMP] Add test for LuaTTable::getValue() with non-existent key Add TestLuaTTableGetValueNonExistentKey test case to cover the code path where getValue() returns a LuaTNil placeholder for missing keys. This restores code coverage to 100%. Signed-... push 18 Feb 2026 02:22PM UTC jordanvrtanoski circleci
100.0
f32e1555... main FIX: Fix _checkErrorAndThrow linkage and declaration mismatch Remove inline specifier from _checkErrorAndThrow so the symbol is exported for cross-TU linkage, and fix the return type in the test forward declaration from int to void to match the d... push 13 Feb 2026 07:05PM UTC jordanvrtanoski circleci
99.94
1022d6cc... main FIX: Fixing the CMake for in-project builds Fixing the logic in CMake to address issues detected with the build when luacpp is built inside a project Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com> push 23 Jan 2026 08:38PM UTC jordanvrtanoski circleci
99.94
a9295cfb... main Fix dependency typo push 21 Jan 2026 02:37AM UTC jordanvrtanoski circleci
99.94
b643a341... main Add support for C++ modules push 20 Jan 2026 10:35PM UTC jordanvrtanoski circleci
99.94
da49f17c... main IMP Improve coverage Improve coverage after introduction of the custom allocator. Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com> push 03 Jul 2025 02:07AM UTC jordanvrtanoski circleci
99.94
f3c4ed29... main [IMP] Add possibility to pass a custom allocator (#26) * Add possibility to pass a custom allocator * Added the ability to set objects in the lua registry index --------- Co-authored-by: Jordan Vrtanoski <1470453+jordanvrtanoski@users.noreply.... push 03 Jul 2025 01:09AM UTC web-flow circleci
98.79
0b2fb82d... main IMP Improvement of the coverage tests (#27) * IMP Improving test coverage on LuaContext Improving the test coverage Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com> * IMP: Add new executables and tests for Lua context and library f... push 03 Jul 2025 01:04AM UTC web-flow circleci
100.0
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