Impact of Dynamic Polymorphism on Quality of a System

Authors

  • Manju
  • Pradeep Kumar Bhatia

Keywords:

Polymorphism, quality, metric, reusability

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 in literature 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 DynaPoly implemented in AspectJ using aspect oriented programming in java. Eclipse platform is used to perform coding of tool using AspectJ After 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.

Downloads

Published

2020-04-09

How to Cite

Manju, & Bhatia, P. K. (2020). Impact of Dynamic Polymorphism on Quality of a System. Journal of Science & Technology (JST), 5(2), 54–59. Retrieved from https://jst.org.in/index.php/pub/article/view/269