Yayın:
Metric Based Detection of Refused Bequest Code Smell

dc.contributor.authorMerzah, Baydaa M.
dc.contributor.authorSelcuk, Yunus E.
dc.date.accessioned2026-06-27T14:10:22Z
dc.date.issued2017
dc.description.abstractThe concept of code smell was introduced as a signs of internal design flaws within the software. Code smells detection has become a mandatory technique to detect code issues that may affect negatively on the software quality by causing problems for further development and maintenance. Accordingly, the consensus is that all types of code smells need to be refactored to deny or diminish such issues. The refactoring techniques can get rid of particular design flaws or principle violations, and restore the code fragment that present a smell, to an acceptable quality level. In the context of object oriented systems, the concept of inheritance has been known as a key feature proposed to increase the amount of software reusability. However, using inheritance is not always the best solution, particularly if it is utilized in improper cases where other types of relationships would be more appropriate. One of the particular issues that violate inheritance principles is the Refused Bequest code smell. It is related to an inheritance hierarchy where a subclass does not obligate the interface inherited from its parent class. Some studies, mentioned in Section 2, had been made to detect the Refused Bequest smell. In this paper we present a new detection strategy by computing the similarity between common methods of the base class with the overridden methods of the sub-class, and then by calculating the average of these values for the given sub-class. That average value is defined as a new metric in our detection mechanism.en
dc.description.urihttps://doi.org/10.1109/cicn.2017.14
dc.identifier.doi10.1109/cicn.2017.14
dc.identifier.endpage57
dc.identifier.isbn978-1-5090-5001-7
dc.identifier.issn2375-8244
dc.identifier.startpage53
dc.identifier.urihttps://hdl.handle.net/20.500.14981/57530
dc.identifier.wos000432249700012
dc.language.isoeng
dc.publisherIEEE
dc.relation.conference9th International Conference on Computational Intelligence and Communication Networks (CICN)
dc.relation.ispartof2017 9TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMMUNICATION NETWORKS (CICN)
dc.subjectsoftware quality
dc.subjectcode smells
dc.subjectrefused bequest
dc.subjectobject oriented metrics
dc.subjectsimilarity between methods
dc.subjectComputer Science
dc.subjectEngineering
dc.subjectTelecommunications
dc.titleMetric Based Detection of Refused Bequest Code Smell
dc.typeProceedings Paper
dspace.entity.typePublication
local.import.sourceWOS

Dosyalar

Koleksiyonlar