René's URL Explorer Experiment


Title: ProgramMemory: avoid duplicated lookups / removed `at()` by firewave · Pull Request #7768 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: ProgramMemory: avoid duplicated lookups / removed `at()` by firewave · Pull Request #7768 · cppcheck-opensource/cppcheck

X Title: ProgramMemory: avoid duplicated lookups / removed `at()` by firewave · Pull Request #7768 · 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: all at() calls were proceeded by hasValue() so we can just directly fetch the value instead.

X Description: all at() calls were proceeded by hasValue() so we can just directly fetch the value instead.

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:b04d1bb8-bf29-b527-7930-97e6f172d38e
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idE020:37ACD:2D08E99:3DAA2E1:6A4F022A
html-safe-nonce617ccfc1412a75818030b5b4a2bafb61d6c35048c87e1142375c53b5347107b9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDIwOjM3QUNEOjJEMDhFOTk6M0RBQTJFMTo2QTRGMDIyQSIsInZpc2l0b3JfaWQiOiIyOTUwMjM4NTQ5NTExNzAxMDM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2e69901acba8926b10f79b09f57fe4bc1277311907996e842da70faa96e97697
hovercard-subject-tagpull_request:2771810358
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/cppcheck-opensource/cppcheck/pull/7768/checks
twitter:imagehttps://opengraph.githubassets.com/c665bfca4442f7dc3d15981845e467a295e74aa132705dce73618c2e7a252873/cppcheck-opensource/cppcheck/pull/7768
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c665bfca4442f7dc3d15981845e467a295e74aa132705dce73618c2e7a252873/cppcheck-opensource/cppcheck/pull/7768
og:image:altall at() calls were proceeded by hasValue() so we can just directly fetch the value instead.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefirewave
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/7768/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F7768%2Fchecks
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%2F7768%2Fchecks
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%2Fchecks&source=header-repo&source_repo=cppcheck-opensource%2Fcppcheck
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7768/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7768/checks
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/7768/checks
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768/checks
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
firewavehttps://github.com/firewave
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
firewave:pm-athttps://github.com/firewave/cppcheck/tree/pm-at
Conversationhttps://github.com/cppcheck-opensource/cppcheck/pull/7768
Commits2 (2)https://github.com/cppcheck-opensource/cppcheck/pull/7768/commits
Checkshttps://github.com/cppcheck-opensource/cppcheck/pull/7768/checks
Files changedhttps://github.com/cppcheck-opensource/cppcheck/pull/7768/files
ProgramMemory: avoid duplicated lookups / removed at()https://github.com/cppcheck-opensource/cppcheck/pull/7768/checks#top
firewavehttps://github.com/firewave
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
firewave:pm-athttps://github.com/firewave/cppcheck/tree/pm-at
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/7768/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F7768%2Fchecks
CIFuzz on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635106
Fuzzing https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635106/job/63989939060?pr=7768
CI-unixish on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105
build_cmake_tinyxml2 (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939126?pr=7768
build_cmake_tinyxml2 (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989938987?pr=7768
build_cmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989938998?pr=7768
build_cmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939010?pr=7768
build_cmake_cxxstd (ubuntu-22.04, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939066?pr=7768
build_cmake_cxxstd (ubuntu-22.04, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939055?pr=7768
build_cmake_cxxstd (ubuntu-22.04, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939059?pr=7768
build_cmake_cxxstd (macos-15, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939014?pr=7768
build_cmake_cxxstd (macos-15, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939052?pr=7768
build_uchar (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939030?pr=7768
build_uchar (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939149?pr=7768
build_mathlib (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939034?pr=7768
build_mathlib (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939085?pr=7768
check_nonneg (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939088?pr=7768
check_nonneg (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939017?pr=7768
build_cmake_boost (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939013?pr=7768
build (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939040?pr=7768
build (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63989939037?pr=7768
selfcheck https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635105/job/63993781372?pr=7768
selfcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635116
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635116/job/63989939168?pr=7768
cppcheck-premium on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635113
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635113/job/63989939165?pr=7768
scriptcheck on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63989939192?pr=7768
dmake (ubuntu-22.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63989939101?pr=7768
dmake (macos-15) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63989939198?pr=7768
dmake (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63989939127?pr=7768
scriptcheck (3.7) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63990488157?pr=7768
scriptcheck (3.8) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63990488148?pr=7768
scriptcheck (3.9) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63990488136?pr=7768
scriptcheck (3.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63990488159?pr=7768
scriptcheck (3.11) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63990488259?pr=7768
scriptcheck (3.12) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63990488141?pr=7768
scriptcheck (3.13) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63990488176?pr=7768
scriptcheck (3.14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635135/job/63990488178?pr=7768
Coverage on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635124
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635124/job/63989939146?pr=7768
valgrind on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635121
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635121/job/63989938990?pr=7768
CI-cygwin on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635125
build_cygwin (windows-2025, x86_64) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635125/job/63989939001?pr=7768
CI-windows on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129
build_qt (windows-2022, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989938977?pr=7768
build_qt (windows-2025, 6.10.0) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989938962?pr=7768
build_cmake_cxxstd (windows-2022, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989939106?pr=7768
build_cmake_cxxstd (windows-2022, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989938966?pr=7768
build_cmake_cxxstd (windows-2022, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989939009?pr=7768
build_cmake_cxxstd (windows-2025, 14) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989939116?pr=7768
build_cmake_cxxstd (windows-2025, 17) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989938971?pr=7768
build_cmake_cxxstd (windows-2025, 20) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989938997?pr=7768
build (windows-2022, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989938950?pr=7768
build (windows-2022, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989938968?pr=7768
build (windows-2025, debug) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989939031?pr=7768
build (windows-2025, release) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635129/job/63989939056?pr=7768
CI-unixish-docker on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635132
build_cmake (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635132/job/63989939236?pr=7768
build_cmake (ubuntu:25.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635132/job/63989939110?pr=7768
build_make (ubuntu:24.04) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635132/job/63989939081?pr=7768
build_make (ubuntu:25.10) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635132/job/63989939058?pr=7768
thread sanitizer on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635126
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635126/job/63989939209?pr=7768
format on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635127
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635127/job/63989939154?pr=7768
CI-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635141
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635141/job/63989939107?pr=7768
Build manual on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635153
convert_via_pandoc https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635153/job/63989939117?pr=7768
manpage https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635153/job/63989939045?pr=7768
release-windows-mingw on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635140
build_mingw (windows-2025) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635140/job/63989939080?pr=7768
address sanitizer on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635149
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635149/job/63989938902?pr=7768
undefined behaviour sanitizers on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635155
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635155/job/63989939216?pr=7768
CodeQL on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635152
Analyze (cpp) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635152/job/63989939027?pr=7768
Analyze (python) https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635152/job/63989939023?pr=7768
clang-tidy on: pull_request https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635174
build https://github.com/cppcheck-opensource/cppcheck/actions/runs/22136635174/job/63989939091?pr=7768
CodeQL https://github.com/cppcheck-opensource/cppcheck/pull/7768/checks?check_run_id=63990665262
Cppcheck Premium https://github.com/cppcheck-opensource/cppcheck/pull/7768/checks?check_run_id=63990086420
SonarCloud https://github.com/cppcheck-opensource/cppcheck/pull/7768/checks?check_run_id=63990548582
SonarCloud Code Analysis https://github.com/cppcheck-opensource/cppcheck/pull/7768/checks?check_run_id=63990548985
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.