Sökning: onr:"swepub:oai:DiVA.org:lnu-118118" >
Mapping Source Code...
Mapping Source Code to Modular Architectures Using Keywords
-
- Olsson, Tobias, 1974- (författare)
- Linnéuniversitetet,Institutionen för datavetenskap och medieteknik (DM),DISA;DSIQ;DISTA
-
- Ericsson, Morgan, Docent, 1973- (författare)
- Linnéuniversitetet,Institutionen för datavetenskap och medieteknik (DM),DISA;DSIQ;DISTA
-
- Wingkvist, Anna, PhD, 1976- (författare)
- Linnéuniversitetet,Institutionen för datavetenskap och medieteknik (DM),DISA;DSIQ;DISTA
-
(creator_code:org_t)
- Springer, 2022
- 2022
- Engelska.
-
Ingår i: Software Architecture. ECSA 2021. - : Springer. - 9783031151156 - 9783031151163 ; , s. 65-85
- Relaterad länk:
-
https://urn.kb.se/re...
-
visa fler...
-
https://doi.org/10.1...
-
visa färre...
Abstract
Ämnesord
Stäng
- We implement an automatic mapper that can find the corresponding architectural module for a source code file. The mapper is based on multinomial naive Bayes, and it is trained using custom keywords for each architectural module. The mapper uses the path and file name of source code elements for prediction. We find that the needed keywords often match the module names; however, ambiguities and discrepancies exist. We evaluate the mapper using ten open-source systems with a mapping to an intended architecture and find that the mapper can successfully create a mapping with perfect precision. Still, it cannot cover all source code elements in most cases. However, other techniques can use the mapping as a foothold and automatically create further mappings. We also apply the approach to two cases where the architecture has been recovered from the implementation and find that the approach currently has limitations of applicability in such architectures.
Ämnesord
- NATURVETENSKAP -- Data- och informationsvetenskap -- Datavetenskap (hsv//swe)
- NATURAL SCIENCES -- Computer and Information Sciences -- Computer Sciences (hsv//eng)
Nyckelord
- Computer Science
- Datavetenskap
Publikations- och innehållstyp
- ref (ämneskategori)
- kon (ämneskategori)
Hitta via bibliotek
Till lärosätets databas