Skip to content

geekcomputers/Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Report for Assignment 1

Project chosen

Name:

URL: https://github.com/geekcomputers/Python

Number of lines of code and the tool used to count it: <31401>

Programming language:

Coverage measurement

Existing tool

<Coverage.py>

Your own coverage tool

https://github.com/Timmermans13/Python/blob/Francis-Branch/power_of_n.py

<![]https://github.com/Timmermans13/Python/blob/Francis-Branch/Coverage_old_results_function_1.png>

<is_balanced>

https://github.com/Timmermans13/Python/blob/Francis-Branch/balance_parenthesis.py

https://github.com/Timmermans13/Python/blob/Francis-Branch/balance_parenthesis_old_cov_inst.png

Coverage improvement

Individual tests

<Test 1>

https://github.com/Timmermans13/Python/blob/Francis-Branch/power_of_num_tests.py

https://github.com/Timmermans13/Python/blob/Francis-Branch/Coverage_old_results_function_1.png

https://github.com/Timmermans13/Python/blob/Francis-Branch/Coverage_new_results_function_1.png

<The test I have provided tests the with the branch where n is equal to 0 (pow-case-1). This was the only branch that was not covered, hence improving the branch coverage to 100%>

<Test 2>

https://github.com/Timmermans13/Python/blob/Francis-Branch/balance_parenthesis.py

https://github.com/Timmermans13/Python/blob/Francis-Branch/balance_parenthesis_old_cov_inst.png

https://github.com/Timmermans13/Python/blob/Francis-Branch/balance_parenthesis_new_cov_inst.png

<The test I have provided tests the with the branch where the string empty (bal-case-2). This was the only branch that was not covered, hence improving the branch coverage to 100%>

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