Font Size: a A A

Research And Implementation Of Software Usage Model Construction Technology Based On UML Model

Posted on:2018-01-21Degree:MasterType:Thesis
Country:ChinaCandidate:A H ZhaoFull Text:PDF
GTID:2348330512979419Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Software reliability test helps to detect the reliability defects of software,and it is the precondition of software reliability evaluation at the same time.In recent years,the reliability test methods based on test model have become a hot topic in the software engineering field,which simulates the users' use process,and guides the generation of test cases.Therefore,the research of constructing the software reliability test model is very important and it is the basic work of software reliability test.This paper proposes a method of constructing software usage model,which extends the UML activity diagram and UML use-case diagram.The model describes,for every kind of users,the specific interacting process between the user and the system.In this paper,the theories of software reliability test and software usage model are studied.In the current usage model theory,software has one usage model that describes how the software is used,but this model can not represent the characters of different users.Considering that most software systems have multiple types of users,a"User-classification-based usage model(UCB-UM)" is presented in this paper.Each kind of user has a representative UCB-UM,an UCB-UM describes the specific interaction process of the user with the system;in addition,the functional structure and the frequency being used are different with the UCB-UMs of other kinds of users.What's more,this paper proposes a method of constructing UCB-UM based on UML use case diagram,activity diagram and system logs.The research process is as follows:first,extracting the UML use case diagram and the activity diagram from software specification and design documents,giving the use case diagram and activity diagram formal definition and pretreating complex relationships at the same time;second,analyzing the system log,getting the transition probability of each operation,extending the use case diagram and activity diagram with these transition probabilities;then,the activity scene is built according to the extended use case diagram and activity diagram based on the kinds of users;finally,we combine the activity scenes of a kind of user to construct a UCB-UM of these users,combining all the activity scenes then the software usage model is constructed.This paper validates the UCB-UM generation method by experiments.The models constructed by this method has the user-classification-based characteristics,and are able to describe different users' usage process,in addition,the model can be used to guide the generation of test cases which are proved in accordance with the characteristics of users.Thus the feasibility and effectiveness of the method is proved.
Keywords/Search Tags:Software reliability test, Test method, Test model, Markov chain, UML model
PDF Full Text Request
Related items