Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: niekmill
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Size: 55 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 5
  • Releases: 0
Created almost 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog Funding License Code of conduct Citation Security

README.rst

Report for Assignment 1 Resit
==============================

Project Chosen:
--------------------------

- **Name:** Coveragepy
- **URL:** `https://github.com/nedbat/coveragepy/tree/master`
- **Number of lines of code and the tool used to count it:** 971593 lines with lizard
- **Programming language:** Python

Coverage Measurement with Existing Tool
----------------------------------------

- **Tool Used:** Coverage.py
- **Execution Method:** The existing tool was used through my mac terminal after fixing many failures and errors. I ran it with coverage run -m pytest and then coverage report to see the results.
- **Coverage Results:**

  .. image:: https://github.com/niekmill/SEP_resit_A1_coveragepy/raw/main/images/coverageresultOG.png
     :width: 1200
     :align: center


Coverage Improvement
---------------------


Function 1: patch_multiprocessing
---------------------------------

- **Patch or Commit Link:** 
    Test creation commit: https://github.com/niekmill/SEP_resit_A1_coveragepy/commit/49a3c9b1b7844a8bcffed5fcf8202833976d442b

- **Old Coverage Results:** 

  .. image:: https://github.com/niekmill/SEP_resit_A1_coveragepy/raw/main/images/oldpatchmultiprocessing.png
     :width: 1200
     :align: center

- **New Coverage Results:** 

  .. image:: https://github.com/niekmill/SEP_resit_A1_coveragepy/raw/main/images/improvedcovresult.png
     :width: 1200
     :align: center

- **Coverage Improvement:** 29.5%
- **Elaboration:** Added test cases to cover all cases of input, resulting in better branch coverage

Function 2: current
--------------------

- **Patch or Commit Link:** 
    Test creation commit: https://github.com/niekmill/SEP_resit_A1_coveragepy/commit/5a68a2143c837d61b23139c86f10df6cd119f101

- **Old Coverage Results:** 

  .. image:: https://github.com/niekmill/SEP_resit_A1_coveragepy/raw/main/images/oldcurrent.png
     :width: 1200
     :align: center

- **New Coverage Results:** 

  .. image:: https://github.com/niekmill/SEP_resit_A1_coveragepy/raw/main/images/improvedcovresult2.png
     :width: 1200
     :align: center

- **Coverage Improvement:** 40%
- **Elaboration:** Added test cases to cover all cases of input, resulting in better branch coverage

Overall
-------

- **Old Coverage Results:** 

  .. image:: https://github.com/niekmill/SEP_resit_A1_coveragepy/raw/main/images/coverageresultOG.png
     :width: 600
     :align: center

- **New Coverage Results:** 

  .. image:: https://github.com/niekmill/SEP_resit_A1_coveragepy/raw/main/images/coverageresultNEW.png
     :width: 600
     :align: center

Owner

  • Login: niekmill
  • Kind: user

Citation (CITATION.cff)

# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt

cff-version: 1.2.0
title: "Coverage.py: The code coverage tool for Python"
message: >-
  If you use this software, please cite it using the metadata from this file.
type: software
authors:
  - family-names: Batchelder
    given-names: Ned
    orcid: https://orcid.org/0009-0006-2659-884X
  - name: "Contributors to Coverage.py"
repository-code: "https://github.com/nedbat/coveragepy"
url: "https://coverage.readthedocs.io/"
abstract: >-
  Coverage.py is a tool for measuring code coverage of Python programs. It monitors your program,
  noting which parts of the code have been executed, then analyzes the source to identify code
  that could have been executed but was not.
  Coverage measurement is typically used to gauge the effectiveness of tests. It can show which
  parts of your code are being exercised by tests, and which are not.
license: Apache-2.0

GitHub Events

Total
  • Delete event: 6
  • Issue comment event: 5
  • Pull request event: 12
  • Create event: 6
Last Year
  • Delete event: 6
  • Issue comment event: 5
  • Pull request event: 12
  • Create event: 6

Dependencies

.github/workflows/codeql-analysis.yml actions
  • actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
  • github/codeql-action/analyze b611370bb5703a7efb587f9d136a52ea24c5c38c composite
  • github/codeql-action/autobuild b611370bb5703a7efb587f9d136a52ea24c5c38c composite
  • github/codeql-action/init b611370bb5703a7efb587f9d136a52ea24c5c38c composite
.github/workflows/coverage.yml actions
  • actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
  • actions/download-artifact 65a9edc5881444af0b9093a5e628f2fe47ea3b2e composite
  • actions/setup-python 82c7e631bb3cdc910f68e0081d67478d79c6982d composite
  • actions/upload-artifact 65462800fd760344b1a7b4382951275a0abb4808 composite
  • schneegans/dynamic-badges-action e9a478b16159b4d31420099ba146cdc50f134483 composite
.github/workflows/dependency-review.yml actions
  • actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
  • actions/dependency-review-action 72eb03d02c7872a771aacd928f3123ac62ad6d3a composite
.github/workflows/kit.yml actions
  • actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
  • actions/download-artifact 65a9edc5881444af0b9093a5e628f2fe47ea3b2e composite
  • actions/setup-python 82c7e631bb3cdc910f68e0081d67478d79c6982d composite
  • actions/upload-artifact 65462800fd760344b1a7b4382951275a0abb4808 composite
  • docker/setup-qemu-action 5927c834f5b4fdf503fca6f4c7eccda82949e1ee composite
  • sigstore/gh-action-sigstore-python 61f6a500bbfdd9a2a339cf033e5421951fbc1cd2 composite
.github/workflows/publish.yml actions
  • actions/attest-build-provenance bdd51370e0416ac948727f861e03c2f05d32d78e composite
  • actions/download-artifact 65a9edc5881444af0b9093a5e628f2fe47ea3b2e composite
  • octokit/request-action 872c5c97b3c85c23516a572f02b31401ef82415d composite
  • pypa/gh-action-pypi-publish ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 composite
.github/workflows/python-nightly.yml actions
  • actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
  • actions/setup-python 82c7e631bb3cdc910f68e0081d67478d79c6982d composite
  • deadsnakes/action 6c8b9b82fe0b4344f4b98f2775fcc395df45e494 composite
.github/workflows/quality.yml actions
  • actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
  • actions/setup-python 82c7e631bb3cdc910f68e0081d67478d79c6982d composite
.github/workflows/testsuite.yml actions
  • actions/checkout 692973e3d937129bcbf40652eb9f2f61becf3332 composite
  • actions/setup-python 82c7e631bb3cdc910f68e0081d67478d79c6982d composite
  • re-actors/alls-green 05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe composite
doc/requirements.in pypi
  • cogapp *
  • doc8 *
  • pyenchant *
  • scriv *
  • sphinx *
  • sphinx-autobuild *
  • sphinx-code-tabs *
  • sphinx-lint *
  • sphinx_rtd_theme *
  • sphinxcontrib-restbuilder *
  • sphinxcontrib-spelling *
doc/requirements.pip pypi
  • alabaster ==0.7.16
  • anyio ==4.3.0
  • attrs ==23.2.0
  • babel ==2.15.0
  • certifi ==2024.2.2
  • charset-normalizer ==3.3.2
  • click ==8.1.7
  • click-log ==0.4.0
  • cogapp ==3.4.1
  • colorama ==0.4.6
  • doc8 ==1.1.1
  • docutils ==0.20.1
  • h11 ==0.14.0
  • idna ==3.7
  • imagesize ==1.4.1
  • jinja2 ==3.1.4
  • markdown-it-py ==3.0.0
  • markupsafe ==2.1.5
  • mdurl ==0.1.2
  • packaging ==24.0
  • pbr ==6.0.0
  • polib ==1.2.0
  • pyenchant ==3.2.2
  • pygments ==2.18.0
  • regex ==2024.4.28
  • requests ==2.31.0
  • restructuredtext-lint ==1.4.0
  • scriv ==1.5.1
  • sniffio ==1.3.1
  • snowballstemmer ==2.2.0
  • sphinx ==7.3.7
  • sphinx-autobuild ==2024.4.16
  • sphinx-code-tabs ==0.5.5
  • sphinx-lint ==0.9.1
  • sphinx-rtd-theme ==2.0.0
  • sphinxcontrib-applehelp ==1.0.8
  • sphinxcontrib-devhelp ==1.0.6
  • sphinxcontrib-htmlhelp ==2.0.5
  • sphinxcontrib-jquery ==4.1
  • sphinxcontrib-jsmath ==1.0.1
  • sphinxcontrib-qthelp ==1.0.7
  • sphinxcontrib-restbuilder ==0.3
  • sphinxcontrib-serializinghtml ==1.1.10
  • sphinxcontrib-spelling ==8.0.0
  • starlette ==0.37.2
  • stevedore ==5.2.0
  • urllib3 ==2.2.1
  • uvicorn ==0.29.0
  • watchfiles ==0.21.0
  • websockets ==12.0
myenv/lib/python3.12/site-packages/mypyc/lib-rt/setup.py pypi
myenv/lib/python3.12/site-packages/pylint/config/_pylint_config/setup.py pypi
pyproject.toml pypi
requirements/combined_requirements.txt pypi
  • 108 dependencies
requirements/dev.in pypi
  • check-manifest * development
  • cogapp * development
  • greenlet * development
  • libsass * development
  • pudb * development
  • pylint * development
  • readme_renderer * development
  • requests * development
  • tabulate * development
  • twine * development
requirements/dev.pip pypi
  • astroid ==3.2.2 development
  • attrs ==23.2.0 development
  • backports-tarfile ==1.2.0 development
  • build ==1.2.1 development
  • cachetools ==5.3.3 development
  • certifi ==2024.6.2 development
  • chardet ==5.2.0 development
  • charset-normalizer ==3.3.2 development
  • check-manifest ==0.49 development
  • cogapp ==3.4.1 development
  • colorama ==0.4.6 development
  • dill ==0.3.8 development
  • distlib ==0.3.8 development
  • docutils ==0.20.1 development
  • exceptiongroup ==1.2.1 development
  • execnet ==2.1.1 development
  • filelock ==3.15.3 development
  • flaky ==3.8.1 development
  • greenlet ==3.0.3 development
  • hypothesis ==6.103.2 development
  • idna ==3.7 development
  • importlib-metadata ==7.2.0 development
  • importlib-resources ==6.4.0 development
  • iniconfig ==2.0.0 development
  • isort ==5.13.2 development
  • jaraco-classes ==3.4.0 development
  • jaraco-context ==5.3.0 development
  • jaraco-functools ==4.0.1 development
  • jedi ==0.19.1 development
  • keyring ==25.2.1 development
  • libsass ==0.23.0 development
  • markdown-it-py ==3.0.0 development
  • mccabe ==0.7.0 development
  • mdurl ==0.1.2 development
  • more-itertools ==10.3.0 development
  • nh3 ==0.2.17 development
  • packaging ==24.1 development
  • parso ==0.8.4 development
  • pip ==24.1 development
  • pkginfo ==1.11.1 development
  • platformdirs ==4.2.2 development
  • pluggy ==1.5.0 development
  • pudb ==2024.1 development
  • pygments ==2.18.0 development
  • pylint ==3.2.3 development
  • pyproject-api ==1.7.1 development
  • pyproject-hooks ==1.1.0 development
  • pytest ==8.2.2 development
  • pytest-xdist ==3.6.1 development
  • readme-renderer ==43.0 development
  • requests ==2.32.3 development
  • requests-toolbelt ==1.0.0 development
  • rfc3986 ==2.0.0 development
  • rich ==13.7.1 development
  • setuptools ==70.1.0 development
  • sortedcontainers ==2.4.0 development
  • tabulate ==0.9.0 development
  • tomli ==2.0.1 development
  • tomlkit ==0.12.5 development
  • tox ==4.15.1 development
  • tox-gh ==1.3.1 development
  • twine ==5.1.0 development
  • typing-extensions ==4.12.2 development
  • urllib3 ==2.2.2 development
  • urwid ==2.6.14 development
  • urwid-readline ==0.14 development
  • virtualenv ==20.26.3 development
  • wcwidth ==0.2.13 development
  • zipp ==3.19.2 development
requirements/kit.in pypi
  • auditwheel *
  • build *
  • cibuildwheel *
  • colorama *
  • setuptools *
  • twine *
  • wheel *
requirements/kit.pip pypi
  • auditwheel ==6.0.0
  • backports-tarfile ==1.2.0
  • bashlex ==0.18
  • bracex ==2.4
  • build ==1.2.1
  • certifi ==2024.6.2
  • charset-normalizer ==3.3.2
  • cibuildwheel ==2.19.1
  • colorama ==0.4.6
  • docutils ==0.20.1
  • filelock ==3.15.3
  • idna ==3.7
  • importlib-metadata ==7.2.0
  • importlib-resources ==6.4.0
  • jaraco-classes ==3.4.0
  • jaraco-context ==5.3.0
  • jaraco-functools ==4.0.1
  • keyring ==25.2.1
  • markdown-it-py ==3.0.0
  • mdurl ==0.1.2
  • more-itertools ==10.3.0
  • nh3 ==0.2.17
  • packaging ==24.1
  • pkginfo ==1.11.1
  • platformdirs ==4.2.2
  • pyelftools ==0.31
  • pygments ==2.18.0
  • pyproject-hooks ==1.1.0
  • readme-renderer ==43.0
  • requests ==2.32.3
  • requests-toolbelt ==1.0.0
  • rfc3986 ==2.0.0
  • rich ==13.7.1
  • setuptools ==70.1.0
  • tomli ==2.0.1
  • twine ==5.1.0
  • typing-extensions ==4.12.2
  • urllib3 ==2.2.2
  • wheel ==0.43.0
  • zipp ==3.19.2
requirements/light-threads.in pypi
  • cffi >=1.12.2
  • eventlet *
  • gevent *
  • greenlet *
requirements/light-threads.pip pypi
  • cffi ==1.16.0
  • dnspython ==2.6.1
  • eventlet ==0.36.1
  • gevent ==24.2.1
  • greenlet ==3.0.3
  • pycparser ==2.22
  • setuptools ==70.1.0
  • zope-event ==5.0
  • zope-interface ==6.4.post2
requirements/mypy.in pypi
  • mypy *
  • types-requests *
  • types-tabulate *
requirements/mypy.pip pypi
  • attrs ==23.2.0
  • colorama ==0.4.6
  • exceptiongroup ==1.2.1
  • execnet ==2.1.1
  • flaky ==3.8.1
  • hypothesis ==6.103.2
  • iniconfig ==2.0.0
  • mypy ==1.10.0
  • mypy-extensions ==1.0.0
  • packaging ==24.1
  • pluggy ==1.5.0
  • pygments ==2.18.0
  • pytest ==8.2.2
  • pytest-xdist ==3.6.1
  • sortedcontainers ==2.4.0
  • tomli ==2.0.1
  • types-requests ==2.32.0.20240622
  • types-tabulate ==0.9.0.20240106
  • typing-extensions ==4.12.2
  • urllib3 ==2.2.2
requirements/pins.pip pypi
requirements/pip-tools.in pypi
  • pip-tools *
requirements/pip-tools.pip pypi
  • build ==1.2.1
  • click ==8.1.7
  • importlib-metadata ==7.2.0
  • packaging ==24.1
  • pip ==24.1
  • pip-tools ==7.4.1
  • pyproject-hooks ==1.1.0
  • setuptools ==70.1.0
  • tomli ==2.0.1
  • wheel ==0.43.0
  • zipp ==3.19.2
requirements/pip.in pypi
  • pip *
  • setuptools *
  • virtualenv *
requirements/pip.pip pypi
  • distlib ==0.3.8
  • filelock ==3.15.3
  • pip ==24.1
  • platformdirs ==4.2.2
  • setuptools ==70.1.0
  • virtualenv ==20.26.3
requirements/pytest.in pypi
  • colorama * test
  • flaky * test
  • hypothesis * test
  • pygments * test
  • pytest * test
  • pytest-xdist * test
requirements/pytest.pip pypi
  • attrs ==23.2.0 test
  • colorama ==0.4.6 test
  • exceptiongroup ==1.2.1 test
  • execnet ==2.1.1 test
  • flaky ==3.8.1 test
  • hypothesis ==6.103.2 test
  • iniconfig ==2.0.0 test
  • packaging ==24.1 test
  • pluggy ==1.5.0 test
  • pygments ==2.18.0 test
  • pytest ==8.2.2 test
  • pytest-xdist ==3.6.1 test
  • sortedcontainers ==2.4.0 test
  • tomli ==2.0.1 test
requirements/tox.in pypi
  • colorama >=0.4.1
  • tox *
  • tox-gh *
requirements/tox.pip pypi
  • cachetools ==5.3.3
  • chardet ==5.2.0
  • colorama ==0.4.6
  • distlib ==0.3.8
  • filelock ==3.15.3
  • packaging ==24.1
  • platformdirs ==4.2.2
  • pluggy ==1.5.0
  • pyproject-api ==1.7.1
  • tomli ==2.0.1
  • tox ==4.15.1
  • tox-gh ==1.3.1
  • virtualenv ==20.26.3
setup.py pypi