Estimating Quality of JavaScript

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.

[1]  Sanjay Misra,et al.  Weighted Class Complexity: A Measure of Complexity for Object Oriented Systems , 2008, J. Inf. Sci. Eng..

[2]  Maurice H. Halstead,et al.  Elements of software science , 1977 .

[3]  Sanjay Misra,et al.  Data Complexity Metrics for XML Web Services , 2009 .

[4]  Yingxu Wang,et al.  A new measure of software complexity based on cognitive weights , 2003 .

[5]  Shari Lawrence Pfleeger,et al.  Software Metrics : A Rigorous and Practical Approach , 1998 .

[6]  Elaine J. Weyuker,et al.  Evaluating Software Complexity Measures , 2010, IEEE Trans. Software Eng..

[7]  Norman E. Fenton,et al.  Measurement : A Necessary Scientific Basis , 2004 .

[8]  Yingxu Wang,et al.  A new measure of software complexity based on cognitive weights , 2003, Canadian Journal of Electrical and Computer Engineering.

[9]  Arun Kumar Misra,et al.  Improved cognitive information complexity measure: a metric that establishes program comprehension effort , 2006, SOEN.

[10]  Lionel C. Briand,et al.  A Controlled Experiment for Evaluating Quality Guidelines on the Maintainability of Object-Oriented Designs , 2001, IEEE Trans. Software Eng..

[11]  Anas N. Al-Rabadi,et al.  A comparison of modified reconstructability analysis and Ashenhurst‐Curtis decomposition of Boolean functions , 2004 .

[12]  Chris F. Kemerer,et al.  Reliability of function points measurement: a field experiment , 2015, CACM.

[13]  Shari Lawrence Pfleeger,et al.  Software metrics (2nd ed.): a rigorous and practical approach , 1997 .

[14]  Joseph K. Kearney,et al.  Software complexity measurement , 1986, CACM.

[15]  Ron Weber,et al.  Toward a Theory of the Deep Structure of Information Systems , 1990, ICIS.

[16]  Horst Zuse,et al.  A Framework of Software Measurement , 1998 .

[17]  Roger S. Pressman,et al.  Software Engineering: A Practitioner's Approach , 1982 .

[18]  Genny Tortora,et al.  Class point: an approach for the size estimation of object-oriented systems , 2005, IEEE Transactions on Software Engineering.

[19]  Sanjay Misra,et al.  Measuring and Evaluating a Design Complexity Metric for XML Schema Documents , 2009, J. Inf. Sci. Eng..

[20]  Ron Weber,et al.  Research on Structured Programming: An Empiricist's Evaluation , 1984, IEEE Transactions on Software Engineering.