Skip to main content
QUICK REVIEW

[Paper Review] Automatic Labeling of the Object-oriented Source Code: The Lotus Approach

Ra’Fat Al-Msie’deen|arXiv (Cornell University)|Jan 25, 2018
Software Engineering ResearchComputer Science15 references11 citations
TL;DR

This paper proposes the Lotus approach, an automatic method for labeling object-oriented source code using software identifiers to enhance code comprehension. By analyzing identifiers in ArgoUML and drawing shapes case studies, the approach achieved 100% accuracy in label identification, demonstrating its effectiveness for reverse engineering and software visualization tasks.

ABSTRACT

Most of open-source software systems become available on the internet today. Thus, we need automatic methods to label software code. Software code can be labeled with a set of keywords. These keywords in this paper referred as software labels. The goal of this paper is to provide a quick view of the software code vocabulary. This paper proposes an automatic approach to document the object-oriented software by labeling its code. The approach exploits all software identifiers to label software code. The paper presents the results of study conducted on the ArgoUML and drawing shapes case studies. Results showed that all code labels were correctly identified.

Motivation & Objective

  • To address the challenge of understanding large volumes of open-source software code without manual documentation.
  • To develop an automatic labeling technique that leverages software identifiers to generate meaningful labels for code elements.
  • To improve software comprehension and visualization by providing a quick, automated view of code vocabulary.
  • To evaluate the approach on real-world open-source systems to validate its accuracy and scalability.

Proposed method

  • The approach extracts all software identifiers (e.g., class names, method names, variable names) from object-oriented source code.
  • It applies natural language processing techniques to interpret and normalize identifiers into meaningful keywords or labels.
  • Labels are generated based on the semantic content of identifiers, treating them as a source of implicit documentation.
  • The method is evaluated on two case studies: ArgoUML and a drawing shapes application.
  • Label correctness is assessed by manual inspection, comparing generated labels against expected semantic meanings.

Experimental results

Research questions

  • RQ1Can software identifiers alone be effectively used to generate accurate and meaningful labels for object-oriented code?
  • RQ2How well does the Lotus approach perform in identifying relevant code vocabulary across different software systems?
  • RQ3To what extent can automatic labeling improve software comprehension and reverse engineering tasks?
  • RQ4Is the approach scalable and robust across diverse open-source software projects?

Key findings

  • The Lotus approach successfully identified all code labels correctly in both the ArgoUML and drawing shapes case studies.
  • 100% of the generated labels were found to be semantically accurate and relevant to the corresponding code elements.
  • The method demonstrated strong reliability using only identifiers, without requiring external documentation or comments.
  • The results confirm that software identifiers are a rich and reliable source for automatic code labeling in software engineering tasks.

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.