{"title":"A Cognitive Measurement of Complexity and Comprehension for Object-Oriented Code","authors":"Amit Kumar Jakhar, Kumar Rajnish","volume":111,"journal":"International Journal of Computer and Information Engineering","pagesStart":643,"pagesEnd":651,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/10005807","abstract":"<p>Inherited complexity is one of the difficult tasks in software engineering field. Further, it is said that there is no physical laws or standard guidelines suit for designing different types of software. Hence, to make the software engineering as a matured engineering discipline like others, it is necessary that it has its own theoretical frameworks and laws. Software designing and development is a human effort which takes a lot of time and considers various parameters for successful completion of the software. The cognitive informatics plays an important role for understanding the essential characteristics of the software. The aim of this work is to consider the fundamental characteristics of the source code of Object-Oriented software i.e. complexity and understandability. The complexity of the programs is analyzed with the help of extracted important attributes of the source code, which is further utilized to evaluate the understandability factor. The aforementioned characteristics are analyzed on the basis of 16 C++ programs by distributing them to forty MCA students. They all tried to understand the source code of the given program and mean time is taken as the actual time needed to understand the program. For validation of this work, Briand&rsquo;s framework is used and the presented metric is also evaluated comparatively with existing metric which proves its robustness.<\/p>\r\n","references":"[1]\tF.L. Bauer, \u201cSoftware Engineering\u201d, Information Processing, 1972.\r\n[2]\tE.W. Dijkstra, A Discipline of Programming, Prentice-Hall, Englewood Cliffs, NJ, 1976\r\n[3]\tF.P. Brooks, \u201cNo Silver Bullet: Essence and Accidents of Software Engineering\u201d, IEEE Computer, vol. 20, no. 4, 1987, pp. 10-19.\r\n[4]\tJ.F. Peters and W. Pedrycz, Software Engineering: An Engineering Approach, John Wiley & Sons, Inc., NY, 1998.\r\n[5]\tY. Wang, \u201cSoftware Engineering Foundations: A Trans disciplinary and Rigorous Perspective\u201d, CRC Book Series in Software Engineering, Vol. 2, 2006.\r\n[6]\tIEEE CS, \u201cIEEE Standard Glossary of Software Engineering Terminology\u201d, IEEE Standard 610.12, (1990).  \r\n[7]\tI. Sommerville, Software Engineering, 8th edition, Boston, MA: Addison-Wesley, 2007.\r\n[8]\tR. Rei\u00dfing, \u201cTowards a model for object-oriented design measurement\u201d, In 5th International ECOOP workshop on quantitative approaches in object-oriented software engineering, 2001, pp. 71-84.\r\n[9]\tS.R. Chidamber and C.F. Kemerer, \u201cA metrics suite for object oriented design\u201d, IEEE Transactions on Software Engineering, vol. 20, no. 6, 1994, pp. 476-493.\r\n[10]\tR. Harrison, S.J. Counsell and R.V. Nithi, \u201cAn evaluation of the MOOD set of object-oriented software metrics\u201d, IEEE Transactions on Software Engineering, vol. 24, no. 6, 1998, pp. 491-496.\r\n[11]\tM. Lorenz, J. Kidd, Object-oriented software metrics, Englewood Cliffs, New Jersey: Prentice Hall, 1994. \r\n[12]\tV.R. Basili, L.C. Briand, and W.L. Melo, \u201cA validation of object-oriented design metrics as quality indicators\u201d, IEEE Transactions on Software Engineering, vol. 22, no. 10, 1996, pp. 751-761.\r\n[13]\tS. Purao, and V. Vaishnavi, \u201cProduct metrics for object-oriented systems\u201d. ACM Computing Surveys (CSUR), vol. 35, no. 2, pp. 191-221.\r\n[14]\tV.K. Vaishnavi, S. Purao, and J. Liegle, \u201cObject-oriented product metrics: A generic framework\u201d, Information Sciences, vol. 177 no. 2, 2007, pp. 587-606.\r\n[15]\tS. Misra and I. Akman, \u201cWeighted class complexity: A measure of complexity for object \u2013oriented system\u201d Journal of Information Science and Engineering, vol. 24, 2008, pp. 1689-1708.\r\n[16]\tS. Misra, I. Akman and M. Koyuncu, \u201cAn inheritance complexity metric for object-oriented code: A cognitive approach\u201d, Sadhana, vol. 36, no. 3, 2007, pp. 317-337.\r\n[17]\tA.K. Jakhar and K. Rajnish, \u201cMeasure of Complexity for Object-Oriented Programs: A Cognitive Approach\u201d, In Proc. of 3rd International Conf. on Advanced Computing, Networking and Informatics: ICACNI, vol. 2, 2015, pp. 397-404.\r\n[18]\tY. Wang, \u201cOn the Cognitive Informatics Foundations of Software Engineering\u201d, Proc. of the 3rd IEEE International Conf. on Cognitive Informatics, 2004, pp. 21-31.\r\n[19]\tY. Wang and J. Shao, \u201cA new measure of software complexity based on cognitive Weights\u201d, IEEE Canadian Journal of Electrical and Computer Engineering, vol. 28, no. 2, 2003, pp. 69-74.\r\n[20]\tL.C. Briand and J. W\u00fcst, \u201cModeling development effort in object-oriented systems using design properties\u201d, IEEE Transactions on Software Engineering, vol. 27, no. 11, 2011, pp. 963-986.\r\n[21]\tY. Wang and J. Shao, \u201cMeasurement of the Cognitive Functional Complexity of Software\u201d, in Proc. of 2nd IEEE International Conf. on Cognitive Informatics, 2003, pp. 69-74.\r\n[22]\tD. Abbot, \u201cA design complexity metric for object-oriented development\u201d, Unpublished Master\u2019s Thesis, Department of Computer Science, Clemson University, U.S.A, 1993.\r\n[23]\tC. Kaner, \u201cSoftware Engineering Metrics: What do they Measure and how do we know?\u201d, In In Metrics 2004, IEEE, CS.\t\r\n[24]\tA. Kamthane, Object-Oriented Programming with ANSI & Turbo C++, Pearson Education, Fourth Edition, India, 2003.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 111, 2016"}