Software mining is a subfield of software engineering that focuses on extracting and analyzing information from software artifacts stored in repositories such as version control systems, issue trackers, and communication logs. It aims to uncover patterns and actionable insights about software systems and development processes using techniques such as data mining, statistical analysis, and machine learning, supporting activities like software maintenance, evolution, and quality assessment.1
Object Management Group (OMG)
Developed specification Knowledge Discovery Metamodel (KDM) which defines an ontology for software assets and their relationships for the purpose of performing knowledge discovery of existing code. The OMG Knowledge Discovery Metamodel provides an integrated representation to capturing application metadata. Another OMG specification, the Common Warehouse Metamodel focuses entirely on mining enterprise metadata.
Software mining and data mining
Software mining is closely related to data mining, since existing software artifacts contain enormous business value, key for the evolution of software systems. Knowledge discovery from software systems addresses structure, behavior as well as the data processed by the software system. Instead of mining individual data sets, software mining focuses on metadata.
Text-Mining Software Tools
Text mining software tools enable easy handling of text documents for the purpose of data analysis including automatic model generation and document classification, document clustering, document visualization, dealing with Web documents, and crawling the Web.
Levels of software mining
Knowledge discovery in software is related to a concept of reverse engineering. Software mining addresses structure, behavior as well as the data processed by the software system.
Mining software systems may happen at various levels:
- program level (individual statements and variables)
- design pattern level
- call graph level (individual procedures and their relationships)
- architectural level (subsystems and their interfaces)
- data level (individual columns and attributes of data stores)
- application level (key data items and their flow through the applications)
- business level (domain concepts, business rules and their implementation in code)
Forms of representing the results of Software Mining
- data model
- metadata
- metamodels
- ontology
- Knowledge representation
- business rule
- Knowledge Discovery Metamodel (KDM)
- Business Process Modeling Notation (BPMN)
- intermediate representation
- Resource Description Framework (RDF)
- abstract syntax tree (AST)
- software metrics
- graphical user interfaces
References
References
- Siddiqui, Tamanna; Ahmad, Ausaf (2017). "Data mining tools and techniques for mining software repositories: A systematic review". Big Data Analytics: Proceedings of CSI 2015. pp. 717–726. doi:10.1007/978-981-10-6620-7_70.