Science Fair Projects

Software Complexity Measurement

Abstract

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.

Methods/Materials

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

Materials:

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)

Results

After the project was completed some sample open source programs from sourceforge.net 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.

Conclusions/Discussion

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 : Web Enabled Automated Manufacturing System, Image Compression and De-compression, Web Blossom Bazzar, Unbeatable PONG through Artificial Intelligence, Developing a Computer Program That Effectively Mimics Human Creativity, Post-Disaster Response Using a Novel Adaptive Object Recognition Algorithm, Accuracy of Voice Recognition Software,Face Recognition by the Computer, Environmental Changes and Species Diversity, Computer Model of the SARS Epidemic, Mathematical Model for the Optimal Arrangement of Cell Phone Towers, Security Through Chaos, Category Oriented Web Search Engine Based on Round Robin Learning and Ranking Algorithm, Adaptive Interference Rejection in Wireless Networking, Development of a 3D Search Engine for Mechanical and Geometrical Applications

 

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

 

 

Copyright © sciencefairprojects.co.in 2013 through 2015