Not logged in.

Contribution Details

Type Master's Thesis
Scope Discipline-based scholarship
Title Assessing Software Quality Attributes with Source Code Metrics
Organization Unit
Authors
  • Andreas Jetter
Supervisors
  • Harald Gall
Institution University of Zurich
Faculty Faculty of Economics, Business Administration and Information Technology
Date 2006
Abstract Text This thesis is about quality assessment of software systems by using source code metrics. We define four dimensions and relate them to a number of popular quality models, i.e., the models of McCall, Boehm, ISO 9126, Dromey and Bansiya. We also relate source code metric based quality models (SMQM) to these dimensions and show that the usefulness of SMQM is limited to an architectural view. But from this point of view, it is an expressive tool to assess software. We discuss several aspects of source code measuring. The objective and subjective viewpoint are contrasted whereas the former is more an engineering approach and the latter is more an artistic one. The danger of use and abuse of metrics is also highlighted as well as the problem of validating and combining source code metrics. We developed a SMQM inspired by the quality model for object-oriented design (QMOOD) introduced by Bansiya. The quality assessor tool we implemented is able to measure Java source code measures and summarize them into abstract quality attributes. These high level attributes can be visualized in a plot to trace the evolution of the design quality over time. In a case study we use the quality assessor tool to analyze the open source project “Azureus”. “Azureus” is a medium size bit torrent client. We consider three years, during which “Azureus” had grown from 22’000 to 222’000 lines of code. We measure 19 releases and analyze them by comparing the evolution of the design metrics with the changelog data from the developer’s website. This way we are able to show that there exists a recognizable correlation between these two.
Zusammenfassung Diese Diplomarbeit behandelt das Thema der Qualitätsbeurteilung von Softwaresystemen mittels Quellcodemetriken. Wir definieren vier Dimensionen und setzen diese in Beziehung zu prominenten Qualitätsmodellen. Die Modelle sind diejenigen von McCall, Boehm, ISO 9126, Dromey and Bansiya. Ebenso vergleichen wir ein quellcode-metrik-basirtes Qualitätsmodell (SMQM) mit den selben Dimensionen und zeigen, dass die Brauchbarkeit eines SMQM auf eine architektonische Sichtweise begrenzt ist. Aus dieser Sichtweise stellt es jedoch ein durchaus geeigntes Werkzeug zur Beurteilung von Software dar. Inspiriert von Bansiyas Qualitätsmodell für objekt-orientiertes Design (QMOOD) haben wir ein SMQM implementiert. Wir entwickelten ein Quality Assessor Tool, welches Java Quallcode vermessen und zu abstrakten Qualitätsmerkmalen kombinieren kann. Die berechneten Qualitätsmerkmale können dann in einem Graphen dargestellt und die Entwicklung der Designqualität über die Zeit verfolgt werden. In einer Fallstudie analysieren wir das open-source Projekt “Azureus” Azu06a. “Azureus” ist ein mittelgrosser Bittorrent Client, welcher in den letzten drei Jahren von 22’000 auf 222’000 Quellcodezeilen angewachsen ist. Wir vermessen 19 Releases und analysieren sie indem wir sie mit dem Changelog von der Entwicklerseite Azu06b vergleichen. Auf diese Art und Weise ist es uns möglich zu zeigen, dass es in der Tat eine Korrelation zwischen den beiden gibt.
Export BibTeX