Tabular Expressions Based Formal Documentation of Requirement and Supporting Tool

Author
MaPengFei
Advisor
JinYing
School
Jilin University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
27
Citations
0

Request the full text

Abstract

Along with the expansion of the software systems, gradually people recognized that the Requirements Analysis is not only the initial stage of the software development, but also the key phase which runs through the whole life cycle. However, through the industry experience over a long period of time, it had been proven that the wrong requirements definition is the first leading cause of the failures of the software projects. DDSD (Document Driven Software Development) emphasizes that there must be series of integrated, strict, precise documents with well mathematical-definition, and the documents should support the consistency validation. Tabular Expressions is a formal specification method which defines mathematical functions or relations in tabular form. TE not only has the preciseness and accuracy of the mathematics, but also has the well readability. TE provides very good support for DDSD.Precise documents-centered DDSD provides a good solution for the Requirement Engineering. However, because of the complexity of large software system and the huge requirements text, there is a gap between the original informal requirements and the precise formal documents. Meanwhile, it is also hard to ensure the completeness and the consistency.AORE (Aspect Oriented Requirement Engineering) centering on“Separation of Concerns”introduces the concept of concerns in requirement phase. Through the identification and definition of concerns in requirements text, AORE led to a great drop in the complexity and coupling of the system, effectively improved the extent of the modularization and built a bridge between the text and the formal documents.Hence, we should combine the advantages of the AORE and DDSD. It is very valuable to give a method which could draw the informal and formal requirements together.As a key part of the requirements management, requirements changes have a tremendous impact on the success of the software projects. Effective requirements changes impact analysis could give the accurate estimation of the system, and provide the valuable information to project manager. In this paper a PageRank algorithm based method of requirement change impact analysis is given. The process applies the PageRank algorithm to the formal requirements model of a system and conducts the environment variable impact analysis.The main work of this thesis is as follows:1. Give a process of formal documentation of requirements, through analyzing the contents of the requirement documents, the Four Variable Model and the AORE theory. Through constant refining the process transforms the informal requirements text to the integrated, precise formal requirements documents. The main process is as follows: (1) Analyzing the labeled textual requirement statements and eliciting concerns, then specifying concerns and their relationships. (2) Identifying kinds of variables and defining them. (3) According to the concern relationships and the shared labeled requirements between variables, identifying and defining the variable relationships. (4) Based on the previous formal definition, specifying the formal documents by the TE tool, and conducting essential validation. Some crucial parts are interpreted as follows:a) Concerns elicitation. Through reading and analyzing the textual requirements, some meaningful keywords will be identified and some of them could be abstracted as concerns and formally defined. Meanwhile, with analyzing the shared requirements of the concerns, concerns relationships could be specified and then the concern relationship graph could be built.b) Variables definition and classification. The key of the requirement documents specification of the computer systems is to elicit the related environment elements. For each concern and the requirements it resides, some variables will be defined and classified as monitored, controlled, input, output, user-defined.c) Variable Dependency Graph definition. According to the concern relationship graph, dependencies between variables could be identified and defined after analyzing the calling of the concern modules. Then the process conducts the filtration to the dependency candidates according to the sort of variables and gives the formal model of variable dependency Graph.d) Formal Documents specification. A integrated formal requirement documents include the definition of some relations, such as REQ, NAT, IN, OUT, SOF. Each relation could be defined as functions of the variables in Four Variable Model, in other words, the tabular expressions. After the above-mentioned formal definition, formal documents could be defined. When defining the expressions of variable v, the formal information of v and the dependency information of v will be necessary. With those information, the formal documents could be finally specified by the TE Tool.2. In this thesis, a PageRank algorithm based approach of requirement change impact analysis has been given. First, a modified PageRank algorithm will be applied to the variables dependency graph, which produces quantitative assessment of each formal variable on the whole system; then, an impact estimation will be conducted on the variable level. The main process and some necessary interpretation are as follows:a) Requirements modeling of system: According to the process of the formal documentation, modeling the requirements of the goal system.b) Assigning weights to variable dependencies: In this paper a weight assignment method has been given, which specifies the dependency with kernel variables and dominant requirements. Then some particular dependencies could get higher rank scores and the results are effectively optimized.c) Applying PageRank algorithm to the variable dependency graph: Original PageRank algorithm has been modified and applied to the variable dependency graph to calculate rank score for each variable.d) Change impact analysis. Based on the result and the variable dependency graph, three kinds of impact analysis have been conducted in this thesis: based on variables, based on labeled requirements and based on dependencies.In summary, a formal documentation of requirements approach and a PageRank algorighm based requirement impact analysis have been introduced, which resolve the problems of the complexity system documentation and requirements impact analysis. A formal documentation tool set has been implemented based on the C sharp language and .NET framework.

Table of contents

Feed 4-8 Chapter 1 Introduction 8-11 1.1 needs analysis of the importance of the problems 8 Research 1.2 Requirements document defines 8-9 1.3 concerns separation 9-10 1.4 This work 10-11 Chapter 2 documents drive demand oriented requirements engineering 11-15 2.1 document-driven demand method outlined 11-12 2.2 needs a formal model - the four-variable model 12-13 2.3 aspect-oriented requirements engineering 13-14 2.4 requirements document formal representation - Tabular expressions 14 2.5 exist 14-15 Chapter 3 in the form of software requirements definition method 15-22 3.1 Requirements Document 15-16 3.1.1 System Requirements Document SRS 15-16 3.1.2 system design documentation SDS 3.1.3 software requirements document SoRS 3.2 software requirements in the form of defined methods 16-22 3.2.1 Definition concern architecture 17-18 3.2.2 boot variables and define 18-19 3.2.3 define the variable dependency graph 19-20 3.2.4 defined formalized document 20-21 3.2.5 document verification and inspection 21-22 Chapter 4 based PageRank algorithm needs change impact analysis 22-28 4.1 needs change impact analysis 22 4.2 PageRank algorithm 22-23 4.3 change impact analysis based on PageRank algorithm 23-28 4.3.1 System Requirements Formal modeling 24 4.3.2 dependencies valuation 24 4.3.3 Application PageRank algorithm analysis calculated 24-25 4.3.4 change impact analysis 25-28 Chapter 5 custom tools to achieve a formal requirements document 28-36 5.1 Overview 28-30 5.2 data structures 30 5.3 implementation details 30-34 5.3.1 define variables 31 5.3.2 define the variable dependency graph 31-32 5.3.3 definitions Tabular expression information needed 32-33 5.3.4 document checks 33-34 5.4 change impact analysis 34-36 5.4.1 variable-based change impact analysis 34 5.4.2 change impact analysis based on demand 34-35 5.4.3 change impact analysis based on the dependency 35-36 Chapter 6 Case Study 36-43 6.1 LCS system text description 36-37 6.2 concerns architecture 37 a 6.3 generated formalized document 37-41 6.3.1 variable value type Dictionary 37-38 6.3.2 variable dictionary 38 6.3.3 variable dependency graph 38-39 6.3.4 define the formalized requirements document 39-41 6.4 change impact analysis results 41-43 6.4.1 variable-based change impact analysis 41 6.4.2 demand-based change impact analysis 41-42 6.4.3 based on the dependence of the change impact analysis 42-43 Chapter 7 Summary and Outlook 43-45 7.1 Related work 43-44 7.2 problems and further work 44-45 the References 45-47 during the master's degree papers 47-48 Acknowledgements 48-49 tutors and Author 49-50 summary 50-53 Abstract 53-55