René's URL Explorer Experiment


Title: Added rule to simplify token matching by orbitcowboy · Pull Request #6472 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: Added rule to simplify token matching by orbitcowboy · Pull Request #6472 · cppcheck-opensource/cppcheck

X Title: Added rule to simplify token matching by orbitcowboy · Pull Request #6472 · cppcheck-opensource/cppcheck

Description: static analysis of C/C++ code. Contribute to cppcheck-opensource/cppcheck development by creating an account on GitHub.

Open Graph Description: This rule catches cases where multiple tok->next()-next() calls can be simplified to tok-tokAt(2) Reference: https://github.com/danmar/cppcheck/pull/6442/files/13b2cabb6384ff5279b17a75062a63c5f2...

X Description: This rule catches cases where multiple tok->next()-next() calls can be simplified to tok-tokAt(2) Reference: https://github.com/danmar/cppcheck/pull/6442/files/13b2cabb6384ff5279b17a75062a63...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8f6a1490-b32a-1fe7-5dd0-643bae55e68a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id88A0:1F7031:21C88D:2F3343:6A511413
html-safe-nonce31c6a77a065dbd26d96a50fb8f49d1bb8961c0615178f4b77ea96966a30a10dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEEwOjFGNzAzMToyMUM4OEQ6MkYzMzQzOjZBNTExNDEzIiwidmlzaXRvcl9pZCI6IjE2OTIwODgyODM0NDIxMDQ1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac64d4b8365d4a4fad84e0ff08ca09234fc2562fffb6d88f5bbc45a0bc1a5004dd
hovercard-subject-tagpull_request:1899139629
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/cppcheck-opensource/cppcheck/6472/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3ad7de1ec26ec75d3b184cc74ccf5a08f73754f3537019e04b4ebf5ed1734a66/cppcheck-opensource/cppcheck/pull/6472
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3ad7de1ec26ec75d3b184cc74ccf5a08f73754f3537019e04b4ebf5ed1734a66/cppcheck-opensource/cppcheck/pull/6472
og:image:altThis rule catches cases where multiple tok->next()-next() calls can be simplified to tok-tokAt(2) Reference: https://github.com/danmar/cppcheck/pull/6442/files/13b2cabb6384ff5279b17a75062a63c5f2...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameorbitcowboy
hostnamegithub.com
expected-hostnamegithub.com
Noneb076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef9137f6d981cbbfd780af369f80ce890b2d0d2d4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/6472#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F6472
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%2F6472
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/6472
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/6472
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/6472
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
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 205 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
orbitcowboyhttps://github.com/orbitcowboy
mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
added_rule_to_simplify_token_matchinghttps://github.com/cppcheck-opensource/cppcheck/tree/added_rule_to_simplify_token_matching
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/6472
Commits3 (3)https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/6472/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/6472/files
Added rule to simplify token matchinghttps://github.com/cppcheck-opensource/cppcheck/pull/6472#top
orbitcowboyhttps://github.com/orbitcowboy
mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
added_rule_to_simplify_token_matchinghttps://github.com/cppcheck-opensource/cppcheck/tree/added_rule_to_simplify_token_matching
https://github.com/orbitcowboy
orbitcowboyhttps://github.com/orbitcowboy
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issue-2329168959
https://github.com/danmar/cppcheck/pull/6442/files/13b2cabb6384ff5279b17a75062a63c5f240f74a#r1623220527https://github.com/danmar/cppcheck/pull/6442/files/13b2cabb6384ff5279b17a75062a63c5f240f74a#r1623220527
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/orbitcowboy
Added rule to simplify token matchinghttps://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/7c70f5461d79d3ed578f55d0bbf2c11f014bc801
7c70f54https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/7c70f5461d79d3ed578f55d0bbf2c11f014bc801
https://github.com/firewave
firewavehttps://github.com/firewave
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143471211
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/firewave
firewavehttps://github.com/firewave
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143478824
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143495363
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
orbitcowboyhttps://github.com/orbitcowboy
June 1, 2024 17:59https://github.com/cppcheck-opensource/cppcheck/pull/6472#commits-pushed-cab08c5
https://github.com/orbitcowboy
Added another rule 'tok->next()->link() --> tok->linkAt(1)'https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/cab08c5a77ab2a8ec38b1f3e7e2047aa7d1f3df1
cab08c5https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/cab08c5a77ab2a8ec38b1f3e7e2047aa7d1f3df1
https://github.com/orbitcowboy
Updated error idhttps://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/d417c54d77124b1b6be491529de995d75b26a0c2
d417c54https://github.com/cppcheck-opensource/cppcheck/pull/6472/commits/d417c54d77124b1b6be491529de995d75b26a0c2
https://github.com/orbitcowboy
orbitcowboyhttps://github.com/orbitcowboy
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143497373
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/orbitcowboy
orbitcowboyhttps://github.com/orbitcowboy
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143514938
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
#6476https://github.com/cppcheck-opensource/cppcheck/pull/6476
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/orbitcowboy
orbitcowboyhttps://github.com/orbitcowboy
Jun 1, 2024 https://github.com/cppcheck-opensource/cppcheck/pull/6472#ref-pullrequest-2329247423
Replaced 'tok->next()->link()' by 'tok->linkAt(1)' #6476 https://github.com/cppcheck-opensource/cppcheck/pull/6476
https://github.com/firewave
firewavehttps://github.com/firewave
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143543632
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143544908
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/firewave
firewavehttps://github.com/firewave
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143545357
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/firewave
firewavehttps://github.com/firewave
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143546388
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143548169
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/firewave
firewavehttps://github.com/firewave
Jun 1, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2143551667
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
chrchr-githubhttps://github.com/chrchr-github
Jun 1, 2024 https://github.com/cppcheck-opensource/cppcheck/pull/6472#ref-commit-7b22594
https://github.com/orbitcowboy
Replaced 'tok->next()->link()' by 'tok->linkAt(1)' (https://github.com/cppcheck-opensource/cppcheck/commit/7b2259492dcbc9c9a6051633ebb3c5e05903eb0e
#6476https://github.com/cppcheck-opensource/cppcheck/pull/6476
)https://github.com/cppcheck-opensource/cppcheck/commit/7b2259492dcbc9c9a6051633ebb3c5e05903eb0e
7b22594https://github.com/cppcheck-opensource/cppcheck/commit/7b2259492dcbc9c9a6051633ebb3c5e05903eb0e
#6472https://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/danmar
danmarhttps://github.com/danmar
Jun 3, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2145793782
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/chrchr-github
chrchr-githubhttps://github.com/chrchr-github
Jun 3, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2146038603
@pfultz2https://github.com/pfultz2
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/firewave
firewavehttps://github.com/firewave
Jun 5, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2149343953
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/danmar
danmarhttps://github.com/danmar
Jun 9, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2156627049
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/orbitcowboy
orbitcowboyhttps://github.com/orbitcowboy
Jun 9, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2156636887
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/firewave
firewavehttps://github.com/firewave
Jun 10, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2157594781
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/danmar
danmarhttps://github.com/danmar
Jun 11, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160299085
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/firewave
firewavehttps://github.com/firewave
Jun 11, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160309191
#6211https://github.com/cppcheck-opensource/cppcheck/pull/6211
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/danmar
danmarhttps://github.com/danmar
Jun 11, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160613560
#6211https://github.com/cppcheck-opensource/cppcheck/pull/6211
@pfultz2https://github.com/pfultz2
@orbitcowboyhttps://github.com/orbitcowboy
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/firewave
firewavehttps://github.com/firewave
Jun 11, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160714321
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/pfultz2
pfultz2https://github.com/pfultz2
Jun 11, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160754814
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/pfultz2
pfultz2https://github.com/pfultz2
Jun 11, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2160789008
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/danmar
danmarhttps://github.com/danmar
Jun 12, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2163500133
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/danmar
danmarhttps://github.com/danmar
Jun 12, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2163516170
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/firewave
firewavehttps://github.com/firewave
Dec 3, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#issuecomment-2514338241
#6951https://github.com/cppcheck-opensource/cppcheck/pull/6951
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/firewave
firewavehttps://github.com/firewave
Dec 3, 2024https://github.com/cppcheck-opensource/cppcheck/pull/6472#event-15508400939
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F6472
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/6472
https://github.com/orbitcowboy
https://github.com/firewave
https://github.com/chrchr-github
https://github.com/danmar
https://github.com/pfultz2
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.