Font Size: a A A

The Software Refactoring Technology Based On Data Mining And Its Application To The Software Asset Management

Posted on:2014-01-01Degree:MasterType:Thesis
Country:ChinaCandidate:C HeFull Text:PDF
GTID:2268330425967757Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the improvement of social information degree, the distributed technology andnetwork technology in social fields have been fully utilized. For example, the assetmanagement system, customer’s own demand increasingly diverse, competition hasintensified. So on the management information system reusability, flexibility, opennessand reaction rate have higher requirements. How to develop high quality, highefficiency can meet the demand of different users of information system, at the sametime is able to cope with more frequent customer demand change situation, face thesystem structure and system code constantly messy corrupt phenomenon in the processof development of how to deal with. In the face of the challenges, how can we build agood system development environment, introducing the software refactoring techniquescan be the best way to address these challenges.Develop software we first have to be designed, and then systematically encoding.But the code of the system and the system structure is not immutable, but with all sortsof factors such as environment, time and change, which creates a debilitating systemcode structure as well as the whole structure. Code quality worse and worse, rigorouswork gradually become arbitrary and is to write code. In order to improve progressivelythe messy code, refactoring and was born. Refactoring by identifying bad taste in theprogram code, and then adjust these the presence of a bad taste to improve the internalstructure of the program. But a piece of software may be composed of tens of thousandsof lines of code, by artificial way to sniff out the bad taste will take considerablemanpower and cost. Through the statistics and the science and technology of artificialintelligence, data mining will do in-depth analysis data, to find out in huge database ofvaluable hidden event, its application in various fields, more and more, and remarkableachievements. Therefore this study used association rules in data mining technology, tosniff out hidden in a program code can be dug up bad taste, to help reconstruct softwarerefactoring.Based on understanding the current refactoring techniques at home and abroadpresent situation and the characteristics of the asset management system on the basis ofthe established the research purpose, namely using data mining technology to dig outthe potential design flaws in the system and the code is bad taste, according to the different bad taste characteristics, adopt corresponding software refactoring techniquefor the reconstruction of the system modules, so as to make the code redundancy,dependencies between classes, such as resolved, promotes the late extension of system,strengthen the flexibility of the system. Then, this paper introduces the reconstructiontechnology, combined with the characteristic system, determine the position of thesystem by the need to refactor, the modeling method and system used in data miningassociation rules is introduced in detail. In system of permission management module,vehicle management module, consumables management module as the main objects forbad taste of digging, the module of typical class mining mode transformation, with theaid of association rule mining out of the system of attachment bond, the grape-shot typemodification, lazy class, such as middlemen bad taste. According to the nature of thevarious modules and the bad taste is different, we adopted the Command, the State, suchas Mediator different model reconstruction.This paper illustrates the refactor technique in various modules in the process offlexible use, and the application of the system are analyzed and compared afterverification. After reconstruction of the system overall performance improved, at thesame time have the higher maintainability and extensibility. Finally summarizes thework and the outlook of software refactoring technology.
Keywords/Search Tags:data mining, association rule, refactoring, management information system
PDF Full Text Request
Related items