Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Is Requirements Similarity a Good Proxy for Software Similarity?: An Empirical Investigation in Industry
RISE Research Institutes of Sweden, Digital Systems, Industrial Systems. Mälardalens University, Sweden.ORCID iD: 0000-0001-6418-9971
CNR-ISTI, Italy.
Berget-Levrault, France.
Mälardalens University, Sweden.
Show others and affiliations
2021 (English)In: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) 27th International Working Conference on Requirements Engineering: Foundation for Software Quality, REFSQ 2021, 12 April 2021 - 15 April 2021, Springer Science and Business Media Deutschland GmbH , 2021, Vol. 12685, p. 3-18Conference paper, Published paper (Refereed)
Abstract [en]

[Context and Motivation] Content-based recommender systems for requirements are typically built on the assumption that similar requirements can be used as proxies to retrieve similar software. When a new requirement is proposed by a stakeholder, natural language processing (NLP)-based similarity metrics can be exploited to retrieve existing requirements, and in turn identify previously developed code. [Question/problem] Several NLP approaches for similarity computation are available, and there is little empirical evidence on the adoption of an effective technique in recommender systems specifically oriented to requirements-based code reuse. [Principal ideas/results] This study compares different state-of-the-art NLP approaches and correlates the similarity among requirements with the similarity of their source code. The evaluation is conducted on real-world requirements from two industrial projects in the railway domain. Results show that requirements similarity computed with the traditional tf-idf approach has the highest correlation with the actual software similarity in the considered context. Furthermore, results indicate a moderate positive correlation with Spearman’s rank correlation coefficient of more than 0.5. [Contribution] Our work is among the first ones to explore the relationship between requirements similarity and software similarity. In addition, we also identify a suitable approach for computing requirements similarity that reflects software similarity well in an industrial context. This can be useful not only in recommender systems but also in other requirements engineering tasks in which similarity computation is relevant, such as tracing and categorization.

Place, publisher, year, edition, pages
Springer Science and Business Media Deutschland GmbH , 2021. Vol. 12685, p. 3-18
Keywords [en]
Correlation, Requirements similarity, Software similarity, Computer software selection and evaluation, Recommender systems, Requirements engineering, Content-based recommender systems, Empirical investigation, Industrial projects, NAtural language processing, Positive correlations, Rank correlation coefficient, Similarity computation, Software similarities, Natural language processing systems
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:ri:diva-53517DOI: 10.1007/978-3-030-73128-1_1Scopus ID: 2-s2.0-85107415615ISBN: 9783030731274 (electronic)OAI: oai:DiVA.org:ri-53517DiVA, id: diva2:1568298
Conference
27th International Working Conference on Requirements Engineering: Foundation for Software Quality, REFSQ 2021, 12 April 2021 - 15 April 2021
Available from: 2021-06-17 Created: 2021-06-17 Last updated: 2023-10-04Bibliographically approved

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textScopus

Authority records

Abbas, MuhammadSaadatmand, Mehrdad

Search in DiVA

By author/editor
Abbas, MuhammadSaadatmand, Mehrdad
By organisation
Industrial Systems
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar

doi
isbn
urn-nbn

Altmetric score

doi
isbn
urn-nbn
Total: 203 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf