@@ -57,38 +57,17 @@ Link to commit:(same as for the first one)
57
57
Screenshot of branch measurement:
58
58
![ image] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/113595149/94eec9b6-3dd6-46e3-b087-40892eccc10e )
59
59
60
- #### Abdullah Abdelkhalik
61
-
62
60
63
- pythagoras
64
-
65
- https://github.com/CatalinAnt/algorithms-SEP-95/commit/5651abafebe8ae3a5ea63e74883bb991acf19303
66
61
67
- ![ pythagoras_hits] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/0df1fa2b-2185-4b9f-ae65-5d969edb009b )
68
62
69
63
70
- first_unique_char
71
64
72
- https://github.com/CatalinAnt/algorithms-SEP-95/commit/c16f26e952322b2c1729778a4141a57103ba7658
73
65
74
- ![ first_unique_char_hits] ( https://github.com/CatalinAnt/algorithms-SEP-95/assets/114078193/10d7c45c-398e-4408-8f11-6771f51fa95c )
75
66
76
67
77
- #### Abdullah Abdelkhalik
78
68
79
69
80
- pythagoras
81
70
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 )
92
71
93
72
94
73
#### Almuthana Almustafa
@@ -110,6 +89,41 @@ result:
110
89
111
90
![ alt text] ( result_image_2.png )
112
91
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
+
113
127
## Coverage improvement
114
128
115
129
### Individual tests
@@ -143,6 +157,7 @@ Old coverage:<br>
143
157
144
158
Diff (LHS = new code, RHS = old code):<br >
145
159
![ LHS: new code, RHS: old code] ( image.png )
160
+ ![ alt text] ( image-9.png )
146
161
147
162
New coverage:<br >
148
163
![ new coverage result (100%)] ( image-1.png )
@@ -161,6 +176,8 @@ Diff (LHS: new code, RHS: old code):<br>
161
176
![ LHS: new code, RHS: old code] ( image-5.png ) <br >
162
177
(Changes in imports)<br >
163
178
![ LHS: new code, RHS: old code] ( image-6.png )
179
+ (Instrumentation)<br >
180
+ ![ alt text] ( image-8.png )
164
181
165
182
Old coverage:<br >
166
183
![ Old coverage result (4%)] ( image-3.png )
@@ -192,7 +209,6 @@ New coverage:
192
209
193
210
For strong_password there was a 26% coverage improvement with the existing tool and 40% with manual measurement tool.
194
211
195
-
196
212
Test 2:
197
213
198
214
In test_matrix:
@@ -212,27 +228,7 @@ New coverage:
212
228
For rotate_image, thre was a 33% coverage improvement with the existing tool and 25% with manual tool.
213
229
214
230
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
230
231
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.
236
232
237
233
## Almuthana Almustafa
238
234
@@ -267,6 +263,85 @@ existing tool result after:
267
263
268
264
The coverage improved by 86% due to the creation of new tests.
269
265
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
+
270
345
### Overall
271
346
272
347
<Provide a screenshot of the old coverage results by running an existing tool (the same as you already showed above)>
0 commit comments