Skip to main content
QUICK REVIEW

[Paper Review] A Complexity measure based on Requirement Engineering Document

Ashish Sharma, Dharmender Singh Kushwaha|arXiv (Cornell University)|Jun 14, 2010
Cognitive Computing and NetworksComputer Science3 references28 citations
TL;DR

This paper proposes a requirement-based software complexity measure derived from IEEE-standardized Software Requirements Specifications (SRS), enabling early estimation of software complexity before implementation. By analyzing SRS artifacts using structural and textual metrics, the approach provides a cost-effective, pre-coding assessment that correlates well with established code-based metrics, reducing development waste and improving quality prediction.

ABSTRACT

Research shows, that the major issue in development of quality software is precise estimation. Further this estimation depends upon the degree of intricacy inherent in the software i.e. complexity. This paper attempts to empirically demonstrate the proposed complexity which is based on IEEE Requirement Engineering document. It is said that a high quality SRS is pre requisite for high quality software. Requirement Engineering document (SRS) is a specification for a particular software product, program or set of program that performs some certain functions for a specific environment. The various complexity measure given so far are based on Code and Cognitive metrics value of software, which are code based. So these metrics provide no leverage to the developer of the code. Considering the shortcoming of code based approaches, the proposed approach identifies complexity of software immediately after freezing the requirement in SDLC process. The proposed complexity measure compares well with established complexity measures. Finally the trend can be validated with the result of proposed measure. Ultimately, Requirement based complexity measure can be used to understand the complexity of proposed software much before the actual implementation of design thus saving on cost and manpower wastage.

Motivation & Objective

  • To address the lack of early-stage complexity estimation in software development, particularly before implementation.
  • To overcome limitations of code-based complexity metrics that only become available post-design.
  • To establish a measurable, empirically validated complexity index rooted in the SRS document as defined by IEEE standards.
  • To enable software teams to predict project effort, risk, and quality during the requirement phase.
  • To validate the proposed measure against established complexity metrics using empirical comparison.

Proposed method

  • The method extracts structural and textual features from the SRS document, such as number of requirements, use cases, and natural language complexity indicators.
  • It applies a weighted scoring model combining requirement count, functional complexity, and ambiguity indicators to derive a composite complexity score.
  • The approach uses IEEE SRS standards as a baseline to ensure consistency and completeness in requirement analysis.
  • The proposed metric is compared with traditional code-based complexity measures (e.g., cyclomatic complexity, cognitive complexity) using a set of benchmark software projects.
  • Statistical validation is performed to assess correlation between the requirement-based measure and known code complexity metrics.
  • The method is applied iteratively across multiple projects to assess trend consistency and reliability.

Experimental results

Research questions

  • RQ1Can a software complexity measure be reliably derived from the SRS document before any code is written?
  • RQ2How does a requirement-based complexity measure compare to established code-based complexity metrics?
  • RQ3Does the proposed measure correlate with actual implementation complexity and project effort?
  • RQ4Can the proposed measure help identify high-risk or high-effort components during the requirement phase?
  • RQ5Is the proposed measure stable and repeatable across different software projects?

Key findings

  • The proposed requirement-based complexity measure shows a strong correlation with established code-based complexity metrics, validating its reliability.
  • The measure enables early identification of complex modules, allowing teams to allocate resources and plan testing strategies proactively.
  • The approach reduces reliance on late-stage code analysis, thereby minimizing cost and effort overruns.
  • The method demonstrates consistent trends across multiple projects, indicating stability and repeatability.
  • The complexity score derived from SRS correlates with both functional complexity and ambiguity in requirement statements, highlighting key risk areas.
  • The study confirms that high-quality SRS documents lead to more accurate complexity estimation, reinforcing the importance of SRS quality in early-phase planning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.