René's URL Explorer Experiment


Title: Improve test coverage · Issue #514 · canopen-python/canopen · GitHub

Open Graph Title: Improve test coverage · Issue #514 · canopen-python/canopen

X Title: Improve test coverage · Issue #514 · canopen-python/canopen

Description: I'd like to raise the test suite cover more of the code base, as a part of the preparations for #358. Currently, coverage.py reports 73% code coverage when run locally: Name Stmts Miss Cover ----------------------------------------------...

Open Graph Description: I'd like to raise the test suite cover more of the code base, as a part of the preparations for #358. Currently, coverage.py reports 73% code coverage when run locally: Name Stmts Miss Cover ------...

X Description: I'd like to raise the test suite cover more of the code base, as a part of the preparations for #358. Currently, coverage.py reports 73% code coverage when run locally: Name Stmts Miss Cover --...

Opengraph URL: https://github.com/canopen-python/canopen/issues/514

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve test coverage","articleBody":"I'd like to raise the test suite cover more of the code base, as a part of the preparations for #358.\n\nCurrently, `coverage.py` reports 73% code coverage when run locally:\n\n```\nName                                    Stmts   Miss  Cover\n-----------------------------------------------------------\ncanopen/__init__.py                        12      2    83%\ncanopen/_version.py                        11      2    82%\ncanopen/emcy.py                            71     19    73%\ncanopen/lss.py                            181    106    41%\ncanopen/network.py                        165     21    87%\ncanopen/nmt.py                            133      2    98%\ncanopen/node/__init__.py                    2      0   100%\ncanopen/node/base.py                        9      0   100%\ncanopen/node/local.py                      81     10    88%\ncanopen/node/remote.py                     81     37    54%\ncanopen/objectdictionary/__init__.py      306     37    88%\ncanopen/objectdictionary/datatypes.py      82      8    90%\ncanopen/objectdictionary/eds.py           349     38    89%\ncanopen/objectdictionary/epf.py            81     81     0%\ncanopen/pdo/__init__.py                    36      8    78%\ncanopen/pdo/base.py                       374    108    71%\ncanopen/profiles/__init__.py                0      0   100%\ncanopen/profiles/p402.py                  277    176    36%\ncanopen/sdo/__init__.py                     5      0   100%\ncanopen/sdo/base.py                        93     20    78%\ncanopen/sdo/client.py                     461     92    80%\ncanopen/sdo/constants.py                   27      0   100%\ncanopen/sdo/exceptions.py                  14      5    64%\ncanopen/sdo/server.py                     127      9    93%\ncanopen/sync.py                            19      7    63%\ncanopen/timestamp.py                       15      0   100%\ncanopen/utils.py                           13      1    92%\ncanopen/variable.py                        98     42    57%\n-----------------------------------------------------------\nTOTAL                                    3123    831    73%\n```\n\n73% is very promising; getting up to 80% is the next milestone.\n\nIn #504, I raised the coverage of `canopen/nmt.py` to 98%. I'm going to continue with `canopen/network.py` (anticipate PR in a day or two). Feel free to join!\n\nI'll update this list as progress is made:\n\n- [x] `canopen/emcy.py`: WIP\n- [x] `canopen/lss.py`\n- [x] `canopen/network.py`:\n      - #515\n      - #517\n- [x] `canopen/nmt.py`: #504\n- [x] `canopen/node/base.py`\n- [x] `canopen/node/local.py`\n- [ ] `canopen/node/remote.py`\n- [ ] `canopen/objectdictionary/__init__.py`\n- [ ] `canopen/objectdictionary/datatypes.py`\n- [x] `canopen/objectdictionary/eds.py`\n- [ ] `canopen/objectdictionary/epf.py`\n- [ ] `canopen/pdo/__init__.py`\n- [ ] `canopen/pdo/base.py`\n- [ ] `canopen/profiles/p402.py`\n- [ ] `canopen/sdo/base.py`\n- [ ] `canopen/sdo/client.py`\n- [x] `canopen/sdo/constants.py`\n- [ ] `canopen/sdo/exceptions.py`\n- [ ] `canopen/sdo/server.py`\n- [x] `canopen/sync.py`: WIP\n- [x] `canopen/timestamp.py`\n- [ ] `canopen/utils.py`\n- [ ] `canopen/variable.py`","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2024-07-10T22:07:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/514/canopen/issues/514"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:86770516-31d4-8dce-a38b-2bbda9f5e902
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id901A:2658D0:6D05F28:957BD94:6A5EAA2E
html-safe-noncefe4dd652e044b3250eb0956caa6c4ed7cbb045167df720ba3c25415d5bf2734f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDFBOjI2NThEMDo2RDA1RjI4Ojk1N0JEOTQ6NkE1RUFBMkUiLCJ2aXNpdG9yX2lkIjoiMTg1OTE5MzM0NTk1NDE5NjAxNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac37a6f85871d3e8e1ee4d08cdc93cd0d6886532e9b85e6c1faa9bcec9a32eacab
hovercard-subject-tagissue:2401820395
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/canopen-python/canopen/514/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cbf47c7b94b02e81f2f1f4e811fa6d75969e7ad1539d554a9641c6aec1756cce/canopen-python/canopen/issues/514
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cbf47c7b94b02e81f2f1f4e811fa6d75969e7ad1539d554a9641c6aec1756cce/canopen-python/canopen/issues/514
og:image:altI'd like to raise the test suite cover more of the code base, as a part of the preparations for #358. Currently, coverage.py reports 73% code coverage when run locally: Name Stmts Miss Cover ------...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameerlend-aasland
hostnamegithub.com
expected-hostnamegithub.com
None7c7e31acb6a895494e518b880f5ccf39604f7fa9a8f2f3c64145efc3b776256d
turbo-cache-controlno-preview
go-importgithub.com/canopen-python/canopen git https://github.com/canopen-python/canopen.git
octolytics-dimension-user_id200581454
octolytics-dimension-user_logincanopen-python
octolytics-dimension-repository_id68737600
octolytics-dimension-repository_nwocanopen-python/canopen
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id68737600
octolytics-dimension-repository_network_root_nwocanopen-python/canopen
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
release2d2ac9bdd71d5f53f2b731c9330677e38624e301
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/canopen-python/canopen/issues/514#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcanopen-python%2Fcanopen%2Fissues%2F514
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Fcanopen-python%2Fcanopen%2Fissues%2F514
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=canopen-python%2Fcanopen
Reloadhttps://github.com/canopen-python/canopen/issues/514
Reloadhttps://github.com/canopen-python/canopen/issues/514
Reloadhttps://github.com/canopen-python/canopen/issues/514
Please reload this pagehttps://github.com/canopen-python/canopen/issues/514
canopen-python https://github.com/canopen-python
canopenhttps://github.com/canopen-python/canopen
Notifications https://github.com/login?return_to=%2Fcanopen-python%2Fcanopen
Fork 359 https://github.com/login?return_to=%2Fcanopen-python%2Fcanopen
Star 561 https://github.com/login?return_to=%2Fcanopen-python%2Fcanopen
Code https://github.com/canopen-python/canopen
Issues 53 https://github.com/canopen-python/canopen/issues
Pull requests 20 https://github.com/canopen-python/canopen/pulls
Discussions https://github.com/canopen-python/canopen/discussions
Actions https://github.com/canopen-python/canopen/actions
Projects https://github.com/canopen-python/canopen/projects
Security and quality 0 https://github.com/canopen-python/canopen/security
Insights https://github.com/canopen-python/canopen/pulse
Code https://github.com/canopen-python/canopen
Issues https://github.com/canopen-python/canopen/issues
Pull requests https://github.com/canopen-python/canopen/pulls
Discussions https://github.com/canopen-python/canopen/discussions
Actions https://github.com/canopen-python/canopen/actions
Projects https://github.com/canopen-python/canopen/projects
Security and quality https://github.com/canopen-python/canopen/security
Insights https://github.com/canopen-python/canopen/pulse
Improve test coveragehttps://github.com/canopen-python/canopen/issues/514#top
code-qualityhttps://github.com/canopen-python/canopen/issues?q=state%3Aopen%20label%3A%22code-quality%22
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
on Jul 10, 2024https://github.com/canopen-python/canopen/issues/514#issue-2401820395
#358https://github.com/canopen-python/canopen/issues/358
#504https://github.com/canopen-python/canopen/pull/504
Tests: improve coverage of Network #515https://github.com/canopen-python/canopen/pull/515
Tests: improve coverage of NodeScanner #517https://github.com/canopen-python/canopen/pull/517
Add tests for NMT base and NMT master #504https://github.com/canopen-python/canopen/pull/504
code-qualityhttps://github.com/canopen-python/canopen/issues?q=state%3Aopen%20label%3A%22code-quality%22
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.