Font Size: a A A

Object-oriented Program Automated Tailoring Method Based On Model

Posted on:2015-09-11Degree:MasterType:Thesis
Country:ChinaCandidate:Q K JinFull Text:PDF
GTID:2428330488499728Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the rapid development of computer technology,the size of the software has become bigger and bigger and the structure more complex.In order to improve the production efficiency of software industry,object-oriented technology has been widely applied and has become the mainstream of modern software development technology.In the procedure of large object-oriented software development,large software size,reuse of software and inexperienced developers will inevitably result in redundant information,which increases the occupation of system resource during program run,and this could be a serious problem in certain areas,such as embedded system and server.Therefore,it is necessary to tailor the redundant code.In the present studies on the redundant code tailoring,only few studies aim at object-oriented program redundancy code tailoring.Selecting the widely used java language as research subject of this thesis,features of java language are analyzed,and a java-oriented tailoring model is provided.On the basis of this model,a method of object-oriented program automatic tailoring is put forward.This tailoring model is proposed on the basis of the relation among oriented objects,the object relation graph(ORG)and function call graph.First of all,the extension of ORG brings about the T-MORG,which can be used for tailoring.And then after the definition of T-MORG,the tailoring model could be established.For different tailoring objects,the models could be divided into three categories:class-interface cutting model,class-interface members tailoring model and classlib-package tailoring model.In accordance with the tailoring model,a tailoring scheme for the java program is designed,which analyzes and illustrates the four parts of the scheme:program analysis,program tailoring,and tailoring effect analysis.On the basis of the proposed tailoring model and scheme,an automatic tailoring prototype system for object-oriented program is designed and implemented,which could cut simple Java systems.After that,I select a simple Java program and inject redundancy to it to make it a high redundancy program.And then,this program is tailored and tested by prototype system.The analysis of tailoring result demonstrates that the tailoring method is effective and feasible.
Keywords/Search Tags:Object-oriented program, Program analysis, Automated Tailoring, Tailoring model
PDF Full Text Request
Related items