Estimating Quality of JavaScript
Sanjay Misra1 and Ferid Cafer2
1Department of Computer Engineering, Atilim University, Turkey
2Servus Bilgisayar, Turkey
1Department of Computer Engineering, Atilim University, Turkey
2Servus Bilgisayar, Turkey
Abstract: This paper proposes a complexity metric for Java script since JavaScript is the most popular scripting language that can run in all of the major web browsers. The proposed metric “JavaScript Cognitive Complexity Measure (JCCM)” is intended to assess the design quality of scripts. The metrics has been evaluated theoretically and validated empirically through real test cases. The metric has also been compared with other similar metrics. The theoretical, empirical validation and comparative study prove the worth and robustness of the metric.
Keywords: Software engineering, software quality, software metrics, and java script.
Received July 21, 2010; accepted January 3, 2011