Abstract

Source code is core of Software engineering. Source code of good quality can be maintained and upgraded easily. Source code quality can be broken down in factors like maintainability, reusability, change proneness, testability and stability. These quality factors are high level representation of code quality and cannot be measured directly. Research in field of source code quality has proposed enormous amount of code metrics that measure quality in different aspects like complexity, size, coupling, cohesion and abstractness etc. This study proposes a framework named Object Oriented Code Quality Meter (OOCQM) for measuring source code quality of object-oriented code using low level code metrics and high-level quality factors. Code metrics has a proven relationship with quality factors. This relationship is used to calculate a numerical value for quality factors based on metric values. It is observed that all selected metrics has negative correlation with mapped quality factor. Quality factors scores are aggregated and used to depict quality of code in numerical form. A PHP based tool is developed to validate the results. Framework results are compared with Maintainability Index (MI) which is popular quality measure in terms of code maintainability. OOCQM measures code quality correctly as quality results are correct according to MI. This framework provides more detail at individual quality factors level. OOCQM is compared with few other tools developed for quality measurement. Comparison shows that this tool supports more quality factors analysis than other tools.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.