3.8 Proceedings Paper

Employing Issues and Commits for In-Code Sentence Based Use Case Identification and Remodularization

Publisher

ASSOC COMPUTING MACHINERY
DOI: 10.1145/3123779.3123792

Keywords

use case; traceability links; information retrieval; natural language processing; text similarity; intent; modularization; remodularization; DCI; aspect-oriented programming

Funding

  1. Scientific Grant Agency of Slovak Republic (VEGA) [VG 1/0752/14]
  2. Slovak University of Technology in Bratislava
  3. SOFTEC PRO SOCIETY
  4. Softec
  5. Centaur
  6. Research & Development Operational Programme for the project Research of Methods for Acquisition, Analysis and Personalized Conveying of Information and Knowledge [ITMS 26240220039]
  7. ERDF

Ask authors/readers for more resources

Use case driven modularization improves code comprehension and maintenance and provides another view on software alongside object-oriented modularization. However, approaches enabling use case driven modularization require to modularize code manually. In this paper, we propose an approach to employing issues and commits for in-code sentence based use case identification and remodularization. The approach aims at providing use case based perspective on the existing code. The sentences of use case steps are compared to sentences of issue descriptions, while the sentences generated from the source code of issue commits are compared to sentences generated from the corresponding methods in source code in order to quantify the similarity between use case steps and methods in source code using different similarity calculation algorithms. The resulting level of similarity is used to remodularize source code according to use cases. We conducted a study on the OpenCart open source e-shop employing 16 use cases. The approach achieved the recall of 3.37% and precision of 75%. The success of the approach strongly depends on issues and commits assigned to them. The results would be better especially for the code that natively employs use case driven modularization.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

3.8
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available