The Software Refactoring Technology Based on Data Mining and Its Application to the Software Asset Management

Author
HeCan
Advisor
TangYong , ZhuYangYong
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2013
Downloads
13
Citations
0

Request the full text

Abstract

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.

Table of contents

Abstract 5-7 ABSTRACT 7-12 first chapter 12-15 1.1 Background and Significance 12 1.2 purpose 12-13 1.3 organizational structure 13-14 1.4 Chapter Summary 14-15 Chapter II system important application technology 15-24 2.1 Reconstruction 15-17 2.1.1 remodeling concept 15 2.1.2 Reconstruction the purpose 15-16 2.1.3 need to reconstruct the Department 16 2.1.4 status and Role of reconstruction in the software development process 16-17 2.2 system technical architecture and characterization of 17-18 2.2.1 system technical architecture 17-18 2.2.2 system Benefits 18 2.2.3 operating system environment 18 2.3 data mining 18-23 definition 2.3.1 data Mining 18-19 2.3.2 data Mining model 19-20 2.3.3 data Mining 20-23 2.4 Chapter Summary 23-24 Article bad taste chapters system to detect and mining 24-47 3.1 data mining association rules based on bad taste excavations 24-28 3.1.1 related technologies in the system application methods 24-26 3.1.2 association rule mining analysis 26-28 3.1.3 the results 28 3.2 kNN algorithm confirm reconstruction position 28-32 3.2.1 kNN algorithm and the basic idea 29 3.2.2 inverse cosine match 29-30 3.2 .3 KNN combined with inverse cosine matched 30-32 3.3 system excavation mode conversion 32-37 3.3.1 processing tools and platforms 32-33 3.3.2 output File 33-34 3.3.3 build mining style bad taste 34-37 3.4 system excavation mode detection 37-46 3.4.1 rights management and vehicle management module bad taste detection 37-43 3.4.2 consumables management module bad taste detection 43-45 3.4.3 system mining results analysis 45-46 3.5 Summary achieve 46-47 Chapter IV system reconfiguration and important module 47-71 4.1 Rights Management module bad taste excavation and reconstruction 47-55 4.1.1 Rights Management modules 47-49 4.1. two rights management module design and model problem analysis 49 4.1.3 code bad taste of tap 49-52 4.1.4 system permissions management module code refactoring 52-55 4.2 system design pattern reconstruction 55-61 4.2.1 consumables management module pattern reconstruction 57-59 4.2. mode 2 vehicle Management module reconstruction 59-61 4.3 relieve pressure on State middleman model reconstruction reconstruction 61-62 4.4 after changing needs of process management module 62-67 4.4.1 schema design process 63-64 4.4.2 reconstruction process management module to achieve 64-67 4.5 system modules achieve important 67 4.5.1 asset register module 67 4.5.2 application module changes 67-70 4.5.3 assets query module 68-69 4.5.4 report printing module 69-70 4.6 Chapter Summary 70-71 chapter conclusions and contributions 71-73 5.1 Conclusion 71 5.2 contribution 71 5.3 future research directions 71-73 Thanks 73-74 references 74-76

Related dissertations

  1. Research and Improvement of An Association Rule Algorithm
  2. Study on the Application of Multi Expression Programming in the Rule Mining
    LiYang ·Shijiazhuang University of Economics ·2014 ·Master's thesis
  3. The design and Realization of the system of Web log analysis
    LiJing ·Heilongjiang University ·2013 ·Master's thesis
  4. Research of Mining Algorithm on K-Anonymous Data Sets
    ChenAiDong ·Donghua University ·2014 ·Master's thesis
  5. The Effect of Investors’ Home Attention On Stock Return
    ShenHanBin ·Zhejiang University ·2014 ·Master's thesis
  6. Foreground Transaction Operational Risk Warning System Research on Hunan Rural Credit Cooperative
    LiWenJun ·Hunan University ·2012 ·Master's thesis
  7. Research on the Problems and Countermeasures in System Operation of Basic Personal Credit Information Database
    NieMeiYing ·Ocean University of China ·2011 ·Master's thesis
  8. Predicting Customer Churn in Mobile Telecommunications
  9. The Accurate Narketing Platform Research Basing on Flow Business Data Mining of Shenxun Information Technology Company
  10. Research of Listing Corporation Financial Fraud Identification Model Based on Data Mining
    WeiRong ·Xi'an University of Petroleum ·2013 ·Master's thesis
  11. A Comparative Study of Financial Distress Warning of Listed Companies Bases on BP Neural Network and Logistic Model
  12. Churn Prediction in Telecommunications by Data Mining Technology
  13. A Research of Telecom Industry Customer Churn Management Based on Data Mining
  14. A Research of Telecom Industry CDMA Customer Credit Evaluation Based on Data Mining
  15. Prediction and Evaluation Research of Customer Losing about the Telecom Operation Companies
    ChiZhun ·Harbin Engineering University ·2013 ·Doctoral dissertation
  16. Research on B2C e-commerce Customer Segmentation Based on Two Step Clustering
    LiJian ·Dongbei University of Finance ·2013 ·Master's thesis
  17. The Research to Improve the Management Information System of DHC
    HeZhaoMin ·Dalian University of Technology ·2013 ·Master's thesis
  18. Case Study of SAP-MM System in Material Management in AN Company
  19. Analysis of the Characteristics of Life Insurance Agents Who Leave
  20. The Research on Customer Segmentation and Strategy on Digital Marketing of MSD Pharmaceutical Company