InfoSys 2023 Congress
March 13, 2023 to March 17, 2023 - Barcelona, Spain

  • ICNS 2023, The Nineteenth International Conference on Networking and Services
  • ICAS 2023, The Nineteenth International Conference on Autonomic and Autonomous Systems
  • ENERGY 2023, The Thirteenth International Conference on Smart Grids, Green Communications and IT Energy-aware Technologies
  • WEB 2023, The Eleventh International Conference on Building and Exploring Web Based Environments
  • DBKDA 2023, The Fifteenth International Conference on Advances in Databases, Knowledge, and Data Applications
  • SIGNAL 2023, The Eighth International Conference on Advances in Signal, Image and Video Processing
  • BIOTECHNO 2023, The Fifteenth International Conference on Bioinformatics, Biocomputational Systems and Biotechnologies

InfoWare 2023 Congress
March 13, 2023 to March 17, 2023 - Barcelona, Spain

  • ICCGI 2023, The Eighteenth International Multi-Conference on Computing in the Global Information Technology
  • ICWMC 2023, The Nineteenth International Conference on Wireless and Mobile Communications
  • VEHICULAR 2023, The Twelfth International Conference on Advances in Vehicular Systems, Technologies and Applications
  • INTERNET 2023, The Fifteenth International Conference on Evolving Internet
  • COLLA 2023, The Thirteenth International Conference on Advanced Collaborative Networks, Systems and Applications
  • INTELLI 2023, The Twelfth International Conference on Intelligent Systems and Applications
  • VISUAL 2023, The Eighth International Conference on Applications and Systems of Visual Paradigms
  • HUSO 2023, The Ninth International Conference on Human and Social Analytics
  • BRAININFO 2023, The Eighth International Conference on Neuroscience and Cognitive Brain Information

NexComm 2023 Congress
April 24, 2023 to April 28, 2023 - Venice, Italy

  • ICDT 2023, The Eighteenth International Conference on Digital Telecommunications
  • SPACOMM 2023, The Fifteenth International Conference on Advances in Satellite and Space Communications
  • ICN 2023, The Twenty-Second International Conference on Networks
  • ICONS 2023, The Eighteenth International Conference on Systems
  • MMEDIA 2023, The Fifteenth International Conference on Advances in Multimedia
  • PESARO 2023, The Thirteenth International Conference on Performance, Safety and Robustness in Complex Systems and Applications
  • CTRQ 2023, The Sixteenth International Conference on Communication Theory, Reliability, and Quality of Service
  • ALLDATA 2023, The Ninth International Conference on Big Data, Small Data, Linked Data and Open Data
  • SOFTENG 2023, The Ninth International Conference on Advances and Trends in Software Engineering

DigitalWorld 2023 Congress
April 24, 2023 to April 28, 2023 - Venice, Italy

  • ICDS 2023, The Seventeenth International Conference on Digital Society
  • ACHI 2023, The Sixteenth International Conference on Advances in Computer-Human Interactions
  • GEOProcessing 2023, The Fifteenth International Conference on Advanced Geographic Information Systems, Applications, and Services
  • eTELEMED 2023, The Fifteenth International Conference on eHealth, Telemedicine, and Social Medicine
  • eLmL 2023, The Fifteenth International Conference on Mobile, Hybrid, and On-line Learning
  • eKNOW 2023, The Fifteenth International Conference on Information, Process, and Knowledge Management
  • ALLSENSORS 2023, The Eighth International Conference on Advances in Sensors, Actuators, Metering and Sensing
  • SMART ACCESSIBILITY 2023, The Eighth International Conference on Universal Accessibility in the Internet of Things and Smart Environments

DataSys 2023 Congress
June 26, 2023 to June 30, 2023 - Nice, Saint-Laurent-du-Var, France

  • AICT 2023, The Nineteenth Advanced International Conference on Telecommunications
  • ICIW 2023, The Eighteenth International Conference on Internet and Web Applications and Services
  • ICIMP 2023, The Eighteenth International Conference on Internet Monitoring and Protection
  • SMART 2023, The Twelfth International Conference on Smart Cities, Systems, Devices and Technologies
  • IMMM 2023, The Thirteenth International Conference on Advances in Information Mining and Management
  • INFOCOMP 2023, The Thirteenth International Conference on Advanced Communications and Computation
  • MOBILITY 2023, The Thirteenth International Conference on Mobile Services, Resources, and Users
  • SPWID 2023, The Ninth International Conference on Smart Portable, Wearable, Implantable and Disability-oriented Devices and Systems
  • ACCSE 2023, The Eighth International Conference on Advances in Computation, Communications and Services

ComputationWorld 2023 Congress
June 26, 2023 to June 30, 2023 - Nice, Saint-Laurent-du-Var, France

  • SERVICE COMPUTATION 2023, The Fifteenth International Conference on Advanced Service Computing
  • CLOUD COMPUTING 2023, The Fourteenth International Conference on Cloud Computing, GRIDs, and Virtualization
  • FUTURE COMPUTING 2023, The Fifteenth International Conference on Future Computational Technologies and Applications
  • COGNITIVE 2023, The Fifteenth International Conference on Advanced Cognitive Technologies and Applications
  • ADAPTIVE 2023, The Fifteenth International Conference on Adaptive and Self-Adaptive Systems and Applications
  • CONTENT 2023, The Fifteenth International Conference on Creative Content Technologies
  • PATTERNS 2023, The Fifteenth International Conference on Pervasive Patterns and Applications
  • COMPUTATION TOOLS 2023, The Fourteenth International Conference on Computational Logics, Algebras, Programming, Tools, and Benchmarking
  • BUSTECH 2023, The Thirteenth International Conference on Business Intelligence and Technology

NetWare 2023 Congress
September 25, 2023 to September 29, 2023 - Porto, Portugal

  • SENSORCOMM 2023, The Seventeenth International Conference on Sensor Technologies and Applications
  • SENSORDEVICES 2023, The Fourteenth International Conference on Sensor Device Technologies and Applications
  • SECURWARE 2023, The Seventeenth International Conference on Emerging Security Information, Systems and Technologies
  • AFIN 2023, The Fifteenth International Conference on Advances in Future Internet
  • CENICS 2023, The Sixteenth International Conference on Advances in Circuits, Electronics and Micro-electronics
  • ICQNM 2023, The Seventeenth International Conference on Quantum, Nano/Bio, and Micro Technologies
  • FASSI 2023, The Ninth International Conference on Fundamentals and Advances in Software Systems Integration
  • GREEN 2023, The Eighth International Conference on Green Communications, Computing and Technologies

NexTech 2023 Congress
September 25, 2023 to September 29, 2023 - Porto, Portugal

  • UBICOMM 2023, The Seventeenth International Conference on Mobile Ubiquitous Computing, Systems, Services and Technologies
  • ADVCOMP 2023, The Seventeenth International Conference on Advanced Engineering Computing and Applications in Sciences
  • SEMAPRO 2023, The Seventeenth International Conference on Advances in Semantic Processing
  • AMBIENT 2023, The Thirteenth International Conference on Ambient Computing, Applications, Services and Technologies
  • EMERGING 2023, The Fifteenth International Conference on Emerging Networks and Systems Intelligence
  • DATA ANALYTICS 2023, The Twelfth International Conference on Data Analytics
  • GLOBAL HEALTH 2023, The Twelfth International Conference on Global Health Challenges
  • CYBER 2023, The Eighth International Conference on Cyber-Technologies and Cyber-Systems

TrendNews 2023 Congress
September 25, 2023 to September 29, 2023 - Porto, Portugal

  • CORETA 2023, Advances on Core Technologies and Applications
  • DIGITAL 2023, Advances on Societal Digital Transformation

SocSys 2023 Congress
November 13, 2023 to November 17, 2023 - Valencia, Spain

SoftNet 2023 Congress
November 13, 2023 to November 17, 2023 - Valencia, Spain

  • ICSEA 2023, The Eighteenth International Conference on Software Engineering Advances
  • ICSNC 2023, The Eighteenth International Conference on Systems and Networks Communications
  • CENTRIC 2023, The Sixteenth International Conference on Advances in Human-oriented and Personalized Mechanisms, Technologies, and Services
  • VALID 2023, The Fifteenth International Conference on Advances in System Testing and Validation Lifecycle
  • SIMUL 2023, The Fifteenth International Conference on Advances in System Simulation
  • SOTICS 2023, The Thirteenth International Conference on Social Media Technologies, Communication, and Informatics
  • INNOV 2023, The Twelfth International Conference on Communications, Computation, Networks and Technologies
  • HEALTHINFO 2023, The Eighth International Conference on Informatics and Assistive Technologies for Health-Care, Medical Support and Wellbeing

IARIA Congress 2023, The 2023 IARIA Annual Congress on Frontiers in Science, Technology, Services, and Applications
November 13, 2023 to November 17, 2023 - Valencia, Spain

 

 


ThinkMind // ICSEA 2021, The Sixteenth International Conference on Software Engineering Advances // View article icsea_2021_1_10_18001


An Empirical Study of the Correlation of Cognitive Complexity-related Code Measures

Authors:
Luigi Lavazza

Keywords: Cognitive complexity; software code measures; McCabe complexity; cyclomatic complexity; Halstead mea- sures; static code measures

Abstract:
Several measures have been proposed to represent various characteristics of code, such as size, complexity, cohesion, coupling, etc. These measures are deemed interesting because the “internal” characteristics they measure (which are not interesting per se) are believed to be correlated with “external” software qualities (like reliability, maintainability, etc.) that are definitely interesting for developers or users. Although many measures have been proposed for software code, new measures are continuously proposed. However, before starting using a new measure, we would like to ascertain that it is actually useful and that it provides some improvement with respect to well established measures that have been in use for a long time and whose merits have been widely evaluated. In 2018, a new code measure, named “Cognitive Complexity” was proposed. According to the proposers, this measure should correlate to code understandability much better than ‘traditional’ code measures, such as McCabe Complexity, for instance. However, hardly any experimentation proved whether the “Cognitive Complexity” measure is better than other measures or not. Actually, it was not even verified whether the new measure provides different knowledge concerning code with respect to ‘traditional’ measures. In this paper, we aim at evaluating experimentally to what extent the new measure is correlated with traditional measures. To this end, we measured the code from a set of open-source Java projects and derived models of “Cognitive Complexity” based on the traditional code measures yielded by a state-of-the-art code measurement tool. We found that fairly accurate models of “Cognitive Complexity” can be obtained using just a few traditional code measures. In this sense, the “Cognitive Complexity” measure does not appear to provide additional knowledge with respect to previously proposed measures.

Pages: 1 to 6

Copyright: Copyright (c) IARIA, 2021

Publication date: October 3, 2021

Published in: conference

ISSN: 2308-4235

ISBN: 978-1-61208-894-5

Location: Barcelona, Spain

Dates: from October 3, 2021 to October 7, 2021

SERVICES CONTACT
2010 - 2022 © ThinkMind. All rights reserved.
Read Terms of Service and Privacy Policy.