Sökning: id:"swepub:oai:DiVA.org:lnu-108067" >
Optimized Dependenc...
Optimized Dependency Weights in Source Code Clustering
-
- 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)
- 2021-08-26
- 2021
- Engelska.
-
Ingår i: Software Architecture, ECSA 2021. - Cham : Springer. - 9783030860448 - 9783030860431 ; , s. 223-239
- Relaterad länk:
-
https://urn.kb.se/re...
-
visa fler...
-
https://doi.org/10.1...
-
visa färre...
Abstract
Ämnesord
Stäng
- Some methods use the dependencies between source code entities to perform clustering to, e.g., automatically map to an intended modular architecture or reconstruct the implemented software architecture. However, there are many different ways that source code entities can depend on each other in an object-oriented system, and it is not likely that all dependencies are equally useful. We investigate how well an optimized set of weights for 14 different types of dependencies perform when automatically mapping source code to modules using an established mapping technique. The optimized weights were found using genetic optimization. We compare the F1 score of precision and recall to uniform weights and weights computed by module relation ratio in eight open-source systems to evaluate performance. Our experiments show that optimized weights significantly outperform the others, especially in systems that seem not to have been designed using the low coupling, high cohesion principle. We also find that dependencies based on method calls are not useful for automatic mapping in any of the eight systems.
Ämnesord
- NATURVETENSKAP -- Data- och informationsvetenskap -- Programvaruteknik (hsv//swe)
- NATURAL SCIENCES -- Computer and Information Sciences -- Software Engineering (hsv//eng)
Nyckelord
- Orphan adoption
- Software architecture
- Incremental clustering
- Corrective clustering
- Source code dependencies
- Software Technology
- Programvaruteknik
Publikations- och innehållstyp
- ref (ämneskategori)
- kon (ämneskategori)
Hitta via bibliotek
Till lärosätets databas