René's URL Explorer Experiment


Title: Improve cyclomatic complexity by ilya-anashkin · Pull Request #842 · prometheus/client_python · GitHub

Open Graph Title: Improve cyclomatic complexity by ilya-anashkin · Pull Request #842 · prometheus/client_python

X Title: Improve cyclomatic complexity by ilya-anashkin · Pull Request #842 · prometheus/client_python

Description: Hi! Using the example of my PR, I would like to show that the library needs to improve its cyclomatic complexity. I tested with the utility radon My changes SummaryMetricFamily.__init__ - B (7) to ...

Open Graph Description: Hi! Using the example of my PR, I would like to show that the library needs to improve its cyclomatic complexity. I tested with the utility radon My changes SummaryMetricFamily.__init__ - B (7) to ...

X Description: Hi! Using the example of my PR, I would like to show that the library needs to improve its cyclomatic complexity. I tested with the utility radon My changes SummaryMetricFamily.__init__ - B (7) to ...

Opengraph URL: https://github.com/prometheus/client_python/pull/842

X: @github

direct link

Domain: patch-diff.githubusercontent.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:69616435-5d79-3703-fe73-218bba01183f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBA58:28F9BD:D8575A:128331B:696FF88B
html-safe-nonce9cd1860607ccce94327d19e2c0f05b68eadde8649bbc37bec689e7b371a6b0de
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTU4OjI4RjlCRDpEODU3NUE6MTI4MzMxQjo2OTZGRjg4QiIsInZpc2l0b3JfaWQiOiIyOTI2NzM4NDQ2OTU4NDU5MDE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2d7c91f77366f8db31ba40f14cc33b47850f7e15a7c6f307344582740d5320d8
hovercard-subject-tagpull_request:1065457198
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/prometheus/client_python/842/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1b34e951cbf2626bd59d49bfd6453f5c0893cc4892155659117c7c14ca1c1087/prometheus/client_python/pull/842
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1b34e951cbf2626bd59d49bfd6453f5c0893cc4892155659117c7c14ca1c1087/prometheus/client_python/pull/842
og:image:altHi! Using the example of my PR, I would like to show that the library needs to improve its cyclomatic complexity. I tested with the utility radon My changes SummaryMetricFamily.__init__ - B (7) to ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameilya-anashkin
hostnamegithub.com
expected-hostnamegithub.com
None61db99bbb6a7517db80567029869280bdefa9fa883092d6c2aa07ec4ea15f359
turbo-cache-controlno-preview
go-importgithub.com/prometheus/client_python git https://github.com/prometheus/client_python.git
octolytics-dimension-user_id3380462
octolytics-dimension-user_loginprometheus
octolytics-dimension-repository_id30618733
octolytics-dimension-repository_nwoprometheus/client_python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id30618733
octolytics-dimension-repository_network_root_nwoprometheus/client_python
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
release91ceb31fcdebd150222e05551caf4a28f9532341
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F842
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F842
Sign up https://patch-diff.githubusercontent.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=prometheus%2Fclient_python
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
prometheus https://patch-diff.githubusercontent.com/prometheus
client_pythonhttps://patch-diff.githubusercontent.com/prometheus/client_python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python
Fork 841 https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python
Star 4.3k https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python
Code https://patch-diff.githubusercontent.com/prometheus/client_python
Issues 108 https://patch-diff.githubusercontent.com/prometheus/client_python/issues
Pull requests 28 https://patch-diff.githubusercontent.com/prometheus/client_python/pulls
Discussions https://patch-diff.githubusercontent.com/prometheus/client_python/discussions
Actions https://patch-diff.githubusercontent.com/prometheus/client_python/actions
Projects 0 https://patch-diff.githubusercontent.com/prometheus/client_python/projects
Wiki https://patch-diff.githubusercontent.com/prometheus/client_python/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/prometheus/client_python/security
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
Insights https://patch-diff.githubusercontent.com/prometheus/client_python/pulse
Code https://patch-diff.githubusercontent.com/prometheus/client_python
Issues https://patch-diff.githubusercontent.com/prometheus/client_python/issues
Pull requests https://patch-diff.githubusercontent.com/prometheus/client_python/pulls
Discussions https://patch-diff.githubusercontent.com/prometheus/client_python/discussions
Actions https://patch-diff.githubusercontent.com/prometheus/client_python/actions
Projects https://patch-diff.githubusercontent.com/prometheus/client_python/projects
Wiki https://patch-diff.githubusercontent.com/prometheus/client_python/wiki
Security https://patch-diff.githubusercontent.com/prometheus/client_python/security
Insights https://patch-diff.githubusercontent.com/prometheus/client_python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fprometheus%2Fclient_python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842#issue-comment-box
ilya-anashkinhttps://patch-diff.githubusercontent.com/ilya-anashkin
prometheus:masterhttps://patch-diff.githubusercontent.com/prometheus/client_python/tree/master
ilya-anashkin:improve-cyclomatic-complexityhttps://patch-diff.githubusercontent.com/ilya-anashkin/client_python/tree/improve-cyclomatic-complexity
Improve cyclomatic complexity https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842#top
ilya-anashkinhttps://patch-diff.githubusercontent.com/ilya-anashkin
prometheus:masterhttps://patch-diff.githubusercontent.com/prometheus/client_python/tree/master
ilya-anashkin:improve-cyclomatic-complexityhttps://patch-diff.githubusercontent.com/ilya-anashkin/client_python/tree/improve-cyclomatic-complexity
Conversation 2 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
Commits 2 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/commits
Checks 0 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/checks
Files changed https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/files
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/prometheus/client_python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/ilya-anashkin
ilya-anashkinhttps://patch-diff.githubusercontent.com/ilya-anashkin
Sep 23, 2022https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842#issue-1383952011
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
radonhttps://pypi.org/project/radon/
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
ilya-anashkinhttps://patch-diff.githubusercontent.com/ilya-anashkin
September 23, 2022 16:32https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842#commits-pushed-a6d3f5f
https://patch-diff.githubusercontent.com/ilya-anashkin
Improve cyclomatic v.1https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/commits/a6d3f5f753340d89b1b4692dc8276e941fb46084
a6d3f5fhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/commits/a6d3f5f753340d89b1b4692dc8276e941fb46084
https://patch-diff.githubusercontent.com/ilya-anashkin
Improve cyclomatic v.2https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/commits/6425401c2595b3b3aa655e806902e8c84a6c9757
6425401https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/commits/6425401c2595b3b3aa655e806902e8c84a6c9757
https://patch-diff.githubusercontent.com/csmarchbanks
csmarchbankshttps://patch-diff.githubusercontent.com/csmarchbanks
Sep 23, 2022 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842#pullrequestreview-1119100781
View reviewed changes https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/files/6425401c2595b3b3aa655e806902e8c84a6c9757
csmarchbankshttps://patch-diff.githubusercontent.com/csmarchbanks
https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842#pullrequestreview-1119100781
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
prometheus_client/metrics_core.pyhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/files/6425401c2595b3b3aa655e806902e8c84a6c9757#diff-5fdf304fe6b730500a799f8acc264e14f1601976b7b45317b344748bb821c268
csmarchbankshttps://patch-diff.githubusercontent.com/csmarchbanks
Sep 23, 2022https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842#discussion_r979108038
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
https://patch-diff.githubusercontent.com/emgas2022
emgas2022https://patch-diff.githubusercontent.com/emgas2022
Nov 5, 2022 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842#pullrequestreview-1169317080
View reviewed changes https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/files/6425401c2595b3b3aa655e806902e8c84a6c9757
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F842
https://patch-diff.githubusercontent.com/csmarchbanks
csmarchbanks https://patch-diff.githubusercontent.com/csmarchbanks
https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/files/6425401c2595b3b3aa655e806902e8c84a6c9757
https://patch-diff.githubusercontent.com/emgas2022
emgas2022 https://patch-diff.githubusercontent.com/emgas2022
https://patch-diff.githubusercontent.com/prometheus/client_python/pull/842/files/6425401c2595b3b3aa655e806902e8c84a6c9757
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/842
https://patch-diff.githubusercontent.com/ilya-anashkin
https://patch-diff.githubusercontent.com/csmarchbanks
https://patch-diff.githubusercontent.com/emgas2022
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.