Title :
Estrangement between Classes: Test Coverage-Based Assessment of Coupling Strength between Pairs of Classes
Author :
Kakarontzas, George ; Gerogiannis, Vassilis C. ; Bibi, Stamatia ; Stamelos, Ioannis
Author_Institution :
Comput. Sci. & Eng. Dept., Technol. Educ. Inst. of Thessaly, Larissa, Greece
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.
Keywords :
program testing; reverse engineering; software maintenance; software metrics; software prototyping; Apache email component; EBC; agile software development methods; class pairs; coupling strength; dead code; design elements; estrangement between classes; over-engineered code; program maintenance; refactoring; reverse engineered class diagrams; test coverage-based assessment; test-driven approach; utility classes; Abstracts; Couplings; Electronic mail; HTML; Measurement; Testing; Unified modeling language; Coupling metrics; UML; agile methods; dynamic metrics; software design; test coverage;
Conference_Titel :
Quality of Information and Communications Technology (QUATIC), 2014 9th International Conference on the
Conference_Location :
Guimaraes
Print_ISBN :
978-1-4799-6132-0
DOI :
10.1109/QUATIC.2014.13