René's URL Explorer Experiment


Title: generate `AddonInfo` only once by firewave · Pull Request #4958 · cppcheck-opensource/cppcheck · GitHub

Open Graph Title: generate `AddonInfo` only once by firewave · Pull Request #4958 · cppcheck-opensource/cppcheck

X Title: generate `AddonInfo` only once by firewave · Pull Request #4958 · cppcheck-opensource/cppcheck

Description: Currently the AddonInfo is generated and discarded on each addon invocation. This leads to an unnecessary process invocation for each addon on each file. Also if an addon is completely broken we will still perform the whole analysis only for it to be failed at the end so we should bail out early if we know it doesn't work at all.

Open Graph Description: Currently the AddonInfo is generated and discarded on each addon invocation. This leads to an unnecessary process invocation for each addon on each file. Also if an addon is completely broken we wi...

X Description: Currently the AddonInfo is generated and discarded on each addon invocation. This leads to an unnecessary process invocation for each addon on each file. Also if an addon is completely broken we wi...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:78c9fbb7-d64b-4f29-f0dd-c751dec016a9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F9C:1187B3:3C77FA:4F4AC6:6A52F4DB
html-safe-noncee918b5eec5d5789403786fd061e71dd7325986f86ba7c0469e87f9de372bd732
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjlDOjExODdCMzozQzc3RkE6NEY0QUM2OjZBNTJGNERCIiwidmlzaXRvcl9pZCI6IjkwMTgxMjAwNjEyNzg0MTgxMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7b85f263755950468b4db1c93c8a1f16c24949bd260241cafaf86559b75a47c4
hovercard-subject-tagpull_request:1312416801
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/4958/files
twitter:imagehttps://avatars.githubusercontent.com/u/242857?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/242857?s=400&v=4
og:image:altCurrently the AddonInfo is generated and discarded on each addon invocation. This leads to an unnecessary process invocation for each addon on each file. Also if an addon is completely broken we wi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fcppcheck%2Fpull%2F4958%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%2F4958%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/4958/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files
Reloadhttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/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 201 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
firewavehttps://github.com/firewave
cppcheck-opensource:mainhttps://github.com/cppcheck-opensource/cppcheck/tree/main
firewave:addoninfohttps://github.com/firewave/cppcheck/tree/addoninfo
Conversation 14 https://github.com/cppcheck-opensource/cppcheck/pull/4958
Commits 4 https://github.com/cppcheck-opensource/cppcheck/pull/4958/commits
Checks 0 https://github.com/cppcheck-opensource/cppcheck/pull/4958/checks
Files changed https://github.com/cppcheck-opensource/cppcheck/pull/4958/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files
generate AddonInfo only once https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#top
Show all changes 4 commits https://github.com/cppcheck-opensource/cppcheck/pull/4958/files
a9c687f extracted `AddonInfo` into separate file / minor `AddonInfo` interfac… firewave Apr 1, 2023 https://github.com/cppcheck-opensource/cppcheck/pull/4958/commits/a9c687f0df874123379e6f5f81296c7147bad807
3e2d7e1 fetch addon infos only once and store them in `Settings::addonInfos` firewave Apr 14, 2023 https://github.com/cppcheck-opensource/cppcheck/pull/4958/commits/3e2d7e17286c7461a136b75690ffd824491ed565
404e2a0 CppCheckExecutor: report all addon loading failures at once firewave Jul 27, 2023 https://github.com/cppcheck-opensource/cppcheck/pull/4958/commits/404e2a07cbf8a9c90e0c4369aa16259a39286faa
23c4863 fixed `functionStatic` selfcheck warning firewave Sep 26, 2023 https://github.com/cppcheck-opensource/cppcheck/pull/4958/commits/23c486364abe81b5b3639bb74783cde94b97d915
Clear filters https://github.com/cppcheck-opensource/cppcheck/pull/4958/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files
Makefile https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
cppcheckexecutor.cpp https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-f4d43c3baf8c85745069cdf61a4022d74c2ef7775edf71106faf22f718644fed
cppcheckexecutor.h https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-2252eece183673301fa76bab57d0bc6a08d752f813c1c6f1fa4ddcdc6647fde8
mainwindow.cpp https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-a770b38eec6ec2db8cf024fa000a50ac6a82c025d3b19c7f9a99338dfcc60bf3
addoninfo.cpp https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-c4cf7856c785516786498c0a55d47728fbf32085714031457c664b92a1216bf7
addoninfo.h https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-5edc0da523869259eb87620ffdb6cab7391aa8cd4808972c6c7f76573f8ce311
cppcheck.cpp https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
cppcheck.vcxproj https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-f211c602c63581bcf943c28db872668a826c8f4093dfa0ce7e2e7f4dcd4950f6
lib.pri https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-af307b84b173e67e6f15090583a01985ec013d9d0abaf424233a9b6f28890038
settings.h https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-34a60752241a92f038497865f201a447fd59934d2d81459d74dcf8667a35cc87
releasenotes.txt https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-60116afb0cb9bf1c0d7b20af08977561b4cf54fc176dfa33adaf9c042b0dca42
test-other.py https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-9be7d6b6f27c18eb47eb630bb487dd0dfc942272b62c7d31ed4fbe81743d5cd7
testcmdlineparser.cpp https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-8b141a9f3a03437e1ae061c050b55527810bcdbafbcf710a5b18b3d2bfa947c9
Makefilehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
View file https://github.com/firewave/cppcheck/blob/23c486364abe81b5b3639bb74783cde94b97d915/Makefile
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files
cli/cppcheckexecutor.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-f4d43c3baf8c85745069cdf61a4022d74c2ef7775edf71106faf22f718644fed
View file https://github.com/firewave/cppcheck/blob/23c486364abe81b5b3639bb74783cde94b97d915/cli/cppcheckexecutor.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/4958/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-f4d43c3baf8c85745069cdf61a4022d74c2ef7775edf71106faf22f718644fed
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-f4d43c3baf8c85745069cdf61a4022d74c2ef7775edf71106faf22f718644fed
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-f4d43c3baf8c85745069cdf61a4022d74c2ef7775edf71106faf22f718644fed
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-f4d43c3baf8c85745069cdf61a4022d74c2ef7775edf71106faf22f718644fed
cli/cppcheckexecutor.hhttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-2252eece183673301fa76bab57d0bc6a08d752f813c1c6f1fa4ddcdc6647fde8
View file https://github.com/firewave/cppcheck/blob/23c486364abe81b5b3639bb74783cde94b97d915/cli/cppcheckexecutor.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/4958/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-2252eece183673301fa76bab57d0bc6a08d752f813c1c6f1fa4ddcdc6647fde8
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-2252eece183673301fa76bab57d0bc6a08d752f813c1c6f1fa4ddcdc6647fde8
gui/mainwindow.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-a770b38eec6ec2db8cf024fa000a50ac6a82c025d3b19c7f9a99338dfcc60bf3
View file https://github.com/firewave/cppcheck/blob/23c486364abe81b5b3639bb74783cde94b97d915/gui/mainwindow.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/4958/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-a770b38eec6ec2db8cf024fa000a50ac6a82c025d3b19c7f9a99338dfcc60bf3
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-a770b38eec6ec2db8cf024fa000a50ac6a82c025d3b19c7f9a99338dfcc60bf3
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-a770b38eec6ec2db8cf024fa000a50ac6a82c025d3b19c7f9a99338dfcc60bf3
lib/addoninfo.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-c4cf7856c785516786498c0a55d47728fbf32085714031457c664b92a1216bf7
View file https://github.com/firewave/cppcheck/blob/23c486364abe81b5b3639bb74783cde94b97d915/lib/addoninfo.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/4958/{{ revealButtonHref }}
danmarhttps://github.com/danmar
Oct 8, 2023https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#r1349657347
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files
firewavehttps://github.com/firewave
Oct 8, 2023https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#r1349745751
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files
firewavehttps://github.com/firewave
Oct 8, 2023https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#r1349756750
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files
firewavehttps://github.com/firewave
Oct 8, 2023https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#r1349758023
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files
lib/addoninfo.hhttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-5edc0da523869259eb87620ffdb6cab7391aa8cd4808972c6c7f76573f8ce311
View file https://github.com/firewave/cppcheck/blob/23c486364abe81b5b3639bb74783cde94b97d915/lib/addoninfo.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/4958/{{ revealButtonHref }}
lib/cppcheck.cpphttps://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
View file https://github.com/firewave/cppcheck/blob/23c486364abe81b5b3639bb74783cde94b97d915/lib/cppcheck.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/cppcheck/pull/4958/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
https://github.com/cppcheck-opensource/cppcheck/pull/4958/files#diff-925c3b2fbb05c80e182f2b91beeddbec52d71b834acdff75f1e08c54ef47bfff
Please reload this pagehttps://github.com/cppcheck-opensource/cppcheck/pull/4958/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.