Estrangement between classes: Test coverage-based assessment of coupling strength between pairs of classes

George Kakarontzas, Vassilis C. Gerogiannis, Stamatia Bibi, Ioannis Stamelos

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    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 languageEnglish
    Title of host publicationProceedings - 2014 9th International Conference on the Quality of Information and Communications Technology, QUATIC 2014
    PublisherInstitute of Electrical and Electronics Engineers Inc.
    Pages48-57
    Number of pages10
    ISBN (Electronic)9781479961337
    DOIs
    Publication statusPublished - 12 Dec 2014
    Event9th International Conference on the Quality of Information and Communications Technology, QUATIC 2014 - Guimaraes, Portugal
    Duration: 23 Sept 201426 Sept 2014

    Other

    Other9th International Conference on the Quality of Information and Communications Technology, QUATIC 2014
    Country/TerritoryPortugal
    CityGuimaraes
    Period23/09/1426/09/14

    Keywords

    • agile methods
    • Coupling metrics
    • dynamic metrics
    • software design
    • test coverage
    • UML

    Fingerprint

    Dive into the research topics of 'Estrangement between classes: Test coverage-based assessment of coupling strength between pairs of classes'. Together they form a unique fingerprint.

    Cite this