DYNAMIC KNOWLEDGE EXTRACTION FROM SOFTWARE SYSTEMS USING SEQUENTIAL PATTERN MINING
Authors:
- 1 September 2010
- journal article
- research article
- Published by World Scientific Pub Co Pte Ltd in International Journal of Software Engineering and Knowledge Engineering
- Vol. 20 (06) , 761-782
Abstract
Software system analysis for identifying software functionality in source code remains a major problem in the reverse engineering literature. The early approaches for extracting software functionality mainly relied on static properties of software system. However, the static approaches by nature suffer from the lack of semantic and hence are not appropriate for this task. This paper presents a novel technique for dynamic analysis of software systems to identify the implementation of certain software functionality known as software features. In the proposed approach, a specific feature is shared by a number of task scenarios that are applied on the software system to generate execution traces. The application of a sequential pattern mining technique on the generated execution traces allows us to extract execution patterns that reveal the specific feature functionality. In a further step, the extracted execution patterns are distributed over a concept lattice to separate feature-specific group of functions from commonly used group of functions. The use of lattice also allows for identifying a family of closely related features in the source code. Moreover, in this work we provide a set of metrics for evaluating the structural merits of the software system such as component cohesion and functional scattering. We have implemented a prototype toolkit and experimented with two case studies Xfig drawing tool and Pine email client with very promising results.Keywords
This publication has 7 references indexed in Scilit:
- Efficient Pattern Search in Large Traces Through Successive RefinementLecture Notes in Computer Science, 2004
- Locating features in source codeIEEE Transactions on Software Engineering, 2003
- Formal Concept Analysis1999
- Identifying modules via concept analysisIEEE Transactions on Software Engineering, 1999
- Software reconnaissance: Mapping program features to codeJournal of Software Maintenance: Research and Practice, 1995
- An optimal algorithm for computing the repetitions in a wordInformation Processing Letters, 1981
- Lattice Theory1940