Name: pythonping
URL: https://github.com/alessandromaggio/pythonping.git
Number of lines of code and the tool used to count it: The number of lines of code (nloc) is 1023, and the tool used to count the nloc was Lizard.
Programming language: Python
The tool used to measure the coverage was Coverage.py and it was executed by running the command 'sumo coverage run -m unittest discover test' in the terminal.
Link to commit showing newly added test case to improve coverage: https://github.com/OrestisKal/pythonping-OK/commit/b5192759d4847b0fdbaf91853f532d52dd3f903f
The coverage improvement is an increase of 100%. Initially, none of the branches were executed, but after creating a new test case that targeted the three branches, including the invisible 'else' branch, each branch was executed. Thus, a 100% branch coverage.
Link to commit showing additions to the existing test case to improve coverage: https://github.com/OrestisKal/pythonping-OK/commit/5d51b73c06640458bb4d4b9a5cf18858d70bf81c
The coverage improvement is an increase of 100%. To begin with, the branch coverage of the function was 0%, despite having an existing test case. After enhancing the existing test case to call on the function, both branches including the invisible 'else' branch were executed. Thus, a 100% branch coverage for the function.