Name: Python
URL: https://github.com/geekcomputers/Python
Number of lines of code and the tool used to count it: <31401>
Programming language:
<Coverage.py>
BinaryExponentiation
https://github.com/Timmermans13/Python/blob/Francis-Branch/power_of_n.py
is_balanced
https://github.com/Timmermans13/Python/blob/Francis-Branch/balance_parenthesis.py
<Test 1: pow-test-one>
https://github.com/Timmermans13/Python/blob/Francis-Branch/power_of_n.py
<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: bal_case-two-test>
https://github.com/Timmermans13/Python/blob/Francis-Branch/balance_parenthesis.py
<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%>
Old cov:
Francis:
New cov:
Francis:
Francis: I have made coverage measurements of two functions and I have addedone test case for each function to improve the coverage.