Measurements of program similarity in identical task environments

  • Authors:
  • H. L. Berghel;D. L. Sallach

  • Affiliations:
  • University of Nebraska, Lincoln, NE;College of St. Mary, Omaha, NE

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1984

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper summarizes the results of a study which compared the efficiency of two methods of measuring program similarity in the context of novice programmers trying to reach identical objectives. Both methods look for similarity by comparing 'program profiles'. Such profiles are created by feature extraction routines which map each program onto a tuple 1, f2,..., fn where each fi is a count of an occurrence of a particular feature. A comparison routine is then invoked which detects similarities between tuples. The results showed that in this environment the comparison routine based on the Halstead metric failed to perform as well as a conceptually simpler alternative.