René's URL Explorer Experiment


Title: feat(unused_var): analyze global variables inside function body by miltolstoy · Pull Request #2944 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: feat(unused_var): analyze global variables inside function body by miltolstoy · Pull Request #2944 · cppcheck-opensource/cppcheck

X Title: feat(unused_var): analyze global variables inside function body by miltolstoy · Pull Request #2944 · cppcheck-opensource/cppcheck

Description: Before this PR, any global variable found in function body marked this function as side-effect one. Analyzing global variables more precisely from now. Any help with missed test cases will be highly appreciated.

Open Graph Description: Before this PR, any global variable found in function body marked this function as side-effect one. Analyzing global variables more precisely from now. Any help with missed test cases will be highl...

X Description: Before this PR, any global variable found in function body marked this function as side-effect one. Analyzing global variables more precisely from now. Any help with missed test cases will be highl...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:25a00ad7-25fc-1d5f-d4e2-d29cb69cf992
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE30C:1A12B5:1F70A9C:2B7CC3B:6A4ED453
html-safe-nonce1e44f9c05c0dd0983102b40a6b49403d618173819001264ab02c5968cd3433eb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzBDOjFBMTJCNToxRjcwQTlDOjJCN0NDM0I6NkE0RUQ0NTMiLCJ2aXNpdG9yX2lkIjoiNjE4MTA1MjQyMzIwMjk0OTk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac15fac84480fdaf3081eb67c5eb79224434b5c105b9012a1aeb5f6c1f5f0d194c
hovercard-subject-tagpull_request:538918971
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/cppcheck/pull/2944/files
twitter:imagehttps://avatars.githubusercontent.com/u/38533734?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/38533734?s=400&v=4
og:image:altBefore this PR, any global variable found in function body marked this function as side-effect one. Analyzing global variables more precisely from now. Any help with missed test cases will be highl...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id143131
octolytics-dimension-repository_nwocppcheck-opensource/cppcheck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143131
octolytics-dimension-repository_network_root_nwocppcheck-opensource/cppcheck
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F2944%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%2Fcppcheck%2Fpull%2F2944%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%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
cppcheck-opensource https://github.com/cppcheck-opensource
cppcheckhttps://github.com/cppcheck-opensource/cppcheck
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Fork 1.6k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Star 6.7k https://github.com/login?return_to=%2Fcppcheck-opensource%2Fcppcheck
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests 203 https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality 0 https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Code https://github.com/cppcheck-opensource/cppcheck
Pull requests https://github.com/cppcheck-opensource/cppcheck/pulls
Actions https://github.com/cppcheck-opensource/cppcheck/actions
Security and quality https://github.com/cppcheck-opensource/cppcheck/security
Insights https://github.com/cppcheck-opensource/cppcheck/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fcppcheck%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%2Fcppcheck%2Fissues%2Fnew%2Fchoose
danmarhttps://github.com/danmar
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
miltolstoy:globals_without_sideefecthttps://github.com/miltolstoy/cppcheck/tree/globals_without_sideefect
Conversation 17 https://github.com/cppcheck-opensource/cppcheck/pull/2944
Commits 5 https://github.com/cppcheck-opensource/cppcheck/pull/2944/commits
Checks 0 https://github.com/cppcheck-opensource/cppcheck/pull/2944/checks
Files changed https://github.com/cppcheck-opensource/cppcheck/pull/2944/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
feat(unused_var): analyze global variables inside function body https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#top
Show all changes 5 commits https://github.com/cppcheck-opensource/cppcheck/pull/2944/files
a71cd03 feat(unused_var): analyze global variables inside function body miltolstoy Dec 13, 2020 https://github.com/cppcheck-opensource/cppcheck/pull/2944/commits/a71cd03e3b27b54322dd40cc0c4882475a6ae9c2
d352b15 self-check error fix miltolstoy Dec 13, 2020 https://github.com/cppcheck-opensource/cppcheck/pull/2944/commits/d352b158fde7f06ccdff1e430698abf95e2ab850
4a6018f change std::list to std::set for pointersToGlobals miltolstoy Dec 15, 2020 https://github.com/cppcheck-opensource/cppcheck/pull/2944/commits/4a6018faa51acfa2d3008ddba8cf29de3d326522
b93f9f9 treat all operations with global pointers/arrays as side-effect miltolstoy Dec 17, 2020 https://github.com/cppcheck-opensource/cppcheck/pull/2944/commits/b93f9f945ba0e4c94954a7575886f9ee6fe9d4ee
14d0d32 update search in pointersToGlobals miltolstoy Dec 17, 2020 https://github.com/cppcheck-opensource/cppcheck/pull/2944/commits/14d0d328dea18607dc3c9aec3bec8c9226047ad7
Clear filters https://github.com/cppcheck-opensource/cppcheck/pull/2944/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
checkunusedvar.cpp https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-274e511bea038ba56b2904546e03caed681aa491e5c62bb64c7ac35e953d9669
testunusedvar.cpp https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
lib/checkunusedvar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-274e511bea038ba56b2904546e03caed681aa491e5c62bb64c7ac35e953d9669
View file https://github.com/miltolstoy/cppcheck/blob/14d0d328dea18607dc3c9aec3bec8c9226047ad7/lib/checkunusedvar.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/2944/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-274e511bea038ba56b2904546e03caed681aa491e5c62bb64c7ac35e953d9669
danmarhttps://github.com/danmar
Dec 14, 2020https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#r542569766
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
miltolstoyhttps://github.com/miltolstoy
Dec 15, 2020https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#r543482964
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
danmarhttps://github.com/danmar
Dec 15, 2020https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#r543635688
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
miltolstoyhttps://github.com/miltolstoy
Dec 16, 2020https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#r544511167
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
danmarhttps://github.com/danmar
Dec 16, 2020https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#r544527071
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-274e511bea038ba56b2904546e03caed681aa491e5c62bb64c7ac35e953d9669
test/testunusedvar.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
View file https://github.com/miltolstoy/cppcheck/blob/14d0d328dea18607dc3c9aec3bec8c9226047ad7/test/testunusedvar.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/2944/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
https://github.com/cppcheck-opensource/cppcheck/pull/2944/files#diff-01b9f5f20a714a3c7b2604c1a3d539a46d669bfe30f50581dc83974cdb56f205
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.