A Set of Java Metrics for Software Quality Tree Based on Static Code Analyzers

Part of the Topics in Intelligent Engineering and Informatics book series (TIEI, volume 1)

Abstract

Assessing software quality allows cost cuts from the early development stages. Software quality information helps taking development decisions, checking fault corrections effect, estimating maintenance effort. Our fault density based quality model relies on static source code analyzers and on a set of language specific metrics. We compute the fault ratio for each static analyzer rule. Giving user defined weights to fault ratios we can quantify quality as a number. We identified, described informally and implemented in a prototype a set of Java metrics in order to fulfill our model and to accomplish our quality assessment goal.

Keywords

Quality Factor Software Quality Code Analyzer Java Source Code Quality Assessment Model 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Gosling, J., Joy, B., Steele, G., Bracha, G.: The Java Language Specification, 3rd edn. Addison-Wesley Professional (2005)Google Scholar
  2. 2.
    Copeland, T., et al.: PMD, http://pmd.sourceforge.org
  3. 3.
    Pugh, B., Hovemeyer, D., Langmead, B., et al. (2011), Findbugs - FindBugs in Java programs, http://pmd.sourceforge.org
  4. 4.
    Metrics 1.3.6 (2011), http://metrics.sourceforge.net
  5. 5.
    CheckStyle 5.3 (2011), http://checkstyle.sourceforge.net
  6. 6.
    Loose Research Group, inFusion (2011), http://loose.cs.upt.ro
  7. 7.
    Spieler, J.: Unnecessary code detector (2011), http://www.ucdetector.org
  8. 8.
    Chirila, C.B., Cretu, V.: A suite of Java specific metrics for software quality assessment based on statical code analyzers. In: Proceedings of 6th IEEE International Symposium on Applied Computational Intelligence and Informatics (SACI 2011), Timisoara, Romania, pp. 347–352 (2011)Google Scholar
  9. 9.
    International Standard Organization, ISO/IEC 9126 information technology software product evaluation - quality characteristics and their guidelines for their use (2005)Google Scholar
  10. 10.
    World Wide Web Consortium, Xml extensible markup language technology (2011), http://www.w3.org/standards/xml/
  11. 11.
    Gutzmann, T.: Recoder (2011), http://recoder.sourceforge.net
  12. 12.
    Sun Microsystems, Java Compiler Compiler (JavaCC) - the Java Parser Generator (2011), https://javacc.dev.java.net
  13. 13.
    Copeland, T.: Generating parser with JavaCC (2011), http://generatingparserswithjavacc.com/
  14. 14.
    Chidamber, S.R., Kemerer, C.F.: Towards a metrics suite for object-oriented design. In: Proceedings of OOPSLA 1991, pp. 197–211 (1991)Google Scholar
  15. 15.
    Spinellis, D.: Chidamber and Kemerer Java metrics, ckjm (2007), http://www.spinellis.gr/sw/ckjm/
  16. 16.
    McCabe, T.J.: A complexity measure. In: Proceedings of 2nd International Conference on Software Engineering (ICSE 1976), Los Alamitos, CA, USA, pp. 308–320 (1976)Google Scholar
  17. 17.
    Martin, R.C.: OO design quality metrics an analysis of dependencies (1994), http://www.objectmentor.com/resources/articles/oodmetrc.pdf

Copyright information

© Springer-Verlag GmbH Berlin Heidelberg 2012

Authors and Affiliations

  1. 1.Faculty of Automation and Computers“Politehnica” University TimişoaraTimisoaraRomania

Personalised recommendations