Abstract
This work discusses a new metric, Estrangement Between Classes (EBC), that is derived by executing tests. This metric is based on the statement coverage of tests and provides assessment of the strength of associations between classes. We demonstrate with an illustrative example of the popular Apache Email component that this new metric can provide additional information in reverse engineered class diagrams by highlighting missing associations in these diagrams, the strength of existing associations and utility classes. It can also be effective in indicating the important design elements in cases of over-engineered or dead code. The proposed metric can be potentially used in the context of agile methods of software development during refactoring and program maintenance as comprehension aid. Since EBC is based on tests, no additional effort is required by developers who follow the Test-Driven approach or generally develop tests.
Original language | English |
---|---|
Title of host publication | Proceedings - 2014 9th International Conference on the Quality of Information and Communications Technology, QUATIC 2014 |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 48-57 |
Number of pages | 10 |
ISBN (Electronic) | 9781479961337 |
DOIs | |
Publication status | Published - 12 Dec 2014 |
Event | 9th International Conference on the Quality of Information and Communications Technology, QUATIC 2014 - Guimaraes, Portugal Duration: 23 Sept 2014 → 26 Sept 2014 |
Other
Other | 9th International Conference on the Quality of Information and Communications Technology, QUATIC 2014 |
---|---|
Country/Territory | Portugal |
City | Guimaraes |
Period | 23/09/14 → 26/09/14 |
Keywords
- agile methods
- Coupling metrics
- dynamic metrics
- software design
- test coverage
- UML