@@ -57,38 +57,17 @@ Link to commit:(same as for the first one)
5757Screenshot of branch measurement:
5858![ image] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/113595149/94eec9b6-3dd6-46e3-b087-40892eccc10e )
5959
60- #### Abdullah Abdelkhalik
61-
6260
63- pythagoras
64-
65- https://github.com/CatalinAnt/algorithms-SEP-95/commit/5651abafebe8ae3a5ea63e74883bb991acf19303
6661
67- ![ pythagoras_hits] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/0df1fa2b-2185-4b9f-ae65-5d969edb009b )
6862
6963
70- first_unique_char
7164
72- https://github.com/CatalinAnt/algorithms-SEP-95/commit/c16f26e952322b2c1729778a4141a57103ba7658
7365
74- ![ first_unique_char_hits] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/10d7c45c-398e-4408-8f11-6771f51fa95c )
7566
7667
77- #### Abdullah Abdelkhalik
7868
7969
80- pythagoras
8170
82- https://github.com/CatalinAnt/algorithms-SEP-95/commit/5651abafebe8ae3a5ea63e74883bb991acf19303
83-
84- ![ pythagoras_hits] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/0df1fa2b-2185-4b9f-ae65-5d969edb009b )
85-
86-
87- first_unique_char
88-
89- https://github.com/CatalinAnt/algorithms-SEP-95/commit/c16f26e952322b2c1729778a4141a57103ba7658
90-
91- ![ first_unique_char_hits] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/10d7c45c-398e-4408-8f11-6771f51fa95c )
9271
9372
9473#### Almuthana Almustafa
@@ -110,6 +89,41 @@ result:
11089
11190![ alt text] ( result_image_2.png )
11291
92+ #### Ayman Errahmouni
93+
94+ ##### Function 1: simplify_path_v2
95+
96+ [ Link the commit] ( https://github.com/CatalinAnt/algorithms-SEP-95/pull/2/commits/22ee6fa1df4785596c603af61a725c558973eb0b )
97+
98+ Screenshot of branch measurement:<br >
99+ ![ alt text] ( image-7.png )
100+
101+ ##### Function 2: insertion_sort
102+
103+ [ Link to commit] ( https://github.com/CatalinAnt/algorithms-SEP-95/pull/2/commits/5dae7f28036f89b7f6ff673639a922dd714aff3e )
104+
105+ Screenshot of branch measurement:<br >
106+ ![ alt text] ( image-11.png )
107+
108+ #### Catalin Antonescu
109+
110+ ##### Function 1: strong_password
111+
112+ Link to commit:
113+ [ https://github.com/CatalinAnt/algorithms-SEP-95/commit/eaad6d32ecd73bb8fde876a4d4852cb522aea6f8 ] ( https://github.com/CatalinAnt/algorithms-SEP-95/commit/2b0b9187c1c040e4476b1ca14f2c2249273566b7 )
114+
115+ Screenshot of branch measurement:
116+ ![ image] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/113595149/e718a47f-5ea0-412c-b250-25a193412164 )
117+
118+ ##### Function 2: rotate_image
119+
120+ Link to commit:(same as for the first one)
121+ [ https://github.com/CatalinAnt/algorithms-SEP-95/commit/eaad6d32ecd73bb8fde876a4d4852cb522aea6f8 ] ( https://github.com/CatalinAnt/algorithms-SEP-95/commit/2b0b9187c1c040e4476b1ca14f2c2249273566b7 )
122+
123+ Screenshot of branch measurement:
124+ ![ image] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/113595149/94eec9b6-3dd6-46e3-b087-40892eccc10e )
125+
126+
113127## Coverage improvement
114128
115129### Individual tests
@@ -143,6 +157,7 @@ Old coverage:<br>
143157
144158Diff (LHS = new code, RHS = old code):<br >
145159![ LHS: new code, RHS: old code] ( image.png )
160+ ![ alt text] ( image-9.png )
146161
147162New coverage:<br >
148163![ new coverage result (100%)] ( image-1.png )
@@ -161,6 +176,8 @@ Diff (LHS: new code, RHS: old code):<br>
161176![ LHS: new code, RHS: old code] ( image-5.png ) <br >
162177(Changes in imports)<br >
163178![ LHS: new code, RHS: old code] ( image-6.png )
179+ (Instrumentation)<br >
180+ ![ alt text] ( image-8.png )
164181
165182Old coverage:<br >
166183![ Old coverage result (4%)] ( image-3.png )
@@ -192,7 +209,6 @@ New coverage:
192209
193210For strong_password there was a 26% coverage improvement with the existing tool and 40% with manual measurement tool.
194211
195-
196212Test 2:
197213
198214In test_matrix:
@@ -212,27 +228,7 @@ New coverage:
212228 For rotate_image, thre was a 33% coverage improvement with the existing tool and 25% with manual tool.
213229
214230
215- ## Abdullah Abdelkhalik
216-
217- test_maths
218-
219- https://github.com/CatalinAnt/algorithms-SEP-95/commit/60832d9c672efd586848077cc41a52630d34371b
220-
221- ![ pythagoras_before] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/cf57112b-1aef-4a10-a41f-bd4b797e2012 )
222-
223- ![ pythagoras_after] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/1aa45c17-46fc-49d3-944a-03c2276d1be6 )
224-
225- the coverage is improved by 28%, the code only hit one of the five branches and cover only one of the three cases of the pythagoras theory. I added the other two cases, i could have a fourth case where none of the cases is present.
226-
227- test_strings
228-
229- https://github.com/CatalinAnt/algorithms-SEP-95/commit/5651abafebe8ae3a5ea63e74883bb991acf19303
230231
231- ![ first_unique_char_before] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/9910ec69-73b0-4c87-afc8-abc01f65a423 )
232-
233- ![ first_unique_char_after] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/10859fac-776c-4a48-8a1c-9531afcbfa9b )
234-
235- The coverage is improved by 13%, the code only hit three out of five branches and only set up two examples. I added a case where there is no unique letter.
236232
237233## Almuthana Almustafa
238234
@@ -267,6 +263,85 @@ existing tool result after:
267263
268264The coverage improved by 86% due to the creation of new tests.
269265
266+
267+
268+
269+
270+
271+
272+
273+
274+
275+
276+
277+
278+
279+
280+
281+
282+
283+
284+
285+
286+
287+
288+
289+ #### Abdullah Abdelkhalik
290+
291+
292+ pythagoras
293+
294+ https://github.com/CatalinAnt/algorithms-SEP-95/commit/5651abafebe8ae3a5ea63e74883bb991acf19303
295+
296+ ![ pythagoras_hits] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/c61bff67-be7e-4bd2-b892-0a0f2dada1f3 )
297+
298+
299+
300+
301+ first_unique_char
302+
303+ https://github.com/CatalinAnt/algorithms-SEP-95/commit/c16f26e952322b2c1729778a4141a57103ba7658
304+
305+ ![ first_unique_char_hits (2)] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/8c1b704e-cadb-4f54-aea7-795005348538 )
306+
307+
308+
309+
310+
311+ ## Improvements
312+
313+ test_maths
314+
315+ https://github.com/CatalinAnt/algorithms-SEP-95/commit/60832d9c672efd586848077cc41a52630d34371b
316+
317+ ![ pythagoras_before] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/cf57112b-1aef-4a10-a41f-bd4b797e2012 )
318+
319+ ![ pythagoras_after] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/1aa45c17-46fc-49d3-944a-03c2276d1be6 )
320+
321+ the coverage is improved by 28%, the code only hit one of the five branches and cover only one of the three cases of the pythagoras theory. I added the other two cases, i could have a fourth case where none of the cases is present.
322+
323+ test_strings
324+
325+ https://github.com/CatalinAnt/algorithms-SEP-95/commit/5651abafebe8ae3a5ea63e74883bb991acf19303
326+
327+ ![ first_unique_char_before] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/9910ec69-73b0-4c87-afc8-abc01f65a423 )
328+
329+ ![ first_unique_char_after] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/10859fac-776c-4a48-8a1c-9531afcbfa9b )
330+
331+ The coverage is improved by 13%, the code only hit three out of five branches and only set up two examples. I added a case where there is no unique letter.
332+
333+
334+
335+
336+
337+
338+
339+
340+
341+
342+
343+
344+
270345### Overall
271346
272347<Provide a screenshot of the old coverage results by running an existing tool (the same as you already showed above)>
0 commit comments