diff --git a/README.md b/README.md index a7d7e9f71..67fbb6ba2 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,18 @@ the shared code in **conftest.py**. **1. Deekshu** +- Function 1: `buildTransform()` from **ImageCms.py** + + [Link to the commit](https://github.com/jovanovicisidora/Pillow-SEP/commit/b235d0e1c19c64870155094e98477ea9377655f2#diff-bd1e1b1de6e5b72a2a01d9d5ea74efe89541f209db5b30c16b975af71e308c67) + + Coverage Tool Output + +- Function 2: `encode_to_file` from **ImageFile.py** + + [Link to the commit](https://github.com/python-pillow/Pillow/commit/4f31cd7a31a6be2ac38773bab6f0a5451480f5b8#diff-4668a28f508bbcb68e61f9b257415dc814c22e8bb24850629fe7788ae5b7475c) + + Coverage Tool Output + **2. Duru** **3. Isidora** @@ -62,16 +74,29 @@ the shared code in **conftest.py**. [Link to the commit](https://github.com/jovanovicisidora/Pillow-SEP/commit/5701d33cbb789342ca781769d4ba7cd323c9255e#diff-44debbfd4d0c5a80130a15bdcd9e0b28c1b4fef6eda0eaaef48838c954589d15) - Implemented Coverage Tool + Coverage Tool Output - Function 2: `Bitstream.peek()` from **MpegImagePlugin.py** [Link to the commit](https://github.com/jovanovicisidora/Pillow-SEP/commit/70f6735620d2f8e469cbe5b60a4586c5db95624a#diff-0272f0c6b5871be3364fe2062e50944fba30dad9625c74d13340de7d3ad8d367) - Implemented Coverage Tool + Coverage Tool Output **4. Sofija** +- Function 1: 'decode()' from **BlpImagePlugin.py** + + [Link to commit](https://github.com/jovanovicisidora/Pillow-SEP/commit/5b375becfba73dbf9901c803348c0561f4c0021e + + Coverage Tool Output + +- Function 2: 'read_32t' from **IcnsImagePlugin.py** + + [Link to commit](https://github.com/jovanovicisidora/Pillow-SEP/commit/0496f0b1bcca554ea5fcad0e53a672551bd7c101#diff-bb9af648f9d6055f580440e268d715dae9a22a2c4bfd47afd18bd834c05e96d2) + + Coverage Tool Output + + ## Coverage improvement ### Individual tests @@ -96,6 +121,22 @@ the shared code in **conftest.py**. **1. Deekshu** +- Function 1: `buildTransform()` from **ImageCms.py** + + [Link to the commit](https://github.com/jovanovicisidora/Pillow-SEP/commit/52965eed2de5ca44eeb6c6dfb1f11778d369c6f7) + + Coverage Before + + Coverage After + +- Function 2: `encode_to_file` from **ImageFile.py** + + [Link to the commit](https://github.com/python-pillow/Pillow/commit/e39e422ca66b8cc8fbe4dbaceffa624af05f0088) + + Coverage Before + + Coverage After + **2. Duru** **3. Isidora** @@ -118,6 +159,23 @@ the shared code in **conftest.py**. **4. Sofija** +- Function 1: 'decode()' from **BlpImagePlugin.py** + + [Link to commit](https://github.com/jovanovicisidora/Pillow-SEP/commit/b4465c3711bbe7811b1f77d5d9cc78760f296463#diff-ffd01a62e614987be01f44aeed0c978fc9576964b6e6ff9d9bbba177044f1a28) + + Coverage After + + Coverage After + + +- Function 2: 'read_32t()' from **IcnsImagePlugin.py** + + [Link to commit](https://github.com/jovanovicisidora/Pillow-SEP/commit/b4465c3711bbe7811b1f77d5d9cc78760f296463#diff-ce4d7f8290dcc8eeb3ae7c5ec7a56ecf43ca6eb92fcdc74284e788ab96ae3728) + + Coverage After + + Coverage After + ### Overall First we provide a screenshot of the old coverage results by running an existing tool: @@ -126,11 +184,11 @@ First we provide a screenshot of the old coverage results by running an existing Here we show the improved overall coverage with all test modifications made by out group: -![Coverage Results After](path/to/image) +![Coverage Results After](PENDING) ## Statement of individual contributions Each group member had an equal contribution to the assignment. We first met together to determine how we can make a coverage tool that can be used across all functions (in conftest.py). Then, each -member chose two functions to instrument our coverage tool on and to make/enhance tests for them. +member chose two functions to instrument our coverage tool on and to make/enhance tests for their branch improvement. The specific functions each member chose can be seen in the report above.