Project 2 - V&V SW Analysis II
Solution 1
Summary
| Overall File Coverage | Statement(%) | Branch/Decision(%) | MC/DC(%) |
| Testtrain.c | 60% | 68% | n/a |
| Procedure Name | Statement(%) | Branch/Decision(%) | MC/DC(%) |
| equalsides | 100% | 100% | n/a |
| printtype | 100% | 100% | n/a |
| datanoma | 100% | 100% | n/a |
| knots | 0% | 0% | n/a |
| main | 0% | 0% | n/a |
Solution 2
File Summary
| Name | Statement(%) | Branch/Decision(%) | MC/DC(%) |
| Main.c | 0% | 0% | n/a |
| productdatabase.c | 95% | 95% | n/a |
| specialoffer.c | 100% | 100% | n/a |
| userinterface.c | 100% | 100% | 100% |
Procedure Summary
| Name | Statement(%) | Branch/Decision(%) | MC/DC(%) |
| Main | 0% | 0% | n/a |
| Productdatabase_getProduct | 100% | 100% | n/a |
| Productdatabase_getCountedProduct | 90% | 88% | n/a |
| Productdatabase_getSpecificCountedProduct | 100% | 100% | n/a |
| Productdatabase_resetCountedProducts | 100% | 100% | n/a |
| Specialoffer_getPrice | 100% | 100% | n/a |
| goodbye | 100% | n/a | n/a |
| randomShopping | 100% | 100% | n/a |
| Userinterface_help | 100% | n/a | n/a |
| Userinterface_parse | 100% | 100% | 100% |
| Userinterface_print | 100% | n/a | n/a |
| Userinterface_show | 100% | n/a | n/a |