René's URL Explorer Experiment


Title: Fix #381 (When there are header files with the same name, the correct file cannot be found) by glankk · Pull Request #443 · cppcheck-opensource/simplecpp · GitHub

Open Graph Title: Fix #381 (When there are header files with the same name, the correct file cannot be found) by glankk · Pull Request #443 · cppcheck-opensource/simplecpp

X Title: Fix #381 (When there are header files with the same name, the correct file cannot be found) by glankk · Pull Request #443 · cppcheck-opensource/simplecpp

Description: The issue is caused by false matches in getFileIdPath, which this fixes. This PR also adds two tests related to path resolution and matching, one for this particular issue of false positives and another one to detect false negatives on case-insensitive systems, which would result in #pragma once breaking. I added them both in this PR because they're related, but I can move the second test to another PR if that's preferable.

Open Graph Description: The issue is caused by false matches in getFileIdPath, which this fixes. This PR also adds two tests related to path resolution and matching, one for this particular issue of false positives and an...

X Description: The issue is caused by false matches in getFileIdPath, which this fixes. This PR also adds two tests related to path resolution and matching, one for this particular issue of false positives and an...

Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/pull/443

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5cb650c9-a00d-970a-53d7-14da2f70c5ac
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE522:C8AE2:6352D51:8C52AD1:6A4FD834
html-safe-noncef88f978e39c66124906f50557191be0690eb803f807f0b12fac6621e358134d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTIyOkM4QUUyOjYzNTJENTE6OEM1MkFEMTo2QTRGRDgzNCIsInZpc2l0b3JfaWQiOiIzNjc4NzkxNTA1NzUyNzgxMzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac67c617f41670f48646302d5d5b2f1ff74aca8ba411f00301c7eb5261c5b01a03
hovercard-subject-tagpull_request:2588441784
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/simplecpp/pull/443/files
twitter:imagehttps://avatars.githubusercontent.com/u/10298420?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10298420?s=400&v=4
og:image:altThe issue is caused by false matches in getFileIdPath, which this fixes. This PR also adds two tests related to path resolution and matching, one for this particular issue of false positives and an...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id33434464
octolytics-dimension-repository_nwocppcheck-opensource/simplecpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33434464
octolytics-dimension-repository_network_root_nwocppcheck-opensource/simplecpp
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release142593e66413bbae27fd485859993597d5a3b104
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/simplecpp/pull/443/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F443%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F443%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cppcheck-opensource%2Fsimplecpp
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/443/files
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/443/files
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/443/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/443/files
cppcheck-opensource https://github.com/cppcheck-opensource
simplecpphttps://github.com/cppcheck-opensource/simplecpp
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Fork 104 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Star 263 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Code https://github.com/cppcheck-opensource/simplecpp
Issues 82 https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests 31 https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality 0 https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
Code https://github.com/cppcheck-opensource/simplecpp
Issues https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fsimplecpp%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp%2Fissues%2Fnew%2Fchoose
danmarhttps://github.com/danmar
cppcheck-opensource:masterhttps://github.com/cppcheck-opensource/simplecpp/tree/master
glankk:path_testshttps://github.com/glankk/simplecpp/tree/path_tests
Conversation 7 https://github.com/cppcheck-opensource/simplecpp/pull/443
Commits 3 https://github.com/cppcheck-opensource/simplecpp/pull/443/commits
Checks 15 https://github.com/cppcheck-opensource/simplecpp/pull/443/checks
Files changed https://github.com/cppcheck-opensource/simplecpp/pull/443/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/443/files
Fix #381 (When there are header files with the same name, the correct file cannot be found) https://github.com/cppcheck-opensource/simplecpp/pull/443/files#top
Show all changes 3 commits https://github.com/cppcheck-opensource/simplecpp/pull/443/files
8b06465 Add path resolution tests glankk Jun 12, 2025 https://github.com/cppcheck-opensource/simplecpp/pull/443/commits/8b064656e7a24f73ac898277eb678edccbdaf78d
9935591 Fix false matches in getFileIdPath glankk Jun 12, 2025 https://github.com/cppcheck-opensource/simplecpp/pull/443/commits/993559197e96370fddd1756a5f086dc1dc08e747
ecf86da Move tests to integration_test.py glankk Jun 13, 2025 https://github.com/cppcheck-opensource/simplecpp/pull/443/commits/ecf86da0984d035b562e36e357201a8150b783c0
Clear filters https://github.com/cppcheck-opensource/simplecpp/pull/443/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/443/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/443/files
integration_test.py https://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-1633196318a48ed42103653fbdf6e7c275dcd81969444fc01a47ae28beff077d
simplecpp.cpp https://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
test.cpp https://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
integration_test.pyhttps://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-1633196318a48ed42103653fbdf6e7c275dcd81969444fc01a47ae28beff077d
View file https://github.com/glankk/simplecpp/blob/ecf86da0984d035b562e36e357201a8150b783c0/integration_test.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/443/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-1633196318a48ed42103653fbdf6e7c275dcd81969444fc01a47ae28beff077d
https://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-1633196318a48ed42103653fbdf6e7c275dcd81969444fc01a47ae28beff077d
https://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-1633196318a48ed42103653fbdf6e7c275dcd81969444fc01a47ae28beff077d
simplecpp.cpphttps://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
View file https://github.com/glankk/simplecpp/blob/ecf86da0984d035b562e36e357201a8150b783c0/simplecpp.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/443/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
https://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
test.cpphttps://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
View file https://github.com/glankk/simplecpp/blob/ecf86da0984d035b562e36e357201a8150b783c0/test.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/443/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/443/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/443/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.