Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
cppcheck-opensource
/
cppcheck
Public
Notifications
You must be signed in to change notification settings
Fork
1.6k
Star
6.7k
Code
Pull requests
196
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
cppcheck
test
testcondition.cpp
on
main
User selector
All users
All time
Commit history
Commits on Aug 4, 2026
Fix #11437 FP knownConditionTrueFalse when comparing clamped value (#8751)
chrchr-github
authored
1f1a07f
View commit details
Copy full SHA for 1f1a07f
View code at this point
Browse repository at this point
Commits on Jul 30, 2026
Partial fix for #14911 FN knownConditionTrueFalse for number literals (regression) (#8737)
Show description for a156364
chrchr-github
and
web-flow
authored
a156364
View commit details
Copy full SHA for a156364
View code at this point
Browse repository at this point
Commits on Jul 13, 2026
Fix 14900: FP knownConditionTrueFalse on variable after if/else-if chain (#8715)
Show description for f49f1aa
pfultz2
and
Your Name
authored
f49f1aa
View commit details
Copy full SHA for f49f1aa
View code at this point
Browse repository at this point
Commits on Jul 4, 2026
Partial fix for 9049: False negative: uninitialized variable with nested ifs (#8680)
Show description for bcd74c7
pfultz2
and
Your Name
authored
bcd74c7
View commit details
Copy full SHA for bcd74c7
View code at this point
Browse repository at this point
Commits on Jun 2, 2026
pass `ErrorLogger` by reference in `Check`/`CheckImpl` (#8601)
firewave
authored
8684514
View commit details
Copy full SHA for 8684514
View code at this point
Browse repository at this point
Commits on May 27, 2026
Fix #11614 FN knownConditionTrueFalse when assigned to bool (#8569)
chrchr-github
authored
2cd2f46
View commit details
Copy full SHA for 2cd2f46
View code at this point
Browse repository at this point
Commits on May 26, 2026
Fix #8192: FN condition always false in for loop condition (#8446)
Show description for bc33aee
francois-berder
authored
bc33aee
View commit details
Copy full SHA for bc33aee
View code at this point
Browse repository at this point
Commits on May 20, 2026
Add tests for #6796, #12896 (#8562)
chrchr-github
authored
8bc093c
View commit details
Copy full SHA for 8bc093c
View code at this point
Browse repository at this point
Commits on May 18, 2026
testrunner: do not use global check instances (#8561)
firewave
authored
39d9c01
View commit details
Copy full SHA for 39d9c01
View code at this point
Browse repository at this point
Commits on May 12, 2026
Fix #12320 FP knownConditionTrueFalse with if chain (#8547)
chrchr-github
authored
7c7ed58
View commit details
Copy full SHA for 7c7ed58
View code at this point
Browse repository at this point
Commits on May 6, 2026
Fix #14716 FP oppositeInnerCondition, x.size() < y.size() does not mean that x must be empty (#8533)
chrchr-github
authored
747e257
View commit details
Copy full SHA for 747e257
View code at this point
Browse repository at this point
Commits on May 5, 2026
Fix #14724 FP: overlapping inner condition, function call (#8527)
Show description for 28dfa41
chrchr-github
and
web-flow
authored
28dfa41
View commit details
Copy full SHA for 28dfa41
View code at this point
Browse repository at this point
Commits on Apr 29, 2026
Fix #14711 FP identicalInnerCondition, return expression is not condition (#8514)
chrchr-github
authored
89da2d1
View commit details
Copy full SHA for 89da2d1
View code at this point
Browse repository at this point
Commits on Apr 25, 2026
Fix #12196 FP knownConditionTrueFalse when object is modified through another object / partial fix for #12795 FP knownConditionTrueFalse (#8485)
chrchr-github
authored
2c03f19
View commit details
Copy full SHA for 2c03f19
View code at this point
Browse repository at this point
Refs #13814 FP compareValueOutOfTypeRangeError with INT_MAX (#8483)
chrchr-github
authored
742df60
View commit details
Copy full SHA for 742df60
View code at this point
Browse repository at this point
Commits on Apr 24, 2026
Report overlappingInnerCondition errors (#8448)
Show description for b0eed57
francois-berder
authored
b0eed57
View commit details
Copy full SHA for b0eed57
View code at this point
Browse repository at this point
Commits on Apr 20, 2026
Partial fix for #10452 FN knownConditionTrueFalse with bool and float (#8438)
Show description for 79ca30a
chrchr-github
and
web-flow
authored
79ca30a
View commit details
Copy full SHA for 79ca30a
View code at this point
Browse repository at this point
Commits on Apr 12, 2026
Fix #14660 Handle reverse conditions in isOppositeCond function (#8408)
francois-berder
authored
830ef47
View commit details
Copy full SHA for 830ef47
View code at this point
Browse repository at this point
Commits on Mar 27, 2026
Partial fix for #9078 FN compareValueOutOfTypeRangeError (x <= UINT32_MAX) (#8379)
chrchr-github
authored
b99ce96
View commit details
Copy full SHA for b99ce96
View code at this point
Browse repository at this point
Commits on Mar 15, 2026
Fix #14595 FN identicalInnerCondition in for loop (#8335)
chrchr-github
authored
766c5b5
View commit details
Copy full SHA for 766c5b5
View code at this point
Browse repository at this point
Commits on Mar 2, 2026
Release: Update copyright year (#8285)
danmar
authored
9a00e4a
View commit details
Copy full SHA for 9a00e4a
View code at this point
Browse repository at this point
Commits on Feb 12, 2026
Add tests for #10241, #11519, #12532, #13403 (#8200)
Show description for 7c5db88
chrchr-github
and
web-flow
authored
7c5db88
View commit details
Copy full SHA for 7c5db88
View code at this point
Browse repository at this point
Commits on Feb 11, 2026
Fix #14476 (Premium Misra: skip bailout; condition '2>3' is always false) (#8195)
danmar
authored
1e79f7f
View commit details
Copy full SHA for 1e79f7f
View code at this point
Browse repository at this point
Commits on Feb 10, 2026
Fix #14428 FP duplicateCondition, pointer data may be changed in function call (#8155)
chrchr-github
authored
d92c579
View commit details
Copy full SHA for d92c579
View code at this point
Browse repository at this point
Commits on Feb 3, 2026
cleaned up includes based on `include-what-you-use` (#8178)
firewave
authored
23adf76
View commit details
Copy full SHA for 23adf76
View code at this point
Browse repository at this point
Commits on Jan 31, 2026
Fix #14457 (ValueType: char expression without signedness) (#8174)
danmar
authored
a4bd260
View commit details
Copy full SHA for a4bd260
View code at this point
Browse repository at this point
Commits on Jan 29, 2026
Fix #14392 FN knownConditionTrueFalse (assigning function call result) (#8118)
chrchr-github
authored
c4f754e
View commit details
Copy full SHA for c4f754e
View code at this point
Browse repository at this point
Commits on Jan 28, 2026
Fix #14416 FP knownConditionTrueFalse for function taking const pointer to const (#8140)
Show description for fe492d6
chrchr-github
and
web-flow
authored
fe492d6
View commit details
Copy full SHA for fe492d6
View code at this point
Browse repository at this point
Commits on Jan 25, 2026
Fix #13717 FN multiCondition with NULL pointer check / #13716 FN duplicateCondition (regression) (#8142)
Show description for e071e29
chrchr-github
and
web-flow
authored
e071e29
View commit details
Copy full SHA for e071e29
View code at this point
Browse repository at this point
Commits on Dec 14, 2025
Reject invalid code after if/switch/loop (also fixes #14326) (#8033)
Show description for 9dfee85
chrchr-github
and
web-flow
authored
9dfee85
View commit details
Copy full SHA for 9dfee85
View code at this point
Browse repository at this point
Commits on Nov 7, 2025
testrunner: several cleanups (#7944)
Show description for 7e09fa0
firewave
authored
7e09fa0
View commit details
Copy full SHA for 7e09fa0
View code at this point
Browse repository at this point
Commits on Oct 28, 2025
testrunner: some settings cleanups (#7919)
firewave
authored
e42a30b
View commit details
Copy full SHA for e42a30b
View code at this point
Browse repository at this point
Commits on Oct 15, 2025
testrunner: removed unnecessary default constructors from test options (#7889)
firewave
authored
59d9ba3
View commit details
Copy full SHA for 59d9ba3
View code at this point
Browse repository at this point
Commits on Sep 24, 2025
testrunner: avoid some `TestFixture::settingsBuilder()` invocations (#7845)
firewave
authored
f916df0
View commit details
Copy full SHA for f916df0
View code at this point
Browse repository at this point
Commits on Sep 23, 2025
pass a char buffer to simplecpp instead of a stream (#6379)
firewave
authored
20bed39
View commit details
Copy full SHA for 20bed39
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.