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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Gosling, J., Joy, B., Steele, G., Bracha, G.: The Java Language Specification, 3rd edn. Addison-Wesley Professional (2005)
Copeland, T., et al.: PMD, http://pmd.sourceforge.org
Pugh, B., Hovemeyer, D., Langmead, B., et al. (2011), Findbugs - FindBugs in Java programs, http://pmd.sourceforge.org
Metrics 1.3.6 (2011), http://metrics.sourceforge.net
CheckStyle 5.3 (2011), http://checkstyle.sourceforge.net
Loose Research Group, inFusion (2011), http://loose.cs.upt.ro
Spieler, J.: Unnecessary code detector (2011), http://www.ucdetector.org
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)
International Standard Organization, ISO/IEC 9126 information technology software product evaluation - quality characteristics and their guidelines for their use (2005)
World Wide Web Consortium, Xml extensible markup language technology (2011), http://www.w3.org/standards/xml/
Gutzmann, T.: Recoder (2011), http://recoder.sourceforge.net
Sun Microsystems, Java Compiler Compiler (JavaCC) - the Java Parser Generator (2011), https://javacc.dev.java.net
Copeland, T.: Generating parser with JavaCC (2011), http://generatingparserswithjavacc.com/
Chidamber, S.R., Kemerer, C.F.: Towards a metrics suite for object-oriented design. In: Proceedings of OOPSLA 1991, pp. 197–211 (1991)
Spinellis, D.: Chidamber and Kemerer Java metrics, ckjm (2007), http://www.spinellis.gr/sw/ckjm/
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)
Martin, R.C.: OO design quality metrics an analysis of dependencies (1994), http://www.objectmentor.com/resources/articles/oodmetrc.pdf
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag GmbH Berlin Heidelberg
About this chapter
Cite this chapter
Chirilă, CB., Creţu, V. (2012). A Set of Java Metrics for Software Quality Tree Based on Static Code Analyzers. In: Precup, RE., Kovács, S., Preitl, S., Petriu, E. (eds) Applied Computational Intelligence in Engineering and Information Technology. Topics in Intelligent Engineering and Informatics, vol 1. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-28305-5_12
Download citation
DOI: https://doi.org/10.1007/978-3-642-28305-5_12
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-28304-8
Online ISBN: 978-3-642-28305-5
eBook Packages: EngineeringEngineering (R0)