English

Understanding Code Patterns - Analysis, Interpretation & Measurement

Software Engineering 2011-07-01 v1 Programming Languages

Abstract

This research paper aims to find, analyze and understand code patterns in any software system and measure its quality by defining standards and proposing a formula for the same. Every code that is written can be divided into different code segments, each having its own impact on the overall system. We can analyze these code segments to get the code quality. The measures used in this paper include Lines of Code, Number of calls made by a module, Execution time, the system knowledge of user and developers, the use of generalization, inheritance, reusability and other object-oriented concepts. The entire software code is divided into code snippets, based on the logic that they implement. Each of these code snippets has an impact. This measure is called Impact Factor and is valued by the software developer and/or other system stakeholders. Efficiency = (Code Area / Execution Time) * Qr

Keywords

Cite

@article{arxiv.1106.6159,
  title  = {Understanding Code Patterns - Analysis, Interpretation & Measurement},
  author = {Jitesh Dundas},
  journal= {arXiv preprint arXiv:1106.6159},
  year   = {2011}
}

Comments

Index Terms - code area, code patterns, efficiency, lines of code, pattern recognition, software quality; http://www.ijcee.org/papers/008.pdf

R2 v1 2026-06-21T18:29:40.119Z