Skip to content

Update cppcheck to 2.21 - #2199

Draft
Dimi1010 wants to merge 59 commits into
seladb:devfrom
Dimi1010:ci/update-cppcheck
Draft

Update cppcheck to 2.21#2199
Dimi1010 wants to merge 59 commits into
seladb:devfrom
Dimi1010:ci/update-cppcheck

Conversation

@Dimi1010

Copy link
Copy Markdown
Collaborator

The PR updates cppcheck to 2.21 and applies fixes to flagged warnings.

@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.23529% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.68%. Comparing base (4c05844) to head (c4493fb).
⚠️ Report is 16 commits behind head on dev.

Files with missing lines Patch % Lines
Packet++/src/SomeIpSdLayer.cpp 84.84% 5 Missing ⚠️
Examples/DpdkExample-FilterTraffic/main.cpp 0.00% 3 Missing ⚠️
Tests/Pcap++Test/Common/TestUtils.h 40.00% 1 Missing and 2 partials ⚠️
Examples/IPFragUtil/main.cpp 50.00% 1 Missing and 1 partial ⚠️
Examples/IPDefragUtil/main.cpp 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2199      +/-   ##
==========================================
+ Coverage   79.80%   82.68%   +2.87%     
==========================================
  Files         332      333       +1     
  Lines       54032    60246    +6214     
  Branches    12511    12852     +341     
==========================================
+ Hits        43121    49813    +6692     
- Misses       8548     9552    +1004     
+ Partials     2363      881    -1482     
Flag Coverage Δ
23.11.6 7.25% <9.58%> (-0.05%) ⬇️
24.11.5 7.30% <9.58%> (+0.03%) ⬆️
25.11.1 7.24% <9.58%> (-0.01%) ⬇️
alpine320 76.87% <84.37%> (+<0.01%) ⬆️
fedora42 76.45% <82.81%> (+0.02%) ⬆️
macos-15 82.28% <92.66%> (+0.01%) ⬆️
macos-26 82.29% <92.66%> (+0.02%) ⬆️
macos-26-intel 82.22% <92.66%> (+0.01%) ⬆️
mingw32 71.50% <77.50%> (+<0.01%) ⬆️
mingw64 71.48% <77.50%> (+0.08%) ⬆️
rhel94 76.23% <84.37%> (-0.03%) ⬇️
ubuntu2204 76.29% <84.37%> (+0.01%) ⬆️
ubuntu2404 76.56% <84.37%> (-0.03%) ⬇️
ubuntu2604 76.53% <82.81%> (+0.02%) ⬆️
ubuntu2604-arm64 76.36% <82.81%> (+0.01%) ⬆️
ubuntu2604-icpx 59.09% <86.48%> (+0.03%) ⬆️
unittest 82.68% <88.23%> (+2.87%) ⬆️
windows-2022 85.82% <90.90%> (?)
windows-2025 85.55% <90.90%> (?)
winpcap 85.85% <90.90%> (?)
xdp 52.96% <70.76%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Dimi1010 added 3 commits July 31, 2026 12:27
# Conflicts:
#	Examples/IPDefragUtil/main.cpp
#	Examples/IPFragUtil/main.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant