Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check low-coverage files #409

Open
orbeckst opened this issue Sep 19, 2024 · 0 comments
Open

check low-coverage files #409

orbeckst opened this issue Sep 19, 2024 · 0 comments

Comments

@orbeckst
Copy link
Member

orbeckst commented Sep 19, 2024

I manually checked coverage with

pytest -n 4 -v --cov=alchemlyb --pyargs alchemlyb.tests

and found a few files with (relatively) low coverage:

--------- coverage: platform darwin, python 3.10.14-final-0 ----------
Name                                                                                                   Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------------------------------------------------------------
~/envs/alchemlyb310dev/lib/python3.10/site-packages/alchemlyb/tests/parsing/test_parquet.py              38      7      2      0    82%
~/envs/alchemlyb310dev/lib/python3.10/site-packages/alchemlyb/tests/test_version.py                       9      1      0      0    89%
~/envs/alchemlyb310dev/lib/python3.10/site-packages/alchemlyb/parsing/gomc.py                           105      1     54      7    95%
~/envs/alchemlyb310dev/lib/python3.10/site-packages/alchemlyb/parsing/__init__.py                        20      0      6      1    96%

There might be some easy wins there to increase coverage further or trim unused code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant