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

jordanvrtanoski / luacpp / ab677b8a-c0d9-484c-a8b0-2a4cd882016e
100%

Build:
DEFAULT BRANCH: main
Ran 19 Feb 2026 07:41PM UTC
Jobs 1
Files 45
Run time 1min
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

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

Jobs
ID Job ID Ran Files Coverage
1 ab677b8a-c0d9-484c-a8b0-2a4cd882016e.1 19 Feb 2026 07:41PM UTC 45
100.0
Source Files on build ab677b8a-c0d9-484c-a8b0-2a4cd882016e
  • Tree
  • List 45
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #AB677B8A...
  • e4d6d80f on github
  • Prev Build on main (#F7FAA744...)
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