Name: Click
URL: https://github.com/pallets/click
Number of lines of code and the tool used to count it: 14,037 Lizard
Programming language: Python
The coverage tool used was coverage.py with command coverage run -m pytest, coverage report and coverage html .
Alara Karadeniz
Function 1:
Name: "_get_error_message"
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/c612660fde5326be83b8cc7207100d6a13241857
Screenshot of instrumentation working before adding tests: 
Function 2:
Name: "getattr"
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/c612660fde5326be83b8cc7207100d6a13241857
Screenshot of instrumentation working before adding tests: 
Rares Stefan Dica
Function 1:
Name: "is_ascii_encoding"
Link to commit: https://github.com/pallets/click/commit/0858e7bffd56ad7ec2fe7c8b7b7bbc855212f133
Screenshot of instrumentation working before adding tests:
Function 2:
Name: "get_text_stream"
Link to commit: https://github.com/pallets/click/commit/0858e7bffd56ad7ec2fe7c8b7b7bbc855212f133
Screenshot of instrumentation working before adding tests:
Constantin-Catalin Ionascu
Function 1:
Name: "_is_binary_reader"
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/3a6c4a6855251c8b261b1f07c62fef0db0de438f
Screenshot of instrumentation working before adding tests: 
Function 2:
Name: "_is_binary_writer"
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/3a6c4a6855251c8b261b1f07c62fef0db0de438f
Screenshot of instrumentation working before adding tests: 
Ana-Maria Musca
Function 1:
Name: "make_str"
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/71d46eed43359d72a335026824a2476b7a56ad5e
Screenshot of instrumentation working before adding tests:
Function 2:
Name: "should_strip_ansi"
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/71d46eed43359d72a335026824a2476b7a56ad5e
Screenshot of instrumentation working before adding tests:
Alara Karadeniz
Test 1:
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/c612660fde5326be83b8cc7207100d6a13241857
Screenshot of new coverage after tests: 
The coverage was improved by 100%, initially being 0% and now being 100%. The coverage was improved due creating 3 tests to hit each branch that exists in the function that was not hit before.
Test 2:
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/c612660fde5326be83b8cc7207100d6a13241857
Screenshot of new coverage after tests: 
The coverage was improved by 50%, initially being 50% and now being 100%. The coverage was improved due creating 2 tests to hit each branch that exists in the function that was not hit before.
Rares Stefan Dica
Test 1:
Link to commit: https://github.com/pallets/click/commit/0858e7bffd56ad7ec2fe7c8b7b7bbc855212f133
Screenshot of new coverage after tests:
The coverage improvement was by 50%, initially being 50% now it is 100%. The coverage improved because the new test now also covers the exception part of the function.
Test 2:
Link to commit: https://github.com/pallets/click/commit/0858e7bffd56ad7ec2fe7c8b7b7bbc855212f133
Screenshot of new coverage after tests:
The coverage improvement was by 100%, initially being 0%. The coverage improved due to the new tests covering both the try and error parts of the function.
Constantin-Catalin Ionascu
Test 1:
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/3a6c4a6855251c8b261b1f07c62fef0db0de438f
Screenshot of new coverage after tests: 
The coverage improvement was by 100%, initially being 50%. The coverage improved due to the new tests covering both the try and except parts of the function.
Test 2:
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/3a6c4a6855251c8b261b1f07c62fef0db0de438f
Screenshot of new coverage after tests: 
The coverage improvement was by 100%, initially being 66%. The coverage improved due to the new tests covering both the try and except parts of the function.
Ana-Maria Musca
Test 1:
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/71d46eed43359d72a335026824a2476b7a56ad5e
Screenshot of new coverage after tests:
The coverage improvement was by 75%, initially being 25%, now it is 100%. The coverage improved because the new test now also covers the case when the input is provided unter byte form, the try and the exception part of the function.
Test 2:
Link to commit: https://github.com/Catalin-Ionascu/clickgroup23/commit/71d46eed43359d72a335026824a2476b7a56ad5e
Screenshot of new coverage after tests:
The coverage improvement was by 50%, initially being 50%, now it is 100%. The coverage improved due to the new tests covering both the case when a color is provided and when a stream argument has a None value.
Screenshots of the coverage result before:
Screenshot of the coverage result after:
Alara Karadeniz Contribution:
My personal contribution consisted of:
- helping in finding a relevant project
- contributing in trying to create the coverage tool
- helping in trying to organize meetings
- doing my part regarding the whole main tasks: instrumenting my functions, screenshotting the results for the before and after coverages
Rares Dica Contribution:
My personal contribution consisted of:
- helping in finding a relevant project
- having a big contribution in building the coverage script for calculating the coverage
- dealing with organizational matters such as structuring the repository
- doing my part regarding the whole main tasks: instrumenting my functions, screenshotting the results for the before and after coverages
Constantin-Catalin Ionascu Contribution:
My personal contribution consisted of:
- helping in the final moments of finding a relevant project
- forked the repository
- set up organizational rules for using the repository, such as patterns
- assisting team members in setting up different tools, such as coverage.py and lizard
- doing my part regarding the whole main tasks: instrumenting my functions, screenshotting the results for the before and after coverages
Ana-Maria Musca Contribution:
My personal contribution consisted of:
- helping in finding a relevant project
- mobilized the team and scheduled meetings for working on the project and checking every member's progress
- having contribution in designing our coverage tool
- doing my part regarding the whole main tasks: instrumenting my functions, screenshotting the results for the before and after coverages