The University of Sheffield
Department of Computer Science

Owain Lewis Undergraduate Dissertation 2000/01

"A Size Measuring Instrument for Java Programs"

Supervised by A.Cowling

Abstract

The purpose of this project was to develop a system which could count the number of lines in a java file. The necessity for a system like this is highlighted through the increasing need for measurement and analysis within the software engineering industry. The system was intended to not only count the number of lines in a java source file, but also to restructure that file into a defined format. This would then allow for measurement and predictions to be made based on fair comparisons.

In order to develop the system, the whole subject area needed to be researched to fully understand the implications of building such a system. The scope of the project itself then had to be defined, to ensure that clear achievable goals were set for the system. The system was analysed, designed and implemented, based on the object oriented approach. Throughout the system development all attempts were made to produce an object oriented system.

The final product was a working system that met the initial requirements specified for the system. The process of developing the system, was not always as object oriented in nature as desired. The final system how ever is an object oriented implementation. Some of the desirable features were not implemented, though the project still successfully met its goals.