{"title":"A framework for component mining of Java applications via dynamic slicing","authors":"A. Conover, Yeong-Tae Song","doi":"10.1109/SERA.2005.7","DOIUrl":null,"url":null,"abstract":"This paper explores the use of program slicing as a tool for \"component mining\" of Java/spl trade/ source code. We define component mining to be the extraction of an executable slice from source code, which satisfies a specific use case (or set of use cases) and provides a standard component interface for its use. However, before a component can be generated, the desired features themselves must be isolated from the source code. Traditionally, software slicing has concerned itself with the value of a variable of interest (or set of variables) at a specific point of execution. This severely limits the usefulness of the traditional definition of a slicing criterion as a tool for feature isolation. We propose the repurposing of software \"unit-tests\" to aid in the isolation of features of interest within source code. By executing a target application in our JPDA (Java platform debugging architecture) based slicer, a selected unit-test may then serve as the slicing criterion.","PeriodicalId":424175,"journal":{"name":"Third ACIS Int'l Conference on Software Engineering Research, Management and Applications (SERA'05)","volume":"48 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2005-08-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Third ACIS Int'l Conference on Software Engineering Research, Management and Applications (SERA'05)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SERA.2005.7","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This paper explores the use of program slicing as a tool for "component mining" of Java/spl trade/ source code. We define component mining to be the extraction of an executable slice from source code, which satisfies a specific use case (or set of use cases) and provides a standard component interface for its use. However, before a component can be generated, the desired features themselves must be isolated from the source code. Traditionally, software slicing has concerned itself with the value of a variable of interest (or set of variables) at a specific point of execution. This severely limits the usefulness of the traditional definition of a slicing criterion as a tool for feature isolation. We propose the repurposing of software "unit-tests" to aid in the isolation of features of interest within source code. By executing a target application in our JPDA (Java platform debugging architecture) based slicer, a selected unit-test may then serve as the slicing criterion.