Science Fair Projects

Software Complexity Measurement


The objective: To create a software application written in Java to measure any software program code#s complexity, that allows Software Developers and Software Managers to ensure that software code is simple, well documented and easy to understand by others.


Application was developed using SDLC (Software Development Life Cycle) process.

Complexity Measurements:

This program defines comment complexity as:
Comment Complexity = 10-(Number of Comments)/(Non trivial Code Lines)

This program defines operator complexity as:
Operator Complexity = (The maximum number of operators in a single statement)/2

This program defines loop nesting level complexity as:
Nesting Complexity = The maximum number of loop nesting in any loop structure

The overall complexity level is defined as:
Average Complexity = (Comment Complexity + Operator Complexity + Nesting Complexity)/3


Computer (Dell E6410, Windows 7, Intel i5 M520 CPU, 4GB RAM 1333 mHz); Oracle Java (Version
1.6.0_23); Oracle Java JDK; NetBeans IDE (Version 6.9.1); Doxygen (Version 1.7.2); Graphviz (Version
2.26.3); MathJax (Version 2.0)


After the project was completed some sample open source programs from were downloaded and tested along with some self created test cases. The results provided accurate complexity measurements that could be useful to optimize software code.


The project was completed successfully and with the desired results. Software Developers can now use this application and write minimally complex software code, saving thousands of dollars and hundreds of hours in maintenance for software companies.

This computer project created a new application that can measure software complexity based on defined complexity metric.

Science Fair Project done By Vipul Kashyap


Related Projects : Salmonids by Numbers II, Continual Adaptation of Acoustic Models for Domain-Specific Speech Recognition, Effects of Motility and Contact Inhibition on Tumor Viability, Transportation Networks and the Propagation of Novel H1N1 Swine Flu-like Epidemics, Novel Genetics-Based Early Disease Detection Using Ontology-Driven Microarray Semantics, A Novel Approach to Text Compression Using N-Grams, Malware Identification by Statistical Opcode Analysis, Real-Time Markerless Hand Computer Interaction, Cracking the Code, Examining File Compression in Computers, Programming for the Computer and iPhone Platforms, Some Reasons a Computer Slows Down, Turbo Charging Computer with Mathematical Algorithms


<<Back To Topics Page........................................................................................>> Next Topic



Copyright © 2013 through 2015