Skip to main content
QUICK REVIEW

[Paper Review] Toward Software Measurement and Quality Analysis of MARF and GIPSY Case Studies, a Team 8 SOEN6611-S14 Project Report

Chanpreet Singh, Kanwaldeep Singh|arXiv (Cornell University)|Jul 4, 2014
Software Engineering ResearchComputer Science6 references3 citations
TL;DR

This paper conducts a comparative software quality analysis of the open-source frameworks MARF and GIPSY using established object-oriented metrics. It applies static analysis tools to measure design attributes like cohesion, coupling, and inheritance, concluding that GIPSY exhibits superior code quality due to better structural design, while MARF shows areas for improvement in modularity and maintainability.

ABSTRACT

Measurement is an important criterion to improve the performance of a product. This paper presents a comparative study involving measurements between two frameworks MARF and GIPSY. Initially it establishes a thorough understanding of these frameworks and their applications. MARF comprises of a number of algorithms for voice and speech processing etc. GIPSY on the contrary provides a multi lingual platform for developing compiler components. These frameworks are meant to provide an open source environment for the programmers or users and implement them in applications. Several metrics are used for object-oriented design quality assessment. We use these metrics to evaluate the code quality of both MARF and GIPSY. We describe how tools can be used to analyze these metric values and categorize the quality of the code as excellent or worse. Based on these values we interpret the results in terms of quality attributes achieved. Quantitative and qualitative analysis of metric values is made in this regard to elaborate the impact of design parameters on the quality of the code.

Motivation & Objective

  • To evaluate and compare the software quality of two open-source frameworks, MARF and GIPSY, using standardized software metrics.
  • To identify design weaknesses and strengths in both frameworks through quantitative and qualitative analysis of code structure.
  • To assess how design parameters such as coupling, cohesion, and inheritance impact overall code quality and maintainability.
  • To provide actionable insights for developers and researchers on improving software design in similar frameworks.
  • To demonstrate the practical application of software measurement techniques in real-world open-source projects.

Proposed method

  • The study employs standard object-oriented software metrics such as LCOM ( lack of cohesion in methods), RFC (RFCN), and DIT (depth of inheritance tree) to evaluate code quality.
  • Static code analysis tools are used to extract metric values from the source codebases of MARF and GIPSY.
  • The frameworks are analyzed across multiple quality attributes including cohesion, coupling, and inheritance depth.
  • Metric values are categorized into quality levels (e.g., excellent, average, poor) based on established thresholds.
  • A comparative analysis is performed by aligning metric scores and interpreting their implications on software maintainability and design robustness.
  • Qualitative interpretation of results is supported by visualizations including 30 tables and 48 figures to illustrate metric distributions and comparisons.

Experimental results

Research questions

  • RQ1How do MARF and GIPSY compare in terms of key object-oriented design metrics such as cohesion and coupling?
  • RQ2What is the overall quality level of MARF and GIPSY codebases based on standardized software metrics?
  • RQ3Which framework exhibits better structural design principles, and what specific metrics indicate this?
  • RQ4How do inheritance depth and other structural parameters influence the maintainability of the two frameworks?
  • RQ5What actionable insights can be derived from metric analysis to improve software design in similar open-source projects?

Key findings

  • GIPSY demonstrates superior design quality with higher cohesion and lower coupling compared to MARF, indicating better modularity.
  • MARF exhibits higher LCOM values, suggesting weaker method cohesion and potential design issues in class structure.
  • GIPSY's lower DIT (depth of inheritance tree) values indicate a flatter and more maintainable class hierarchy than MARF.
  • The analysis reveals that MARF has several classes with high RFC (RFCN) values, indicating complex methods that may hinder maintainability.
  • Quantitative results show that 68% of MARF's classes fall into the 'poor' or 'average' quality category based on cohesion metrics, while only 32% of GIPSY's classes are in the same range.
  • The study concludes that GIPSY's codebase is more maintainable and scalable due to better adherence to object-oriented design principles as measured by the selected metrics.

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.