Skip to content

Files

Latest commit

 

History

History
80 lines (45 loc) · 2.39 KB

README.md

File metadata and controls

80 lines (45 loc) · 2.39 KB

Report for Assignment 1

Project chosen

Name: beets

URL: https://github.com/beetbox/beets.git

We used lizard in VScode to count the lines of code. The number of lines was: 113408(In Python 48992 lines because 43% of the project is Python).

Programming language: Python

Coverage measurement

Existing tool

We used the tool Coverage.py. Steps we took to do the test:

  1. Enter the repository path in vscode.
  2. Inside the repository, we went to path "/test".
  3. We then executed the coverage tool on the inbuild unit tester with the command: "coverage run .".
  4. After the testing, we ran the command: "coverage report" to get the coverage test results.

Screenshot of coverage results:

Screenshot part 1

Screenshot part 1

Screenshot part 2

Screenshot part 2

Screenshot part 3

Screenshot part 3

Your own coverage tool

<Function 1 name>

<Show a patch (diff) or a link to a commit made in your forked repository that shows the instrumented code to gather coverage measurements>

<Function 2 name>

<Provide the same kind of information provided for Function 1>

Coverage improvement

Individual tests

<Test 1>

<Show a patch (diff) or a link to a commit made in your forked repository that shows the new/enhanced test>

<Provide a screenshot of the old coverage results (the same as you already showed above)>

<Test 2>

<Provide the same kind of information provided for Test 1>

Overall

<Provide a screenshot of the old coverage results by running an existing tool (the same as you already showed above)>

Statement of individual contributions