CQE: An approach to automatically estimate the code quality using an objective metric from an empirical study

Saima Arif, Miao Wang, Philip Perry, John Murphy

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

Abstract

Bugs in a project, at any stage of Software life cycle development are costly and difficult to find and fix. Moreover, the later a bug is found, the more expensive it is to fix. There are static analysis tools to ease the process of finding bugs, but their results are not easy to filter out critical errors and is time consuming to analyze. To solve this problem we used two steps: first to enhance the bugs severity and second is to estimate the code quality, by Weighted Error Code Density metric. Our experiment on 10 widely used open-source Java applications automatically shows their code quality estimated using our objective metric. We also enhance the error ranking of FindBugs, and provide a clear view on the critical errors to fix as well as low priority ones to potentially ignore.

Original languageEnglish
Title of host publicationICSOFT 2013 - Proceedings of the 8th International Joint Conference on Software Technologies
Pages198-205
Number of pages8
Publication statusPublished (in print/issue) - 11 Nov 2013
Event8th International Joint conference on Software Technologies, ICSOFT 2013 - Reykjavik, Iceland
Duration: 29 Jul 201331 Jul 2013

Conference

Conference8th International Joint conference on Software Technologies, ICSOFT 2013
Country/TerritoryIceland
CityReykjavik
Period29/07/1331/07/13

Keywords

  • Code quality
  • Process metrics
  • Static analysis

Fingerprint

Dive into the research topics of 'CQE: An approach to automatically estimate the code quality using an objective metric from an empirical study'. Together they form a unique fingerprint.

Cite this