Skip to content
Open access

Impact of Dynamic Polymorphism on Quality of a System

2020 · Journal of Science & Technology · 0 citations

Abstract

Polymorphism has a great impact on the quality of a software .It is mainly of two types, compile time or static polymorphism based on method overloading and runtime or dynamic based on method overriding. If a class is highly polymorphic i.e. reusability of that class is high. If the class is less polymorphic then reusability of that class is low. There are only few metrics available inliterature to find the polymorphism factor of a class. In this paper, we introduce a new metric to find polymorphism of a class at compile time and runtime and compare with the existing metric. The purposed metric is applied on 4 design patterns having different behaviour. Dynamic polymorphism is calculated with the help of purposed tool named DynaPolyimplemented in AspectJ using aspect oriented programming in java. Eclipse platform is used to perform coding of tool using AspectJAfter analysing the results, it is concluded that purposed metric plays a vital role to find reusability, hence quality of a system and gives better results than existing metrics.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.