scieee AI-readable full text Open interactive document viewer

Including functional and non-technical requirements in a software requirement patterns catalogue

Palomares Bonache, Cristina

Abstract

Taking into account the drawbacks presented above for each asset in the PABRE framework, the objectives of this thesis are: 1. Do a systematic review of the existent published works on reuse in Requirements Engineering stage, particularly on the use of patterns to achieve the reuse of requirements during Requirements Engineering. 2. Construction of a complete set of non-technical SRP that can be obtained from the Software Requirement Specifications (SRSs) corresponding to 6 real projects. 3. Study of the Content Management System domain and construction of some examples of functional SRP for this domain from the same 6 SRSs. 4. Check the validity of the current SRP metamodel for its suitability for non-technical and functional SRPs. 5. Validate the structure of SRPs (as it is the base of this thesis) and construct a survey which will be used to know what requirements engineers think about the usability of SRP catalogues in real projects in their different enterprises or organizations and if it will be applicable or not.

Full text

Master in Computing Master of Science Thesis INCLUDING FUNCTIONAL AND NON-TECHNICAL REQUIREMENTS IN A SOFTWARE REQUIREMENT PATTERNS CATALOGUE Cristina Palomares Bonache Advisor/s: Xavier Franch Gutiérrez Carme Quer Bosor 23/06/2011 Master Thesis i Meta-Document section Table of contents Meta-Document section ......................................................................... i Table of contents....................................................................................................... i Table of figures ....................................................................................................... iii Table of tables .......................................................................................................... v Master thesis background .................................................................... vii Preface ............................................................................................... vii Objectives.............................................................................................................. viii Master thesis structure ......................................................................... ix Part I: Systematic Review ....................................... 1 1. Research Method for the Systematic Review .................................... 3 1.1. Motivation ..................................................................................................... 3 1.2. The review process ....................................................................................... 4 2. Planning the Review ....................................................................... 5 2.1. Identification of the need for a review ......................................................... 5 2.2. Development of a review protocol ............................................................... 5 2.2.1. The research questions ......................................................................... 6 2.2.2. The search strategy .............................................................................. 6 2.2.3. Study selection criteria and procedures ............................................... 8 2.2.4. Data extraction strategy & Synthesis of the extracted data ................ 8 2.2.5. Project timetable ................................................................................... 9 3. Conducting the Review .................................................................. 10 3.1. Conducting the search ................................................................................ 10 3.2. Selection of primary studies & Quality assessment study ......................... 11 3.3. Data extraction & Data synthesis ............................................................... 12 4. Systematic Review Results Analysis ............................................... 13 4.1. Requirements Engineering Reuse Object ................................................... 13 4.2. Requirements Engineering Reuse Objects Catalogue ................................ 15 4.3. Requirements Engineering Reuse Process ................................................. 16 4.4. Analysis of each identified group ............................................................... 16 4.4.1. Proposals not focused on the elicitation of requirements .................. 16 4.4.1.1. Problem patterns ....................................................................................... 17 4.4.1.2. Formalization patterns .............................................................................. 17 4.4.2. Proposals focused on the elicitation of requirements ........................ 21 4.4.2.1. Sentences Templates ................................................................................ 21 4.4.2.2. Use Case Patterns ..................................................................................... 25 4.4.2.3. Requirement Patterns ............................................................................... 27 4.4.2.4. Refinements Patterns ................................................................................ 34 4.4.2.5. Variability Requirement Patterns ............................................................... 36 5. Conclusions ................................................................................... 40 5.1. Answer to the research questions .............................................................. 40 Part II: Developing Parts of a SRP Catalogue ......... 43 Master Thesis ii 6. Introduction to PABRE ................................................................... 45 6.1. What a Software Requirement Pattern (SRP) is ......................................... 46 6.2. Classification Schemas ............................................................................... 49 6.3. Current SRP Metamodel.............................................................................. 49 6.4. Non-Functional Part of the SRP Catalogue ................................................. 51 7. Obtaining Software Requirement Patterns (SRP) ............................. 53 7.1. Applied method .......................................................................................... 54 7.1.1. Extraction of the requirements of the desired type ........................... 54 7.1.2. Semantic analysis and refinement ..................................................... 56 7.1.3. Insertion of the candidate patterns in the catalogue ......................... 57 7.1.4. Insertion in the patterns catalogue..................................................... 58 8. Developing the Non-Technical part of the Software Requirement Pattern (SRP) Catalogue ...................................................................... 60 8.1. Non-Technical requirements analysis ........................................................ 60 8.2. Non-Technical part of the SRP catalogue ................................................... 62 8.2.1. Experts validation ............................................................................... 64 8.2.2. Non-Technical part of the SRP catalogue classified according the Extended NT-ISO/IEC 9126 quality model .......................................................... 64 9. Developing the Functional part of the Software Requirement Pattern (SRP) Catalogue .................................................................................. 66 9.1. Problems encountered ................................................................................ 66 9.2. Functional domain analysis ........................................................................ 66 9.3. Functional SRP examples ........................................................................... 69 10. The new Software Requirement Patterns (SRP) Metamodel ........... 73 Part III: Validation ................................................ 75 11. Retro-analysis of the Non-Functional part of the Software Requirement Pattern (SRP) Catalogue ................................................... 77 11.1. Motivation ............................................................................................... 77 11.2. Method .................................................................................................... 77 11.3. Obtained Results ..................................................................................... 78 11.4. Conclusions of the Retro-Analysis .......................................................... 82 12. Survey ....................................................................................... 83 12.1. Study definition ....................................................................................... 83 12.2. Survey design ......................................................................................... 83 12.3. Survey execution .................................................................................... 84 12.4. Current state ........................................................................................... 84 Part IV: Final Remarks .......................................... 85 13. Conclusions................................................................................ 87 14. Future Work ............................................................................... 88 References ........................................................... 89 References .......................................................................................... 91 Systematic Literature Review References .............................................. 94 Master Thesis iii Appendix ............................................................. 99 Appendix A: Non-Technical part of the Software Requirement Patterns Catalogue……... ................................................................................. 101 1. Supplier Administrative Information ............................................................ 101 2. Supplier Workforce ....................................................................................... 101 3. Supplier Economic Information .................................................................... 102 4. Supplier Organization ................................................................................... 103 5. Supplier Business Experience ...................................................................... 103 6. Supplier Quality Certification ....................................................................... 103 7. People Related to the Project ....................................................................... 104 8. Product History ............................................................................................. 105 9. Community Support ..................................................................................... 105 10. Maintenance Procedure ............................................................................ 106 11. Type of Maintenance ................................................................................ 107 12. Supplier History ........................................................................................ 108 13. Project Management Method .................................................................... 108 14. Progress Control ....................................................................................... 109 15. Steering Committee .................................................................................. 109 16. Documentation Format ............................................................................. 110 17. Convention of the Documents .................................................................. 111 18. Documentation ......................................................................................... 112 19. Meeting Minutes ....................................................................................... 114 20. Warranty ................................................................................................... 114 21. Reviews ..................................................................................................... 115 22. Meetings Organization .............................................................................. 116 23. Source Code Documented ........................................................................ 116 24. Settlement of Disputes ............................................................................. 116 25. Planning .................................................................................................... 117 26. Release ..................................................................................................... 118 27. Job Properties and Intellectual Rights....................................................... 119 28. Data Migration .......................................................................................... 119 29. Privacy ...................................................................................................... 120 30. Installation ................................................................................................ 120 31. Payment Method ....................................................................................... 121 32. Final Acceptance....................................................................................... 121 33. Analysis ..................................................................................................... 122 34. Start of the Solution .................................................................................. 122 35. Development ............................................................................................ 123 36. Acceptance Tests ...................................................................................... 125 37. Training ..................................................................................................... 127 38. Packaging the solution ............................................................................. 128 Appendix B: Study of the Utility of a Patterns Catalogue during the requirement engineering Stage of Software Projects ........................... 129 Appendix C: Glossary ...................................................................... 137 Table of figures Figure 1: Summary of the works in every step of the review .................................... 11 Figure 2: Classification of the systematic review results .......................................... 13 Figure 3: Inside Structure Form example .................................................................. 17 Figure 4: Inside Structure Form metamodel .............................................................. 17 Figure 5: Model-based Object-oriented Requirement Engineering (MORE) framework ............................................................................................................................ 19 Figure 6: G. Grosz template example ........................................................................ 19 Figure 7: G. Grosz application template example ..................................................... 19 Figure 8: UML-GeoFrame model stereotypes ............................................................ 20 Master Thesis iv Figure 9: UML-GeoFrame pattern example ................................................................ 20 Figure 10: C. Peper et al. temporal logic formalization pattern ................................ 20 Figure 11: Case frame overview ................................................................................ 23 Figure 12: Scenario construction process based on reusing case frames ................ 23 Figure 13: SORL natural language pattern example ................................................. 23 Figure 14: SORL structure and content ..................................................................... 23 Figure 15: B. Estes et al. requirements metamodel .................................................. 24 Figure 16: MIA add-in reuse schema ......................................................................... 24 Figure 17: Reusable security requirements extracted from healthcare legislations by J. Jensen et al. ..................................................................................................... 25 Figure 18: Example of the abstraction process to achieve generic requirements by W. Lam et al. ...................................................................................................... 25 Figure 19: L. Chung et al. use case patterns used in on-line bookstore example ..... 26 Figure 20: A.A. Issa et al. use case pattern example ................................................ 26 Figure 21: M. Saeki use case pattern metamodel ..................................................... 27 Figure 22: M. Saeki decorator pattern example ........................................................ 27 Figure 23: SIREN reusable requirements repository .................................................. 28 Figure 24: Extensible requirement pattern template filled with the Products Catalogues pattern ............................................................................................. 30 Figure 25: Methodology to use extensible requirement patterns ............................. 30 Figure 26: Viewpoint requirement pattern example ................................................. 30 Figure 27: A.Durán Toro et al. L-patterns for information systems requirements and functional requirements ..................................................................................... 32 Figure 28: S. Konrad et al. requirement patterns template for embedded systems 32 Figure 29: Withall‟s requirement pattern template ................................................... 33 Figure 30: X. Franch et al. requirement patterns example ....................................... 33 Figure 31: NFR refinement pattern application example .......................................... 35 Figure 32: NFR refinement pattern example and its application .............................. 35 Figure 33: R. Darimont et al. refinement pattern to decompose Achieve goals ....... 35 Figure 34: R. Darimont et al. refinement pattern application example .................... 35 Figure 35: N. Heumesser et al. variability requirement template example .............. 37 Figure 36: M. Mannion et al. variability requirement template example .................. 37 Figure 37: Role Schema example .............................................................................. 38 Figure 38: Role Variation Point Schema example ...................................................... 39 Figure 39: PABRE framework scenario....................................................................... 46 Figure 40: Organization of the SRP catalogue: Patterns, Dependencies and Classification Schemas ....................................................................................... 49 Figure 41: Classification schema as a folder tree ...................................................... 49 Figure 42: Metamodel for software requirement patterns (SRP) and their classification ....................................................................................................... 50 Figure 43: Metamodel for SRP Metrics ....................................................................... 51 Figure 44: Method to construct parts of the SRP catalogue ...................................... 53 Figure 45: Example of requirements extracted ......................................................... 54 Figure 46: Method to build parts of a SRP catalogue ................................................ 55 Figure 47: Requirement that states more than one restriction ................................. 56 Figure 48: Identification of pattern candidates ......................................................... 57 Figure 49: Diagram of the parts of a requirement pattern ........................................ 58 Figure 50: Refinement pattern case 1, candidate is contained in the pattern.......... 59 Figure 51: Refinement pattern case 2, a specific part of the candidate is not contained in the pattern ..................................................................................... 59 Figure 52: Refinement pattern case 3, a specific part of the candidate is not contained in the pattern and the fixed part of the pattern is not contained in the candidate ..................................................................................................... 59 Figure 53: I. Sommerville types of non-functional requirements, with non-technical ones highlighted ................................................................................................. 60 Figure 54: Distinction between non-functional and non-technical requirements ..... 61 Figure 55: An excerpt of the non-technical part of the extended ISO/IEC 9126-1 catalogue ............................................................................................................ 61 Master Thesis v Figure 56: Main functionalities of CMSs ..................................................................... 67 Figure 57: Different types of users in CMSs .............................................................. 68 Figure 58: Examples of exclusive Set Metrics ........................................................... 73 Figure 59: New SRP metrics metamodel ................................................................... 74 Figure 60: Excerpt of the software requirement pattern metamodel ....................... 77 Figure 61: Number of SRSs in which a concept appears ........................................... 78 Figure 62: Number of requirements per cluster ........................................................ 79 Figure 63: Concepts divided taking into account if they are represented by one or more forms ......................................................................................................... 79 Figure 64: Information dependent on the project of requirements of SRSs of the same concept form stating the same restriction ............................................... 82 Figure 65: Ciolkowski et al. survey process overview ............................................... 83 Table of tables Table 1: Template used to data extraction and synthesis .......................................... 9 Table 2: Database searches results ........................................................................... 10 Table 3: Number of non-relevant results ................................................................... 10 Table 4: Systematic review works according the characteristics of the object to be reused ................................................................................................................. 15 Table 5: Systematic review works according the characteristics of the catalogue of objects to be reused ........................................................................................... 15 Table 6: Systematic review works according the characteristics for the use of objects to be reused ........................................................................................... 16 Table 7: Summary of the systematic review works found related to the formalization of requirements .................................................................................................. 18 Table 8: Summary of the systematic review works found related to the reuse of requirements using templates in natural language (part I) ............................... 22 Table 9: Summary of the systematic review works found related to the reuse of requirements using templates in natural language (part II) .............................. 22 Table 10: Summary of the systematic review works found related to use case patterns .............................................................................................................. 26 Table 11: Summary of the systematic review works found related to requirement patterns (part I) .................................................................................................. 28 Table 12: Summary of the systematic review works found related to requirement patterns (part II) ................................................................................................. 29 Table 13: Summary of the systematic review works found related to refinement patterns .............................................................................................................. 34 Table 14: Summary of the systematic review works found related to variability requirement patterns ......................................................................................... 36 Table 15: Classification of the elicitation proposals of the systematic review according their details explained ....................................................................... 41 Table 16: Classification of the detailed elicitation proposals of the systematic review according their type of catalogue ...................................................................... 41 Table 17: SRP template filled with Failure Alerts example ........................................ 48 Table 18: Non-Functional part of the SRP catalogue classified according to ISO/IEC 9126-1 ................................................................................................................ 51 Table 19: Example of requirements expressing the same restriction stated in different ways ..................................................................................................... 56 Table 20: Requirement refinement examples ........................................................... 56 Table 21: Catalogue of candidates patterns, example of new candidate ................. 57 Table 22: Catalogue of candidates patterns, example of associate candidate ......... 58 Table 23: Documentation Format Non-Technical SRP ............................................... 63 Table 24: Payment Method Non-Technical SRP ......................................................... 64 Table 25: Non-technical SRPs classified according the extended NT-ISO/IEC 9126 quality model ...................................................................................................... 65 Table 26: Version Number Management Functional SRP .......................................... 69 Table 27: Version Management Functional SRP ........................................................ 71 Master Thesis vi Table 28: Search Functional SRP ............................................................................... 72 Table 29: Forms detected in the requirements related to Authorization in SSI-CPPHT SRS documents .................................................................................................. 80 Table 30: Example of parts of a cluster of requirements showing implicit knowledge for the Authorization concept ............................................................................. 80 Master Thesis vii Master thesis background This master thesis is the result of my work on the research group GESSI (Group of Software Engineering for Information Systems) [1] during the last months. This group, that belongs to the department ESSI (Enginyeria de Serveis i Sistemes de la Infomació) [2] of the UPC (Universitat Politècnica de Catalunya BarcelonaTech) [3], is working on several research lines, such as Model-Driven Engineering (MDE) [4], Software Quality (SQ) [5], i* modeling [6] and Service Monitoring [7]. Among them, I have been working on the Requirements Engineering [8] line, which is already a consolidated research line in the group. I am principally working in Requirements Engineering area, focused on the development of a framework called PABRE (PAtterns Based Requirements Elicitation) [9]. The idea behind this framework is to provide requirements engineers or system analysts with different artifacts, which trough the use of requirement patterns, make easier the requirements elicitation stage and improve the traceability of the requirements and its corresponding documentation. For more information of my previous work in this direction see [10, 11, 43]. Preface Due to the increasing pressure to achieve software with a high quality in the shortest time, from many years ago different reuse techniques have been introduced in the software development process [12]. These techniques facilitate the design and development of components in order to be reused in other applications, reducing the development time, improving the product quality and being more competitive on costs. Ideally, the reuse consists on using knowledge in its most abstract form [13]. The requirements represent the most abstract level of knowledge in software projects, in a way that by reusing requirements the level of abstraction of reusable items increases. Because of this, the concept of reuse in the requirements engineering stage is accepted as a desirable goal from years ago [14-19]. There have been several techniques proposed to reuse knowledge during Requirements Engineering, but it seems that no concrete proposal has achieved a good acceptance. Particularly, what appears to be missing in the literature is the form that requirements should have so that reuse can be achieved in requirements elicitation as part of regular projects. In the field of software engineering, patterns were created firstly to solve problems identified during the design of software systems, and from many years ago, many research and development efforts in software engineering have focused on the identification and use of such patterns [20]. On the other hand, according to Glinz [21], requirements set the boundaries of an important dimension of the software products, and because of this their final quality depends on their Software Requirement Specifications (SRS) (also known as requirements books). However, there are some problems that often exist in SRSs: usually requirements are stated in an ambiguous, incomplete and inconsistent manner, and generally they are expressed in an unsystematic way [22]. Master Thesis: Systematic Review 4  Systematic reviews specify the information to be obtained from each primary study, including quality criteria by which to evaluate each primary study. 1.2. The review process As mentioned before, one of the key features of systematic reviews is the definition of a review protocol that specifies the methods that will be used to perform the review. As stated in [26], “A review protocol specifies the methods that will be used to undertake a specific systematic review. A predefined protocol is necessary to reduce the possibility researcher bias.” Following Kitchenham‟s guideline, we should undertake this State of the Art accordingly to the following steps: 1. Planning the review (Section 2) 1.1. Identification of the need for a review 1.2. Development of a review protocol 2. Conducting the review (Section 3) 2.1. Conduct the search 2.2. Selection of primary studies 2.3. Quality assessment study 2.4. Data extraction 2.5. Data synthesis 3. Reporting the review (Section 4 & 5) Although these stages seem to follow a sequential mode, it‟s important to clarify that the development of these stages may involve iteration. Master Thesis: Systematic Review 5 2. Planning the Review The planning of the review consists of 2 basic steps, which are described in the following subsections: 1. Identification of the need for a review. 2. Development of a review protocol. 2.1. Identification of the need for a review As specified in the guideline, the first step before undertaking a systematic review is to search for existing systematic reviews of the subject that we want to study. Then, prior to undertaking a systematic review, we should ensure that a systematic review is necessary (i.e. a systematic review that covers our subject of study does not already exist). There is no procedure defined in [26] in order to search for these systematic reviews in an accurate manner. Nevertheless, we present here the procedure that was followed for retrieving existing reviews. To increase the number of results, we did not focus just on systematic reviews, but on reviews and states of the art, regardless the methodology followed for developing them. The following databases were searched for reviews:  Google Scholar [27]  IEEE Xplore [28]  ACM [29]  Springer [30]  ISI Web of Knowledge [31]  Science Direct [32] We were interested in searching reviews that contained the use of patterns to reuse knowledge in Requirements Engineering. Given that this is a subject too specific, we searched for reviews of reuse during Requirements Engineering in general (taking into account that patterns are a particular way of reuse). The following keywords were used to search in these sources. In order to reduce the noise of the results, the keywords were applied just to the title of the papers. We consider that because of the nature of this kind of papers, they should have a relevant name in the title itself. 1. reus* AND requirement* AND review 2. reus* AND requirement* AND “state of the art” The queries didn‟t produce any result in any of the above sources. Then we concluded that no review or State of the Art has been reported to the significant listed databases. To fill this gap, we needed a more extended research to cover densely the current State of the Art of reuse of requirements, and specifically in the use of patterns during this reuse. Therefore, the development of a systematic review was required. 2.2. Development of a review protocol A review protocol specifies the methods that are to be used to undertake a specific systematic review. A predefined protocol is necessary to reduce the possible researcher bias. Master Thesis: Systematic Review 6 A review protocol is composed of the following elements:  The research question/s that the review is intended to answer.  The strategy that will be used to search for primary studies.  Study selection criteria and procedures.  Data extraction strategy.  Synthesis of the extracted data.  Project timetable. 2.2.1. The research questions The first step of the review is the development of the research questions. It is intended by this systematic review to answer questions that identify and/or scope future research activities. During the development of this work, we will focus on those approaches related to Requirements Engineering that deal in some way with patterns, putting special attention on those proposals that use patterns to reuse requirements. The research questions of this systematic review are then: 1. How patterns are used during requirements engineering? 2. Are there specific proposals that use patterns to reuse requirements? 3. Among the previous proposals, do any of them propose a wellestablished set of patterns (i.e. a catalogue)? 2.2.2. The search strategy In this systematic review, in order to cover a broader set of sources, the search was done directly over well-known databases that embrace a lot of different conferences, journals, etc. After evaluating different options, we decided to discard ISI Web of Knowledge [31] and Google Scholar [27]: the first one because the sources that it embraces also appear in other databases and the second one because contains a lot of different topics and produces a lot of noise. The selected databases to search in to perform this systematic review were: IEEE Xplore [28] Description: IEEE Xplore is a database produced by IEEE which includes the full publications of IEEE (Institute of Electric and Electronic Engineers) and IET (Institution of Engineering and Technology). It contains journals and proceedings from both institutions since 1988. ACM [29] Description: It has complete access to the publications of ACM (Association for Computing Machinery), for both journals and proceedings. Springer [30] Description: Database of journals and books published by Springer‐Verlag and other editors, such as Kluwer. It includes 500 multidisciplinary journals, and also 1800 monographs of the Master Thesis: Systematic Review 7 collection Lecture Notes in Computer Science (LNCS), all of them specialized in computer science. Science Direct [32] Description: It has complete access to the publications of ElSevier editorial, which includes a lot of journals and proceedings, with the particularity that its content is open (not is necessary having a subscription to access to the full text of the published works). To find out how patterns are involved in Requirements Engineering, we decided to search proposals that in some way are related with requirements or Requirements Engineering and reuse (patterns are always associated to the reuse concept, so we preferred to look for reuse instead of patterns or templates because the term pattern or template is not always used when talking about these artifacts). Then, the keywords used were:  Reuse or Reusability or Reusing (i.e. reus*)  Requirement, Requirements, Requirements Engineering (i.e. requirement*) We decided to search these keywords in Title and Abstract fields of documents, as they usually contain the most representative information of a document. Then, our string search was: reus* in (Title or Abstract) AND requirement* in (Title or Abstract) The search and data extraction strategy used to find the primary studies was: 1. Search in the selected databases. The string search is used into the selected databases and the obtained results are exported to RefWorks [33], a reference manager. 2. Delete duplicates and non-relevant results. RefWorks is used to remove results that are duplicated and also those ones that are not relevant (for instance those results that are the introduction of proceedings). 3. Selection of works based on their titles. To try to reduce the number of articles, we rule out the ones that evidently are out of the scope of the systematic review. 4. Selection of works based on their abstracts. Many times the titles are confusing or not representative enough. Reading the abstract helps to refine the selection done in step 3. 5. Selection of works based on an overview of the entire work. Each work is skimmed to be sure before the previous stage that it is relevant for the systematic review. 6. Selection of works based on their full texts. Only the selected works after step 5 are read in depth. The deep reading of the article is made marking the relevant parts and annotating comments to ensure that future readings will take less time. During this step a template related with keywords and other important issues is filled in order to classify and facilitates the future data extraction and synthesis for those works that are selected in this step. Master Thesis: Systematic Review 8 7. Mark work relevance. As final step, we annotate a personal view of the article, pointing out the benefits, and the detected disadvantages. 8. Addition of further work. During the process of the systematic review, other works might be included. This process is performed through obtaining relevant citations of the papers and through further work of the researchers. For all article in this further work, steps 3 to 7 must be carried out. 2.2.3. Study selection criteria and procedures Study selection criteria are intended to identify those primary studies that provide direct evidence about the research question. In order to reduce the likelihood of bias, selection criteria should be decided during the protocol definition. Specifically, taking into account our strategy defined in the previous section, these study selection criteria must be applied from step 3 through 7 of our strategy. We define the selection criteria in the following strategy steps:  Selection of works based on their titles (step 3). The objective of this first filter is to identify and remove the noise of the results. After this selection, documents whose scope is not related with Requirements Engineering were removed.  Selection of works based on their abstract (step 4). At this stage, we discarded all works that although being related with Requirements Engineering are definitively out of the scope. This can be due to the fact that Requirements Engineering is not the primary contribution of the paper.  Selection of works based on an overview of the entire work (step 5). At this point we remove by skimming the article all works which their contributions are not relevant or present poor results. In this step we focus exactly on removing those works that are not related with patterns.  Selection of articles based on their full text (step 6). The selection criteria are the same as those ones applied in step 5. 2.2.4. Data extraction strategy & Synthesis of the extracted data In order to fulfill these two parts of the protocol, we created a template that is fulfilled for ach relevant work of the systemic review (those ones that are selected after step 6). For further details of this template see Table 1. Topic Description Domain of the proposal Is a proposal that can be used in all domain or it is for a specific domain? Which domain? Type of requirements to reuse Functional requirements, Non-functional requirements, some of them, etc. Object to reuse Sentences in natural language, Conceptual Models, Use Cases, etc. Notation used to define the object to reuse in the pattern Natural Language, Modeling Language (for instance UML, i* or a own one), Formal Language (like Description Logics and Formal Temporal Logic), etc. Master Thesis: Systematic Review 9 Structure in which the object to reuse is contained If the object to reuse is contained in a pattern (which have further information to facilitate its reuse) or only contain the object to reuse (template). If it is a pattern, whether it contains information about when to use the object (context) or about further stages in the development process. Object information What is the information contained in the object to reuse? Relationships There is some type of relationships considered among the objects to reuse? What are they? Reus Object Metamodel There exists a metamodel to describe the objects to reuse? Reuse Methodology There exists a methodology to reuse the objects? Reuse object construction There is a methodology to construct the objects to be reused? Arrangement If the objects are arranged in a taxonomy or directly in a repository. Catalogue There is an established set of reusable objects? It is general or specific for a project or test? Is it a finished set or in evolution? Catalogue evolution It is explained in the work how to evolve the catalogue? Classification There exists a classification of the objects to reuse? Classification Metamodel There exists a metamodel to describe the classification? Related tools Does the proposal have related tools? What are their functionalities? Scope of the proposal Specification, Documentation, Elicitation, etc. Proves Has the proposal been tested in real cases? Type of study Empirical, Non-Empirical, Experience Report, Literature Review, etc. Table 1: Template used to data extraction and synthesis 2.2.5. Project timetable There is no timetable for this work apart from the deadlines imposed by the Master Thesis. Then, this part of the protocol is omitted. Master Thesis: Systematic Review 10 3. Conducting the Review This section explains how the review was undertook and the problems encountered in that period. The conduction of this systematic review was a part of a broader systematic review that some GESSI members did. This broader systematic review was intended to have a global vision of reuse in Requirements Engineering, while this thesis systematic review was only interested in those approaches that use patterns to achieve the reuse. Because of this, the first five steps that the review protocol marks (see section 2.2.2) were conducted by me and three other members of the group in equal parts. The other steps (from 6 to 9) were conducted by me independently from the general systematic review. 3.1. Conducting the search This stage corresponds to steps 1 and 2 of the review protocol (Search in Selected Databases and Delete duplicates and non-relevant results, respectively) and was done in March 2011. The major problem of this stage was that the different databases have different ways of doing queries (the way in which and’s and or’s are inserted, if they have or not implemented the * or if it is implicit, etc.). Because of this, we had to look the different manuals of the databases and solve all this doubts. In table 2 we can find the number of results found in the different databases. After doing all the searches and importing them to Refworks, we proceed to delete duplicates and non-relevant results. Refworks has options that can help to do this. To remove duplicates, we used the option “Remove duplicates” (which show the exact duplicates in the list) and “Remove duplicates almost exact” (which show the references that are very similar, but have little differences: for instance, case sensitive differences, order in the authors list, etc.). Table 3 contains the number of works that were deleted with these two options. Source Number of works IEEE Xplore 1711 Science Direct 250 Springer Link 534 ACM 72 TOTAL 2567 Table 2: Database searches results Non-relevant Cause Number of works Duplicates 21 Almost duplicates 26 “Proceedings” in title 18 “Conference” in title 17 “Title” in title 3 “IEEE” in title 3 TOTAL 88 Table 3: Number of non-relevant results Finally, in this stage we also removed the works that are non-relevant, such as introduction to conference proceedings, other introductions and so on. To do this, we searched in the title the terms “proceedings”, “conference”, “title” and “IEEE” and deleted those ones that were clearly not-relevant. Table 3 also contains these figures. At the end of this stage we had 2567 – 88 = 2479 works. Master Thesis: Systematic Review 11 3.2. Selection of primary studies & Quality assessment study This stage corresponds to the steps 3 from 5 (Selection of articles based on their titles, Selection of articles based on their abstracts and Selection of articles based on an overview of the entire work) and also part of the step 6 (Selection of articles based on their full text), the part of rejecting those works that are not relevant to this systematic review. At the beginning of this stage we had 2479 works to start step 3. After reading their titles, we rejected in this step 2081 articles, so we had 398 articles to revise the abstract. We read the abstract of these works and discard 187 articles, and at the end of step 4 we had 211 articles. During step 5, while having an overview of the entire work, we classified the articles regarding the object that they use to reuse (patterns, ontologies, etc.) and what was the purpose of the reuse (specification, elicitation, etc.). In this step the systematic review of this thesis took a different course from GESSI systematic review. GESSI passed to step 6 all those works that where related with reuse in the elicitation of requirements, while this thesis systematic review passed to step 6 all those articles that were related to patterns. As we have mentioned in the introduction of this section, these previous five steps of the review were conducted by me and three other members of the group in equal parts. The following steps (from 6 to 8) were conducted by me independently from the general systematic review. Finally, in step 6 we started with 51 works that seemed to be related to patterns (we discarded 160 articles in step 5). After reading the entire works in detail we discarded 17 works:  16 of them because they didn‟t talk really about patterns in Requirements Engineering (the term pattern appear through the text but it is not relevant or they talk about patterns but not in Requirements Engineering) [SLR1 to SLR16].  The other one because it was written in Portuguese [SLR17]. Then, we found 34 works that were relevant to this systematic review and we revised them carefully in the following stage. Figure 1 resumes all the results in each step. Figure 1: Summary of the works in every step of the review Master Thesis: Systematic Review 12 Also step 8 was done in parallel to all the previous steps. During reading the articles, checking some of the references and so on, 5 works [SLR18 to SLR22] were added because after its revision they were considered relevant to this systematic review. Also, the well-known Withall‟s book about Software Requirement Patterns was included [SLR23]. 3.3. Data extraction & Data synthesis This stage corresponds to a part of step 6 Selection of articles based on their full text (specifically, the part related to fill up the template proposed in Table 1) and step 7 Mark work relevance. This part was conducted with no problems and the analysis of the examined documents is detailed in the following section. Master Thesis: Systematic Review 13 4. Systematic Review Results Analysis Given the criteria and protocols defined in the previous sections, the synthesis of the 40 retrieved documents is presented. Here we will describe the State of the Art of the different approaches that deal with patterns (sometimes also called templates) in Requirements Engineering, focusing specially on those ones that use patterns to elicit requirements. As shown in the following figure, we present a „roadmap‟ identifying the different groups detected while doing these review. The results of the same authors that talk about the same approach have been considered as an only proposal. The proposals found have been classified:  First taking into account if they are used to elicit requirements or not,  And inside these two groups, taking into account the information about the object to be reused. Next, there is one subsection for each of these three analyses. NO ELICITATION ELICITATION Problem Patterns (patterns to state the problems found during Requirements Engineering) Formalization Patterns (patterns to transform informal specifications into formal specifications) Sentences Templates (templates, without further information of context, with 1. the structure of a sentence or 2. text of requirements) Use Case Patterns (patterns to construct use cases) Requirement Patterns (patterns that contain the text of requirements and further information, at least, about the context ) Refinement Patterns (patterns to refine requirements into further requirements) Variability Patterns (patterns to manage systems specifications in which a part is fixed and the other one variable) 1 proposal (1 result) 4 proposals (7 results) 6 proposals (9 results) 3proposals (4 results) 7 proposals (11 results) 2 proposals (4 results) 3 proposals (4 results) Figure 2: Classification of the systematic review results The next sections shown how each one of these works has been classified taken into account the reuse object they propose, their catalogues and their reuse process. Finally, the last section contains the analysis of the proposals found. 4.1. Requirements Engineering Reuse Object Table 4 contains the number of relevant proposals of this systematic review classified according to the characteristics of the object that they propose to reuse.  The first characteristic states whether the object to be reused may be reused in general independently of the domain of the software addressed or for a specific domain.  The second and third ones are useful to know what is the object to be reused (sentences in natural language, their structure, conceptual models, uses cases, formalization of requirements) and for what type of requirements the reuse of this object produces (functional, nonfunctional or both of them).  The fourth characteristic states what is the notation to define the object to be reused, such as natural language, modeling language Master Thesis: Systematic Review 20 proposals of patterns, and states those patterns that may be relevant when using this one. Figure 8: UML-GeoFrame model stereotypes Figure 9: UML-GeoFrame pattern example In the group of proposals that use patterns to formalize requirements to formal logic, we found the Peper et al. proposal [SLR27]. Their object is to transform natural language requirements for a real-time system to real-time temporal logic using patterns similar to the one in figure 10. The remarkable parts of this proposal compared to the previous ones are: the notion of parameter (p, q, T1, T2 and T3 in the example) is present; the semantic properties field includes some special cases that could be relevant when using this pattern. As in other patterns, the goal field (intention in the example) is present. Figure 10: C. Peper et al. temporal logic formalization pattern Master Thesis: Systematic Review 21 4.4.2. Proposals focused on the elicitation of requirements In the last years, elicitation of requirements during Requirements Engineering and also its final result, the requirements specification documents, has been a focus to deal with. Due to the importance that requirements specifications have in further development stages, it has great importance that these specifications are defined precisely and also that state all the needed requirements for the new system. Among the different ways to achieve these goals, the reuse of requirements, specifically with patterns, holds a prominent position. The next sections focus deeply in the different patterns that have been used to reuse requirements, putting special attention in the structure of the patterns used and also if there exists or not a formal method to reuse them, a well-defined set of patterns and in its viability of being used in real projects. 4.4.2.1. Sentences Templates The first approach to reuse requirements in their simplest form is to reuse directly the text of these requirements, which is stated using sentences in natural language (SNL). The basic idea of this form of reuse is that the requirements engineers have a set of templates of SNLs, without further information about when to reuse them, and they have to look for those templates that could be useful for a particular problem. We can distinguish two different ways of reusing these SNLs: the first one is related to reuse the structure of these texts, having templates stating what have to be the structure of requirements, similar to language patterns but a little more simpler (K. Watahiki et al. and L. Wei et al. proposals); the second one reuse directly texts of requirements, similar to a copy and paste approach but more sophisticated (B. Estes et al., J. Jensen et al., A. Monzon and W. Lam et al. proposals). Table 8 and 9 contains the proposals founds and their main general characteristics. K. Watahiki et al. [SLR30], [SLR31] L. Wei et al. [SLR32] B. Estes et al. [SLR33] Object to be reused characteristics 1. Domain General Purpose Network Software Security Requirements 2. Object to be reused SNL Structure SNL Structure SNL 3. Requirement type F F, NF F, NF 4. Notation of the object to be reused Natural Language Natural Language Natural Language 5. Where the object to be reused is contained Template Template Template 6. Reusable object metamodel ------ Yes Yes 7. Context information to use the object ------ ------ ------ 8. Information for further stages ------ ------ ------ 9. Relations among reusable objects Yes ------ ------ Catalogue characteristics 1. Arrangement Repository ------ Repository 2. Classification for reusable objects ------ ------ ------ 3. Classification metamodel ------ ------ Yes 4. Existence of a catalogue Project / Test ------ Project / Test 5. State of the catalogue ------ ------ ------ 6. Consideration of catalogue evolution ------ ------ Yes (no method) Master Thesis: Systematic Review 22 Use characteristics 1. Reusable object construction methodology Yes (informal process) ------ Yes (informal process) 2. Reusable object utilization methodology Yes (informal process) ------ Yes (informal process) 3. Reuse tools ------ Yes (use defined patterns to state requirements in natural language) Yes (to consult the DB of requirements and introduce new ones) 4. Proposal tested in real cases Yes ------ ------ Table 8: Summary of the systematic review works found related to the reuse of requirements using templates in natural language (part I) J. Jensen et al. [SLR34] A. Monzon [SLR18] W. Lam et al. [SLR35], [SLR36], [SLR37] Object to be reused characteristics 1. Domain Security Requirements General Purpose General Purpose 2. Object to be reused SNL SNL Sets of SNL 3. Requirement type NF F, NF F 4. Notation of the object to be reused Natural Language Natural Language Natural Language 5. Where the object to be reused is contained Template Template Template 6. Reusable object metamodel ------ ------ ------ 7. Context information to use the object ------ ------ ------ 8. Information for further stages ------ ------ ------ 9. Relations among reusable objects ------ ------ ------ Catalogue characteristics 1. Arrangement Taxonomy ------ Repository 2. Classification for reusable objects Yes ------ ------ 3. Classification metamodel ------ ------ ------ 4. Existence of a catalogue Project / Test Project / Test Project / Test 5. State of the catalogue In Evolution ------ ------ 6. Consideration of catalogue evolution ------ ------ ------ Use characteristics 1. Reusable object construction methodology ------ Yes (informal process) Yes (method) 2. Reusable object utilization methodology ------ Yes (informal process) Yes (informal process) 3. Reuse tools ------ Yes (to mark in requirements specifications what are the requirements that are reusable and reuse them, and also create new requirements) Yes (a tool to create new tools (or formularies) to reuse the defined patterns) 4. Proposal tested in real cases ------ Yes ------ Table 9: Summary of the systematic review works found related to the reuse of requirements using templates in natural language (part II) Master Thesis: Systematic Review 23 The main difference between K. Watahiki et al. [SLR30, SLR31] and L. Wei et al. [SLR32] proposals, which are focused on the reuse of text structure, is the way in which they define the structure of these requirement texts. The first one is based in case grammar, one of the techniques to manipulate the semantic structure of sentences and to formalize the rules of the combination of the verbs and their attributes (also called cases), such as “actor”, “object” and “instrument”. They define a case frame, the entity that contains the sentence structure to reuse, and the case structure that a verb can take (see figure 11 and 12 to have a general overview of the entire approach). This approach has the goal to construct scenarios for any domain using this case frames, so it is focused on defining only the functional requirements of a system. The second proposal, however, define a new language, called SORL, to describe requirements with functional and nonfunctional properties for networked software. Basically, they define natural language patterns (see figure 13 for an example), which are combined with domain ontologies to help to fill pattern‟s gaps. Figure 14 give an overview of how natural language patterns and ontologies are related. Figure 11: Case frame overview Figure 12: Scenario construction process based on reusing case frames Figure 13: SORL natural language pattern example Figure 14: SORL structure and content Master Thesis: Systematic Review 24 As explained before, the second group of approaches in this category deals directly with the reuse of texts of requirements. The basic principle of these approaches is to have a repository or taxonomy which stores all reusable requirements. Then the reuse method entails that requirement engineers have to look for those requirements that are useful for a new system making queries, which sometimes may be even harder that define the requirements from scratch. Both B. Estes et al. [SLR33] and A. Monzon [SLR18] works propose to reuse the entire content of requirements specifications (i.e. functional and nonfunctional requirements) to create new specifications systems. The main differences between both proposals are: 1. B. Estes et al. work is focused in system requirements, whereas A. Monzon proposal has no specific domain to its work. 2. B. Estes et al. proposal define a metamodel that describes the structure of requirements, and also their attributes and classification (figure 15). 3. A. Monzon proposes a particular reuse methodology (MIA) that permits three different types of requirements (figure 16): strong reused requirements (or cloned objects), that are those ones considered to evolve synchronously in the future (i.e. if a requirement is changed the cloned requirements also change); weak reused requirements (or derived objects), that are those ones that are copied at the beginning of a project from a project source but evolve separately from the source; and specific requirements (or new objects) for a particular project. Figure 15: B. Estes et al. requirements metamodel Figure 16: MIA add-in reuse schema From another point of view, J. Jesen et al. [SLR34] map legislation-based legal requirements for sensitive personal information to a set of reusable technical information security requirements, creating a security requirements catalogue for a concrete legislation. The objective is that if requirements engineers know what the legislation that a new system has to fulfill is, they can reuse directly the requirements of those aspects that are needed for the new system, avoiding that requirements engineers have to make the effort to read and understand complex legislations. Figure 17 contains a subset of the catalogue of reusable security requirements applicable to healthcare. The last approach found in this category is that one of W. Lam et al. [SLR35, SLR36, SLR37]. They explain from an enterprise point of view the approach taken to achieve reusing the set of requirements in natural language for a specific component, defining as the artifact to reuse the Reusable Master Thesis: Systematic Review 25 Requirements Component (RRC), which encapsulates closely related generic requirements of a component. The main contribution of the proposal, apart from grouping requirements, is the process of abstraction done to generalize requirements as much as possible (making them, for instance, independent of the technology used) and the introduction of parameters to achieve this generalization (figure 18). Figure 17: Reusable security requirements extracted from healthcare legislations by J. Jensen et al. Figure 18: Example of the abstraction process to achieve generic requirements by W. Lam et al. 4.4.2.2. Use Case Patterns Use case elicitation and modeling is one of those techniques that have been used extensively in a variety of software development models to bridge the gap between requirements engineers and stakeholders, and capture requirements of software systems. Then, another way of reusing requirements is reuse use cases, and with this goal use case patterns were created. Table 8 summarizes the general characteristics of the relevant proposals found for this systematic review related to use case patterns. L. Chung et al. [SLR38] A. A. Issa et al. [SLR39] M. Saeki [SLR40], [SLR41] Object to be reused characteristics 1. Domain General Purpose General Purpose General Purpose 2. Object to be reused Use Cases Use Cases Use Cases 3. Requirement type F, NF F, NF F 4. Notation of the object to be reused Modeling Language (UML) Natural Language, Modeling Language Natural Language, Modeling Language (UML) 5. Where the object to be reused is contained Pattern Pattern Template 6. Reusable object metamodel Yes Yes (partial) Yes 7. Context information to use the object Yes Yes ------ 8. Information for further stages Yes ------ ------ 9. Relations among reusable objects Yes Yes Yes Master Thesis: Systematic Review 26 Catalogue characteristics 1. Arrangement ------ Repository Repository 2. Classification for reusable objects ------ ------ ------ 3. Classification metamodel ------ ------ ------ 4. Existence of a catalogue Project / Test General ------ 5. State of the catalogue ------ In Evolution ------ 6. Consideration of the evolution of the catalogue ------ ------ ------ Use characteristics 1. Reusable object construction methodology ------ Yes (informal process) Yes (method) 2. Reusable object utilization methodology ------ Yes (method) ------ 3. Reuse tools ------ ------ ------ 4. Proposal tested in real cases ------ Yes ------ Table 10: Summary of the systematic review works found related to use case patterns Both L. Chung et al. [SLR38] and A. A. Issa et al. [SLR39] proposals define use case patterns as diagrams that can be reused in new software projects. The main difference among them is that in the first one, use case diagrams (defined with UML) are accompanied by Non-Functional Requirement (NFR) diagrams of goals and subgoals (defined using the NFR framework [34]) (figure 19) and in the second one use cases in patterns (see figure 20 for an example) are also defined using natural language and some other key attributes, as the goal of the use case and other related use cases. Figure 19: L. Chung et al. use case patterns used in on-line bookstore example Figure 20: A.A. Issa et al. use case pattern example The approach of M. Saeki [SLR 40, SLR41] defines use cases in a similar way of the previous approaches (see figure 21 for its metamodel). The particularity of this work is that use case patterns consist of use cases as classes, generalization relationships “extends” and “uses”, and dependency Master Thesis: Systematic Review 27 relationships such as control dependency, data dependency and aggregation. An example of these patterns is shown in figure 21, the decorator pattern or wrapper pattern, which is used to structure the use cases, so getting flexible and reusable structures. Figure 21: M. Saeki use case pattern metamodel Figure 22: M. Saeki decorator pattern example 4.4.2.3. Requirement Patterns A different approach to achieve reuse during Requirements Engineering is to create patterns that contain the text of requirements, often parameterized texts, and also some extra information about when each pattern has to be used. Requirements patterns are a sophisticated way of reusing requirements, not just reusing the text of other projects like in most of the sentences templates approaches (section 4.2.1), but embracing also a process of abstraction in order to make requirement patterns as general as possible but without losing the essence of the requirements contained in the pattern. The principal difference among requirement patterns and use case patterns is that the last ones reuse a set of functional requirements to describe a complete functionality, but a requirement pattern contains just one or more requirements that are related with some criteria (for instance, availability or interface language) but they don‟t contain all the requirements for a specific functionality. We have found seven different approaches that state requirement patterns to reuse requirements during requirements elicitation (table 11 and 12). A. Toval et al. [SLR42] define the SIREN method (SImple Reuse of software requiremENts) to requirements reuse, where a requirement pattern is defined as a sentence in natural language, sometimes parameterized, that contains also the following attributes: identification, priority, critically, viability, risk, source and other ones that only appear in some requirement patterns. Their repository (figure 23) contains requirement patterns from specific domains and profiles, where each domain or profile is a view of the global repository (i.e. classifications). Domains consist of patterns belonging to a specific application field, such as accounting or finance, whereas profiles consist of homogeneous set of patterns that can be applied to a variety of domains, such as information systems security or personal data privacy law. Their requirement patterns can also include any kind of objects as complementary information, like tables or schemas of any type. Master Thesis: Systematic Review 28 Figure 23: SIREN reusable requirements repository A. Toval et al. [SLR42] R.S. Wahono et al. [SLR43] M. Mannion et al. [SLR44], [SLR45], [SLR46] A. Durán Toro et al. [SLR22] Object to be reused characteristics 1. Domain Security Requirements Web Systems General Purpose General Purpose 2. Object to be reused SNL SNL, Use Cases SNL SNL, Use Cases 3. Requirement type F, NF F, NF F F, NF 4. Notation of the object to be reused Natural Language (NL) NL, Modeling Language Natural Language Natural Language 5. Where the object to be reused is contained Pattern Pattern Pattern Pattern 6. Reusable object metamodel ------ ------ ------ ------ 7. Context information to use the object Yes Yes Yes Yes 8. Information for further stages Yes Yes ------ ------ 9. Relations among reusable objects Yes Yes Yes ------ Catalogue characteristics 1. Arrangement Repository Repository Repository Repository 2. Classification for reusable objects Yes Yes ------ ------ 3. Classification metamodel ------ ------ ------ ------ 4. Existence of a catalogue Project / Test Project / Test Project / Test Project / Test 5. State of the catalogue In Evolution ------ In Evolution ------ 6. Consideration of the evolution of the catalogue Yes (no method) ------ ------ ------ Use characteristics 1. Reusable object construction methodology ------ ------ Yes (informal process) ------ 2. Reusable object utilization methodology Yes (method) Yes (method) Yes (method) Yes (informal process) 3. Reuse tools ------ ------ Yes (to search in the repository and create new patterns) ------ 4. Proposal tested in real cases Yes ------ ------ Yes Table 11: Summary of the systematic review works found related to requirement patterns (part I) Master Thesis: Systematic Review 29 S. Konrad et al. [SLR47] S. Withall [SLR23] X. Franch et al. [SLR48], [SLR49], [SLR50] Object to be reused characteristics 1. Domain Embedded Systems General Purpose General Purpose 2. Object to be reused SNL, Use Cases, Conceptual Models SNL SNL 3. Requirement type F, NF NF NF 4. Notation of the object to be reused Natural Language, Modeling Language (similar to UML) Natural Language Natural Language 5. Where the object to be reused is contained Pattern Pattern Pattern 6. Reusable object metamodel ------ ------ Yes 7. Context information to use the object Yes Yes Yes 8. Information for further stages Yes Yes ------ 9. Relations among reusable objects Yes Yes Yes Catalogue characteristics 1. Arrangement Repository ------ Taxonomy 2. Classification for reusable objects ------ Yes Yes 3. Classification metamodel ------ ------ Yes 4. Existence of a catalogue General General General 5. State of the catalogue ------ ------ Finished 6. Consideration of the evolution of the catalogue ------ Yes (no method) Yes (method) Use characteristics 1. Reusable object construction methodology ------ Yes (method) Yes (method) 2. Reusable object utilization methodology ------ Yes (method) Yes (method) 3. Reuse tools ------ ------ Yes (one to manage requirement patterns and evolve the catalogue; another one to create requirements specifications using patterns) 4. Proposal tested in real cases ------ ------ Yes Table 12: Summary of the systematic review works found related to requirement patterns (part II) R.S. Wahono et al. [SLR43] define the concept of extensible requirement pattern for web applications. They define an extensible requirement pattern as a reusable and extensible framework for requirements that support a system analyst to validate the customer feedback (and needs), by reusing and reconstructing requirement patterns. An extensible requirement pattern has some features related to the extensibility characteristic. Not like other existing patterns, an extensible requirement pattern has two kinds of pattern elements: constraint elements (pattern name, which also includes the classification, problem, contexts, examples, forces, related patterns) and extensible elements (solution, user behaviour, page behaviour, Master Thesis: Systematic Review 36 4.4.2.5. Variability Requirement Patterns A completely different way of using patterns for achieving reuse is when Domain Engineering approach is adapted to Requirements Engineering, having in this way patterns that contain a set of requirements but where variability is integrated. That is, among the set of requirements that a pattern contains, is not necessary to use all these requirements when a pattern is applied. Instead, these requirements follow some usage rules (for instance, exclusion between some requirements) that have to be fulfilled when applying this pattern. This type of patterns is what we call variability requirement patterns. Table 14 summarizes the general characteristics of the relevant proposals found for this systematic review related to this type of patterns. N. Heumesser et al. [SLR55] M. Mannion et al. [SLR21] J. Dehlinger et al. [SLR56], [SLR57] Object to be reused characteristics 1. Domain Security Requirements General Purpose Agent-based Systems 2. Object to be reused SNL SNL SNL 3. Requirement type F F, NF F, NF 4. Notation of the object to be reused Natural Language Natural Language Natural Language 5. Where the object to be reused is contained Template Template Template 6. Reusable object metamodel ------ Yes Yes 7. Context information to use the object ------ ------ ------ 8. Information for further stages ------ ------ ------ 9. Relations among reusable objects ------ Yes ------ Catalogue characteristics 1. Arrangement Repository ------ ------ 2. Classification for reusable objects ------ ------ ------ 3. Classification metamodel ------ ------ ------ 4. Existence of a catalogue Project / Test Project / Test Project / Test 5. State of the catalogue ------ ------ ------ 6. Consideration of the evolution of the catalogue ------ ------ Yes (method) Use characteristics 1. Reusable object construction methodology ------ Yes (method) Yes (method) 2. Reusable object utilization methodology ------ Yes (method) Yes (method) 3. Reuse tools Yes (to browse and manage templates) ------ ------ 4. Proposal tested in real cases Yes Yes ------ Table 14: Summary of the systematic review works found related to variability requirement patterns Master Thesis: Systematic Review 37 Figure 35: N. Heumesser et al. variability requirement template example Figure 36: M. Mannion et al. variability requirement template example Master Thesis: Systematic Review 38 N. Heumesser et al. [SLR55] and M. Mannion et al. [SLR21] propose this idea of variability requirement patterns, but in their case templates (as they don't propose any information apart from requirements to be reused), where requirements are expressed using sentences in natural language, in the case of Mannion proposal parameterized. The main difference among both works is the way in which they represent variability. The first one separates model-dependent (i.e. core requirements) from model-independent requirements (e.g. a specific communication protocol used, the implementation of a specific visual display or threshold values) on the same level of abstraction, giving as a result the variability requirement template shown in figure 35. The variability requirement template of the second one, however, is composed by a set of requirements and some variability diagrams that express how a complex requirement is decomposed into simpler ones and how the requirements have to be used when the template is applied (for instance, in the example in figure 36, single adaptor discriminant expresses that their associated requirements are mutually exclusive and multiple adaptor discriminant expresses that from their associated requirements at least one has to be chosen). J. Dehlinger at al. [SLR56, SLR57] also define variability requirement templates, but from a different perspective of the previous ones. Their idea is defining templates for agent's roles in a way that can be reused. Each agent's role template has the following characteristics: protocols (the way an agent can interact with other agents), activities (computations associated with the role that can be executed without interacting with other agents), permissions (information resources rights that a role has to read) and responsibilities (functionalities of a role). The variation is introduced in this template using variation points, which give a classification of the different levels of intelligence that a role can adopt during its lifetime. All this information is encapsulated in what they call Role Schema and Role Variation Point Schema (see figure 37 and 38 for an example, respectively). In this way, future systems will employ roles comprising some of the variation points previously defined as well as new capabilities not found in any template. Role Schema for cluster allocationplanning agent Role Variation Point Schema for the I1 variationpoint of the cluster allocationplanning agent Figure 37: Role Schema example Master Thesis: Systematic Review 39 Role Schema for cluster allocationplanning agent Role Variation Point Schema for the I1 variationpoint of the cluster allocationplanning agent Figure 38: Role Variation Point Schema example Master Thesis: Systematic Review 40 5. Conclusions In this systematic review the following goals have been accomplished:  Definition of a protocol for the systematic review.  Definition of research questions.  Historical exploration of the research done around the studied research area.  Overview of the current and common knowledge of the studied research area.  Validation of the systematic review. The definition of the protocol is based on the indications made by B. Kitchenham in [26]. We have established a rigorous protocol to reduce a possible bias in the results. The protocol contains all the strategies used to search and to extract data, including the definition of the research questions. During the exploration of the research area, we selected the proposals that, after applying the review protocol and the selection criteria, were considered relevant for this study. For each of them we did a little introduction during the previous section, putting special attention in the structure of the patterns and the assets around them. Finally, the validation of this systematic review has been done taking into account the amount of reviewed work for each topic and the importance of each studied work. 5.1. Answer to the research questions In the beginning of the systematic review we stated the following questions: 1. How patterns are used during requirements engineering? 2. Are there any specific proposals that use patterns to reuse requirements? 3. Among the previous proposals, do any of them propose a wellestablished set of patterns (i.e. a catalogue)? As said at the beginning of the systematic review results analysis, most of the found proposals (21 proposals over 26) that use patterns during Requirements Engineering are focused on the elicitation of requirements, which give the answer to question 1. However, we also found some other works that are not used during this stage, basically those ones that are used to transform informal requirements specifications to formal ones. During this review, we found exactly 21 proposals (corresponding to 32 results) that use patterns or templates to reuse requirements during the elicitation stage. However, as said during the analysis of the results, some of the proposals are too fuzzy or, on the contrary, they define precisely the pattern or template approach but although it seems that it can be applied during requirements elicitation, they don‟t explain how it will be used or the proposed method is not clear explained, which is a drawback for using them in a real situation (see table 15 for a classification). Then, as answer to question 2, we can say that there are proposals that use patterns to reuse requirements, but not in all of them the reuse process is clear. Master Thesis: Systematic Review 41 Elicitation proposals too fuzzy or without a clear reuse method Elicitation proposals with a clear defined pattern and a clear reuse method 1. L. Wei et al. [SLR32] 2. B. Estes et al. [SLR33] 3. J. Jensen et al. [SLR34] 4. A. Monzon [SLR38] 5. L. Chung et al. [SLR38] 6. A. A. Issa et al. [SLR39] 7. A. Toval et al. [SLR42] 8. R.S. Wahono et al. [SLR43] 9. A. Durán Toro et al. [SLR22] 10. S. Konrad et al. [SLR47] 11. R. Darimont et al. [SLR54] 12. N. Heumesser et al. [SLR55] 13. M. Mannion et al. [SLR21] 14. J. Dehlinger at al. [SLR56, SLR57] 1. K. Watahiki et al. [SLR30, SLR31] 2. W. Lam et al. [SLR35, SLR36, SLR37] 3. M. Saeki [SLR40, SLR41] 4. M. Mannion et al. [SLR44, SLR45, SLR46] 5. S. Withall [SLR23] 6. X. Franch et al. [SLR48, SLR49, SLR50] 7. S. Supakkul et al. [SLR51, SLR52, SLR53] Table 15: Classification of the elicitation proposals of the systematic review according their details explained Answering to question 3, among all the proposals reviewed, only two of them have a well-established catalogue of patterns (table 16), which are those ones of S. Withall and X. Franch et al. Both of them define a requirement patterns catalogue for non-functional requirements that can be applied in any software project of any domain. They are probably the proposals that define better what a requirement pattern is, and that also define a methodology to construct patterns and to use them, even considering how to maintain this catalogue up-to-date. X. Franch et al. work goes one step further and, among other different assets, they have also developed tools to facilitate the reuse in real projects. Not only for their requirement pattern structure, but also for the framework that surround these patterns and the work published about them, we can say that probably this two proposals are the most-consolidated ones, and because of this they have catalogues defined. As a final remark, it‟s important to say that these two proposals only have worked with non-functional requirements, but it is important to know how they will work with other types of requirements (non-technical or functional ones), so further work is needed in both approaches to deal with this issue. Detailed elicitation proposals without a well-established catalogue Detailed elicitation proposals with a well-established catalogue 1. K. Watahiki et al. [SLR30, SLR31] 2. W. Lam et al. [SLR35, SLR36, SLR37] 3. M. Saeki [SLR40, SLR41] 4. M. Mannion et al. [SLR44, SLR45, SLR46] 5. S. Supakkul et al. [SLR51, SLR52, SLR53] 1. S. Withall [SLR23] 2. X. Franch et al. [SLR48, SLR49, SLR50] Table 16: Classification of the detailed elicitation proposals of the systematic review according their type of catalogue Master Thesis: Systematic Review 42 43 Part II Developing a Software Requirement Patterns Catalogue: The Non-Technical and Functional Parts 44 Master Thesis: Developing Parts of a SRP Catalogue 45 6. Introduction to PABRE This chapter is not a contribution of the Master Thesis, but a description of PABRE that facilitates the understanding of the next chapters and parts of the document. Requirement elicitation is the process of acquiring the system requirements from the system stakeholders. This process is critical in all software projects: if not all the requirements are elicited, or if some elicited requirements do not describe real stakeholder needs, or if the quality of the requirements is poor (e.g., they suffer from ambiguities), the chance of project failure increases. Techniques supporting requirements elicitation (interviews, meetings, storyboards...) are mostly oriented to obtain requirements from scratch and they may hardly take advantage of a fundamental observation [35]: "When specifying a system, it is quite usual that a significant proportion of requirements is recurrent and belongs to a relatively small number of categories, especially in the case of non-functional requirements." The PABRE (PAtterns Based Requirements Elicitation) framework [9] was created by GESSI research group with a clear goal: the reuse of software requirements to help requirement engineers to elicit, validate and document software requirements and, as a consequence, obtain Software Requirement Specifications (SRS), also known as requirements books, of better quality both in contents and syntax. Among the many proposed approaches to reuse in software engineering, patterns hold a prominent position, and because of this, GESSI selected patterns as the way to achieve reuse. "Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice" [36]. The PABRE framework is focused on the use of patterns for the requirements elicitation stage, namely Software Requirement Patterns (SRP). The patterns applicability to this context is clear, since requirements that appear over and over in requirements specifications could be identified as the solution to particular problems in a given context (the classical context-problem-solution scenario of patterns). The current state of the PABRE framework consists of:  A metamodel that describes the structure of non-functional SRP and also the structure of the catalogue (see section 6.3).  A non-functional part for the SRP catalogue with 29 patterns, which can be found in [9] (see section 6.4).  A method for the process of use of the catalogue in the requirements engineering stage. This method includes how to use the set of SRPs to create new requirements specifications, but also how to evolve the catalogue in order to have it up-to-date. More information about this method could be found at [24, 25].  Two subsystems for helping in the use, management and evolution of the catalogue (PABRE-Man and PABRE-Proj in figure 39). As a brief summary, PABRE-Man facilitates the definition of SRPs, as well as the Master Thesis: Developing Parts of a SRP Catalogue 52 sensitive to changes in the problem domain. In table 18 you can find the non-functional part of the SRP Catalogue classified according to the ISO/IEC 9126-1 quality standard [41]. To construct the current version of the SRP catalogue, GESSI analyzed the non-functional part of 6 requirement specifications that SSI-CPPHT left them. After this phase, they had a catalogue with 48 non-functional requirement patterns. To continue with, they did the refinement of this catalogue. This refinement was done using three different artifacts: firstly, with case studies (this is, a post-portem analysis of one requirement specification); secondly, with expert reviews (done with iterations between SSI-CPPHT and GESSI); thirdly and finally, with the literature review done by GESSI. In this way, they achieved the current version of the SRP catalogue. Master Thesis: Developing Parts of a SRP Catalogue 53 7. Obtaining Software Requirement Patterns (SRP) This section is not a contribution of the Master Thesis, but a description of the method already used to develop the non-functional part of the SRP catalogue and a first approach of a functional part for ERP (Enterprise Resource Planning) systems [58]. This explanation will ease the understanding of the next chapters and parts of the document. Here we define the steps that have to be followed for the creation of SRPs and that we will apply to develop the non-technical and functional parts of the requirement patterns catalogue presented in this Master Thesis. This method follows a bottom-up process. That is, it takes as input the requirements to build patterns. There are other proposals, as the one described in [44], to do the process with a top-down approach (from general to particular), so we do not discard that a further analysis of this type could be applied similarly in the future, enriching in this way the method, or done in order to validate the resulting patterns. The use of a bottom-up approach has been possible due to the fact that the SSI-CRPHT department [37] lend us some real Software Requirement Specifications (SRSs) as a result of the collaboration that has with GESSI [1]. Before beginning the process of extracting patterns, we must analyze the type of requirement for which we want to create patterns, in our case nontechnical and functional ones. For functional ones, the analysis should be specific for the domain of these requirements, which for us is Content Management Systems (CMS). In this chapter we are going to present the process of extracting patterns. The analysis of each type of requirement will be explained in section 8.1.1 and 9.2.1, respectively. SRSs Requirements of the desired type SRP Candidates SRPs SRP Catalogue Specific analysis for the desired type of requirements Figure 44: Method to construct parts of the SRP catalogue As an overview, the method (figure 44) to build patterns for a specific type of requirement follows the steps outlined below: 1. Analyze the specific type of requirement. Master Thesis: Developing Parts of a SRP Catalogue 54 2. Extract the requirements of this specific type of SRSs. 3. Perform the semantic analysis and refine the requirements. 4. Insert in the catalogue of candidate patterns those requirements that fit as candidates to patterns, whether as a new candidate or an associated one, depending on the outcome of the search of coincidences in the candidates‟ catalogue. 5. Create and / or refine the pattern and insert / update it in the patterns catalogue. The following section describes in detail the method of figure 44, leaving aside the particular type of analysis required, which will be explained in further sections. 7.1. Applied method The steps that comprise the method are: 1. Extract requirements of the desired type. 2. Semantic analysis and refinement. 3. Inclusion in the candidates for pattern catalogue. 3.1. Search of coincidences in the candidates‟ catalogue. 3.2. Validation of coincidences and updating or insertion in the candidates‟ catalogue. 4. Insertion in the catalogue of patterns. 4.1. Refinement of the pattern. 4.2. Formalization and storage in the pattern catalogue. Figure 46 shows the order in which these steps have to be developed and the information flows circulating between them. 7.1.1. Extraction of the requirements of the desired type The requirements that appear in the SRSs are of three types (functional, non-functional and non-technical) and it is necessary to extract only those ones that are of the desired type, creating a set of target requirements that will evolve until obtain the patters. In our case this step is easy because SSI-CRPHT SRSs have different sections for each type of requirement. This set of target requirements contains requirements as they are found in the SRSs, as well as its location in the document. This allows us to have a reference to the origin of the requirement and to make future queries (see figure 45). Figure 45: Example of requirements extracted Master Thesis: Developing Parts of a SRP Catalogue 55 3 Extraction of requirements of the desired type Semantic analysis and refinement SRSs Catalogue of requirements of the desired type Generate 1 2 Insertion in the catalogue of candidates to patterns Search of coincidences in the candidates catalogue Candidates to pattern catalogue Insert Search Are there coincidences? Update requirements that are related Update Yes Search of the candidate in the patterns catalogue Has the pattern been created? Refinement of the pattern Patterns catalogue Search Update Issuitable to bea pattern? Yes No Associate New Result of the analysis of the domain No Yes 4 Formalization and storage of the pattern Insert End No 3 Figure 46: Method to build parts of a SRP catalogue Master Thesis: Developing Parts of a SRP Catalogue 56 7.1.2. Semantic analysis and refinement Once we have the first subset of target requirements, it is necessary to do a semantic analysis and refinement of them. These target requirements are expressed in natural language (see figure 45). The first step is to translate these requirements into a known language, in our case English, using different tools (such as translators and dictionaries). The same requirement may be expressed differently in each of the SRSs (table 19) or may contain more than one requirement expressed in it (figure 47). Because of this, it is necessary to study each requirement with a semantic analysis. This semantic analysis (currently manual) allows us to identify and understand the concepts presented in each requirement, and also separate in the requirement the various restrictions found in it. SRS Requirement 3 From the date of expiry of the warranty period, the contractor agrees to provide, at the explicit request of the client, ongoing maintenance services for a minimum period of one year. 4 The proposed solution must be maintained for at least 1 year from the date of expiry of the warranty period. 5 The solution should be maintained for three (3) years from the expiration of the warranty period. Table 19: Example of requirements expressing the same restriction stated in different ways At least once a month, project stakeholders will meet to evaluate the good progress of the project. At each steering committee, a statement of progress will be prepared and signed by the parties. A report will be prepared by the provider and approved by the Public Research Centre Henri Tudor, if necessary after recovery. •At least once a month, project stakeholders will meet to evaluate the good progress of the project. •At each steering committee, a statement of progress will be prepared and signed by the parties. •A report will be prepared by the provider and approved by the Public Research Centre Henri Tudor, if necessary after recovery. Figure 47: Requirement that states more than one restriction Each requirement is refined later in the catalogue, achieving a summary of the requirements that clears (see table 20):  The separation of the requirement.  The purpose of the requirement.  The assignment of keywords. Purpose Requirement Keywords SRS Reference Documentation Form (format medium) All documents must be submitted on paper and electronically in a standard format. documentation, form, medium, format 4 D.6.4 Documentation Form (characteristics for each format medium) For the electronic medium, a document in an easily exploitable format is required (RTF for text, CSV spreadsheet, JPG or PNG or SVG images, PDF for the other cases). documentation, form, medium, format, standard, characteristic 4 D.6.4 Documentation Form (characteristics for each format medium) For the paper format document A4 is required. documentation, form, medium, format, standard, characteristic 5 D.3.4 Table 20: Requirement refinement examples Master Thesis: Developing Parts of a SRP Catalogue 57 7.1.3. Insertion of the candidate patterns in the catalogue Each refined requirement is inserted in a catalogue of candidate patterns as a candidate requirement. This requires to identify whether the requirement candidate already exists in the catalogue searching coincidences (i.e., identifying similar requirements) based on the keywords. 7.1.3.1 Search of coincidences in the candidates’ catalogue This search of coincidences is made in order to group requirements that later can be formalized as an only pattern (see figure 48). To add the requirement as a candidate in the catalogue we have to validate first if there are coincidences. Identification of similar requirements Figure 48: Identification of pattern candidates 7.1.3.2 Coincidences validation and updating or insertion in the candidates’ catalogue In case of not finding coincidences, the requirement is added to the catalogue of candidates as a new candidate (table 21). Then it is analyzed (based on the analysis of requirement type previously done) if the candidate is suitable for being a pattern. id # rel Purpose Requirement Keywords SRS Reference 1 0 0 Documentation Form (format medium) All documents must be submitted on paper and electronically in a standard format. documentation, form, medium, format 4 D.6.4 Table 21: Catalogue of candidates patterns, example of new candidate If coincidences are found, the requirement is added as an associated candidate of the requirement to which it matches. This association is reflected by updating the counter of associated candidates and the relationships with the associated ones, writing the identifier of the candidate that has matched (table 22) and increasing the number of occurrences of this candidate, updating in this way the catalogue of candidate patterns. With these coincidences it is possible to obtain the fixed part and the extensions of a pattern iteratively. Then the question of whether a created pattern already exists for the candidate that has matched has to be analyzed. id # rel Purpose Requirement Keywords SRS Reference 1 0 0 Documentation Form (format medium) All documents must be submitted on paper and electronically in a standard format. documentation, form, medium, format 4 D.6.4 1 1 1 Documentation Form (characteristics for each For the electronic medium, a document in an easily exploitable format is required (RTF documentation, form, medium, format, standard, 4 D.6.4 Master Thesis: Developing Parts of a SRP Catalogue 58 format medium) for text, CSV spreadsheet, JPG or PNG or SVG images, PDF for the other cases). characteristic Table 22: Catalogue of candidates patterns, example of associate candidate 7.1.4. Insertion in the patterns catalogue The insertion in the catalogue of patterns depends on the type of candidate being analyzed, i.e., whether it is a new candidate or an associated one. If it is a new candidate, once it has been inserted in the catalogue of candidates, we validate it based on the analysis of the type of requirement in order to know if it is suitable to become a pattern. This has to be done because it could be the case that it is a requirement of the organization itself, not necessarily considered basic. As result of this validation, we have:  If it is not a candidate suitable for being a pattern, the process is finished.  In case of a candidate that is valid to be a pattern, the requirement is formalized following the pattern structure presented in Section 6. Once we have created the pattern, it is added to the repository of the patterns catalogue. If it is an associated requirement, once it has been inserted in the candidates‟ catalogue, we must validate whether there is a pattern created for the candidate and their associations in the patterns catalogue. This search of coincidences is made in order to find patterns created previously that match with what is described in the associated candidate.  In the absence of a created pattern, a new pattern is created following the structure of pattern already defined and stored in the catalogue of patterns.  If there is a pattern created, it is refined (according to the specifications of refinement patterns described in the next section) and the repository of patterns is updated with the references of the candidate. 7.1.4.1 Pattern refinement The difference between adding a candidate formalized as a fixed part or as an extension of the pattern depends on the requirement parts of the candidates (C1, C2) where both match. That is, having two candidates C1 and C2, the pattern P1 is built the first time, taking into account the fixed part F1 and the extensions E1 and E2 (in case they exist), where (figure 49): Figure 49: Diagram of the parts of a requirement pattern  E1 is a specific part contained only in the candidate C1 that directly depends on P1. Master Thesis: Developing Parts of a SRP Catalogue 59  E2 is a specific part contained only in the candidate C2 that directly depends on P1.  F1 is the common part of C1 and C2.  P1 is the set of F1, E1 and E2. When we need to add a third candidate C3, we have to determine whether it will be added as part of the fixed part and / or as an extension of the pattern, so we can find three different situations:  Case 1: C3 is included entirely in P1, so we only add the reference of the SRS where it has obtained (figure 50). Figure 50: Refinement pattern case 1, candidate is contained in the pattern  Case 2: C3 contains the fixed part F1 of the pattern and a specific part of E3 that is not contained in P1. E3 would be added to P1 as a new extension (figure 51). Figure 51: Refinement pattern case 2, a specific part of the candidate is not contained in the pattern  Case 3: C3 does not contain the fixed part F1 of the pattern, but a specific part E that is contained in P1 as an extension (E1 or E2). In this case it has to be analyzed whether F1 is expressed implicitly in E, and if this is the case we incorporate a reference of the SRS of C3 to E1 or E2, depending on the case (figure 52). Figure 52: Refinement pattern case 3, a specific part of the candidate is not contained in the pattern and the fixed part of the pattern is not contained in the candidate Master Thesis: Developing Parts of a SRP Catalogue 60 8. Developing the Non-Technical part of the Software Requirement Pattern (SRP) Catalogue As defined in [45], Non-Technical (NT) requirements are those ones that do not refer directly to the intrinsic quality of software, but to the context of the system under analysis; they include economic, political and managerial issues. One of the objectives of this Master Thesis is to include this type of requirements in the SRP existent catalogue already presented in section 6.4, which can be found in [9] completely. To build this part of the catalogue, we followed the methodology defined in the previous section. As a part of this method, an analysis of NT requirements had to be done, which is presented in section 8.1. After this, in section 8.2, an excerpt of the NT part of the SRP catalogue obtained after applying the method is shown (the complete set of NT SRP obtained is included in Appendix A). 8.1. Non-Technical requirements analysis Non-technical requirements have always been considered a part of Non- Functional (NF) requirements. A good proof of this is the classification of NF requirements proposed by I. Sommerville in [12] (figure 53), where NT requirements correspond to the category Process requirements (and all its subcategories) and Legislative and Cost requirements subcategories of External requirements category. Non-functional requirements Process requirements Product requirements External requirements Delivery requirements Implementation requirements Standards requirements Usability requirements Efficiency requirements Reliability requirements Portability requirements Legislative requirements Cost requirements Interoperability requirements Performance requirements Space requirements Non-technical requirements Figure 53: I. Sommerville types of non-functional requirements, with nontechnical ones highlighted If we rearrange Sommerville classification, we arrive to the distinction of non-functional and non-technical requirements that both parts of the SRP catalogue presented in this Master Thesis follow (figure 54). Despite this usual inclusion of non-technical requirements in non-functional ones, during the last years some works have appeared where these types are distinguished [47, 48, 49]. Among them, J. P. Carvallo et al. proposal [45, 49, 50, 51] is the most consolidated one (figure 55). Their approach has been based on extending the ISO/IEC 9126-1 Quality Model [41] with non- Master Thesis: Developing Parts of a SRP Catalogue 61 technical factors, adding to this quality model 126 non-technical features (between subcharacteristics and attributes). Non-technical requirements Non-functional requirements Delivery requirements Implementation requirements Standards requirements Usability requirements Efficiency requirements Reliability requirements Portability requirements Legislative requirements Cost requirements Interoperability requirements Performance requirements Space requirements Figure 54: Distinction between non-functional and non-technical requirements In this Master Thesis we will present the non-technical part of the catalogue organized by just one classification schema. Specifically it is the NT part of the Extended ISO/IEC 9126-1 quality model proposed by J. P. Carvallo et al. (which is completely available in [52]). This classification schema corresponds to the characteristics and subcharacteristics shown in figure 55, which allows classifying the non-technical patterns that we will build. Figure 55: An excerpt of the non-technical part of the extended ISO/IEC 9126-1 catalogue Master Thesis: Developing Parts of a SRP Catalogue 68 2. Content Management. The documents created are stored in a central database which also keeps the rest of the data web, such as data relating to documents (versions, author, publication and expiration date, etc…), data and preferences of users, and the structure of the web. The structure of the web can be configured with a tool that typically presents a hierarchical view of the site and allows its modification. With this structure a group to each area can be assigned, with publishers, authors and users with different permissions (figure 57). This is essential to facilitate the workflow with an edition circuit that goes from the author to the ultimate responsible for the publication. The CMS allows communication between group members and it also monitors the status of each step of the cycle. Figure 57: Different types of users in CMSs 3. Publication. An approved page is published automatically when the date of publication arrives, and when it expires is archived for future reference. In their publication, the pattern defined for the whole site or the particular section where it is located is applied, so that the end result is a website with a consistent look on every page. This separation between content and form allows modifying the look of a website without affecting the documents already created and release the authors to worry about the final design of pages. 4. Presentation. A CMS can automatically manage the accessibility of the web, with support of international standards for accessibility as Web Accessibility Initiative (WAI) [55], and adapt to the needs or preferences of each user. It can also provide compatibility with different browsers available on all platforms (Windows, Linux, Mac, Palm, etc.) and its globalization ability allows adapting it to the language, measurement system and culture of the visitor. The system manages many aspects such as navigation menus or the hierarchy of the current page within the site, adding links automatically. It also manages all the modules, internal or external, that the system incorporates. For example, with a news module, the news appeared on another site would be presented, with an Master Thesis: Developing Parts of a SRP Catalogue 69 advertising module we would show an ad or animated message, and with a forum module we could display the title of last message received on the principal page. All this is done with the appropriate links and, of course, following the pattern that designers have created. Some works [60, 61] had defined quality models specific for CMS domain. As any quality model, they are composed of characteristics and subcharacteristics that can be used as a classification schema of the patterns related to this domain in order to improve their accessibility. 9.3. Functional SRP examples As stated before, due to the problems encountered explained in section 9.1, only some examples of functional SRPs for Content Management System domain have been extracted from 6 SSI-CPPHT SRSs. To build these examples, we also follow the methodology proposed in section 7, but starting with a small set of requirements that were related with two specific functionalities of this type of systems: the first one is the management of versions for the same document and the second one is the ability of doing searches over the objects present in the system. The SRPs build for version management can be found in tables 26 and 27; the SRP for search functionality is found in table 28. Requirement Pattern Version Number Management Description This pattern expresses the way of doing the management of the version numbers. Comments --------- Pattern goal State the version number management way. Author Cristina Palomares Sources (0..*)  Requirements specifications from SSI. Keywords (0..*) Version, Management, Number Dependencies (0..*) IMPLIES: Version Management Requirement Form Manual Version Number Description This form establishes the need of having a version number management done by the users. Comments Each extension may be applied just once. Version Friday, 10/06/2011 - 2:25am Author Cristina Palomares Sources (0..*)  Requirements specifications from SSI. Fixed Part Question Text Does the system allow managing the version numbers manually? Form Text The version numbers should be managed manually by the users. Requirement Form Automatic Version Number Description This form establishes the need of having a version number management done automatically by the system. Comments Each extension may be applied just once. Version Friday, 10/06/2011 - 2:25am Author Cristina Palomares Sources (0..*)  Requirements specifications from SSI. Fixed Part Question Text Does the system manage the version numbers automatically? Form Text The version numbers should be managed automatically by the system. Table 26: Version Number Management Functional SRP Master Thesis: Developing Parts of a SRP Catalogue 70 Requirement Pattern Version Management Description This pattern expresses the need of having a system that manages versions of documents. Comments --------- Pattern goal State the functionalities of the version management Author Cristina Palomares Sources (0..*)  Requirements specifications from SSI. Keywords (0..*) Version, Management Dependencies (0..*) --------- Requirement Form General Version Management Description This form establishes the need of having a version management over all documents stored in the system. Comments “Version history availability” extension may be applied more than once. The other extensions may be applied just once. Version Friday, 10/06/2011 - 2:25am Author Cristina Palomares Sources (0..*)  Requirements specifications from SSI. Fixed Part Question Text Does the system manage versions of the stored documents? Form Text The system should manage versions of the stored documents. Extended Part Version Retrieval Question Text Does the system allow the retrieval of previous versions of stored documents? Form Text The system should allow the retrieval of a previous version of a stored document. Extended Part Version History Question Text Does the system store a history of the document versions? Form Text The system should store a history identifying and tracking the HF in document versions. Parameter Metric HF: is a non-empty set of history fields HF: Set(HistoryField) HistoryField: {author, date, changes, ...} Extended Part Version History Availability Question Text Does the system allow configuring the visibility of the history fields depending on the type of user? Form Text The system should show the HF fields of the version history to UT users. Parameter Metric HF: is a non-empty set of history fields HF: Set(HistoryField) HistoryField: {author, date, changes, ...} UT: is a non-empty set of user types UT: Set(UserType) UserType: {validator, normal, etc.} Extended Part Automatic versions Question Text Does the system propose automatically the creation of new versions depending on the changes done in the document? Form Text The system should propose automatically the creation of new versions depending on the changes done in the document. Extended Part Automatic versions Question Text Does the system allow creating a new version of a document as it was a previous one? Form Text The system should not allow saving a new version of a document as it was a previous one. Requirement Form Specific Version Management Description This form establishes the need of having a version management over specific documents stored in the system. Comments “Specific Version History” and “Version history availability” extensions may be applied more than once. The other extensions may be applied just once. Version Friday, 10/06/2011 - 2:25am Author Cristina Palomares Sources (0..*)  Requirements specifications from SSI. Fixed Part Question Text Does the system manage versions only over specific stored documents? Master Thesis: Developing Parts of a SRP Catalogue 71 Form Text The system should manage versions over specific stored documents. Extended Part Versioned documents Question Text Does the system allow stating the documents of which doing versioning? Form Text The system should do versioning over DT documents. Parameter Metric DT: is a non-empty set of documentation types DT: Set(DocumentationType) DocumentationType: {user manual, training material, ...} Extended Part Specific Version Retrieval Question Text Does the system allow the retrieval of previous versions of specific stored documents? Form Text The system should allow the retrieval of a previous version of DT stored document. Parameter Metric DT: is a non-empty set of documentation types DT: Set(DocumentationType) DocumentationType: {user manual, training material, ...} Extended Part Specific Version History Question Text Does the system store a history of versions of specific documents? Form Text The system should store a history identifying and tracking the HF in versions of DT documents. Parameter Metric HF: is a non-empty set of history fields HF: Set(HistoryField) HistoryField: {author, date, changes, ...} DT: is a non-empty set of documentation types DT: Set(DocumentationType) DocumentationType: {user manual, training material, ...} Extended Part Version History Availability Question Text Does the system allow configuring the visibility of the history fields depending on the type of user? Form Text The system should show the HF fields of the version history to UT users. Parameter Metric HF: is a non-empty set of history fields HF: Set(HistoryField) HistoryField: {author, date, changes, ...} UT: is a non-empty set of user types UT: Set(UserType) UserType: {validator, normal, etc.} Extended Part Specific Automatic versions Question Text Does the system propose automatically the creation of new versions depending on the changes done in specific documents? Form Text The system should propose automatically the creation of new versions depending on the changes done in DT documents. Parameter Metric DT: is a non-empty set of documentation types DT: Set(DocumentationType) DocumentationType: {user manual, training material, ...} Extended Part Version History Availability Question Text Does the system allow configuring the visibility of the history fields depending on the type of user? Form Text The system should show the HF fields of the version history to UT users. Table 27: Version Management Functional SRP Master Thesis: Developing Parts of a SRP Catalogue 72 Requirement Pattern Search Description This pattern expresses the need of having a system that allows searches over different objects of the system. Comments --------- Pattern goal State the functionalities of the system search engine Author Cristina Palomares Sources (0..*)  Requirements specifications from SSI. Keywords (0..*) Search, Engine, Query, Sort Dependencies (0..*) --------- Requirement Form Search Description This form establishes the need of having a search engine over different objects of the system. Comments Each extension may be applied just once. Version Friday, 10/06/2011 - 2:25am Author Cristina Palomares Sources (0..*)  Requirements specifications from SSI. Fixed Part Question Text Does the system include a search engine? Form Text The system should include a search engine. Extended Part Search Objects Question Text Does the system allow doing searches only over specific objects? Form Text The system should do searches over OT. Parameter Metric OT: is a non-empty set of object types OT: Set(ObjectType) ObjectType: {published material, list of subscribers, online services users , ...} Extended Part Normal Search Fields Question Text Does the system allow doing searches only over specific fields? Form Text The system should do searches over objects using FT fields. Parameter Metric FT: is a non-empty set of field types FT: Set(FieldType) FieldType: {date, author, keyword, type of document, ...} Extended Part Advanced Metadata Search Question Text Does the system allow doing advanced searches over metadata? Form Text The system should do advanced searches over metadata. Extended Part Multi-criteria search Question Text Does the system allow doing multi-criteria searches? Form Text The system should do multi-criteria searches. Extended Part Complex Boolean Queries Question Text Does the system allow doing complex boolean queries using operators? Form Text The system should allow advanced boolean search queries with OpT operators. Parameter Metric OpT: is a non-empty set of operator types OpT: Set(OperatorType) OperatorType: {AND, OR, NOT,NEAR, ...} Extended Part Sorting Results Question Text Does the system allow sorting the results of searches? Form Text The system should allow sorting the results of searches. Extended Part Exporting Results Question Text Does the system allow exporting the results of searches? Form Text The system should allow exporting the results of searches. Extended Part Specific Search Window Question Text Does the system allow having a specific window for searches? Form Text The system should have a specific window for searches. Table 28: Search Functional SRP Master Thesis: Developing Parts of a SRP Catalogue 73 10. The new Software Requirement Patterns (SRP) Metamodel The current Software Requirement Pattern (SRP) structure (section 6), which is supported by the metamodel showed in section 6.3, has been proven to be also valid for non-technical and functional requirements. Putting special attention in the meaning that Requirement Forms and Fixed and Extended Parts have, the SRPs build in this Master Thesis reinforced the idea that having different contexts or ways (requirement forms) of expressing the restrictions over a concept (requirement pattern) is useful, as well as having inside a requirement form a part that has to be always used (fixed part) and other ones that are optional (extended parts). The examples of the build SRPs shown in the previous sections (tables 23, 24, 26, 27, 28) show how these parts of a SRP are used in these types of requirements. The only lack that we have found to support completely non-technical and functional requirements is a specific type of Set Metric. In the metamodel presented in section 6, a Set Metric is understood as the union (AND) of values of its Simple Metric. For instance, the extended part Alert Type of the non-functional SRP Failure Alerts presented in table 17 states Alerts provided by the solution shall be: AL, where AL is a set of Alert Types, being they E-mail, SMS, Page, Fax, etc. When we apply this part in a real project, if we select for instance the alert types E-mail, SMS and Page, the requirement text that would be incorporated to the SRS is Alerts provided by the system shall be: E-mail, SMS and Page. However, when extracting non-technical and functional requirements we found that sometimes a Set Metric should be an exclusion (OR), i.e., when we apply this new Set Metric, values are concatenated using an OR. Figure 56 contains 2 examples of parts when this new type of metric is used and some of the requirements from which they were extracted. Requirements CRP Henri Tudor will issue a favourable or reserved opinion on each record, depending on the outcome of the recipe. The public body will issue a reserved opinion on each record, depending on the outcome of the recipe. Requirements Farvest wishes to identify the existence and terms of access to a mailing list or a forum dedicated to the proposed solution. SGI wishes to identify the existence of a forum dedicated to the proposed solution. Figure 58: Examples of exclusive Set Metrics To add this new type of Set Metric in the metamodel presented in section 6.3, we consider that the best option was to add a new boolean attribute exclusive in the class Set Metric that, when setting to true, implies that the set metric is an exclusive set metric (see figure 57). SRP: Acceptance Test Extended Part: Validation Privacy The client will issue a OT opinion on each item of the recipe depending on the testing results. OT: ExclusiveSet (OpinionType) OpinionType: {favourable, reserved, etc.} SRP: Community Support Extended Part: Community Relationship The information about ColT to a CT dedicated to the proposed solution should be provided. ColT: Set(CollaborationType) CollaborationType: {existence, terms of acces, etc.} CT: ExclusiveSet (CommunityType) CommunityType: {mailing list, forum, etc.} Master Thesis: Developing Parts of a SRP Catalogue 74 Figure 59: New SRP metrics metamodel 75 Part III Validation 76 Master Thesis: Validation 77 11. Retro-analysis of the Non-Functional part of the Software Requirement Pattern (SRP) Catalogue The basis to construct the Software Requirement Patterns (SRP) of this Master Thesis has been the structure of SRP proposed in the PABRE framework. Because of this, it has been important to validate this structure before starting to construct the non-technical and functional parts of the patterns catalogue of this Master Thesis. Figure 60 contains the SRP structure already presented in section 6.3. Figure 60: Excerpt of the software requirement pattern metamodel 11.1. Motivation The process of construction of the metamodel that contains the structure of pattern proposed in the PABRE framework was constructed jointly by SSICPPHT department [1] and GESSI research group [37], to which I belong, using three different sources of knowledge, Software Requirement Specifications (SRSs), Expert’s Knowledge and Literature Review (see section 6 for further details). Among them, SRSs were the main source to elaborate the approach. We grounded our theory on 6 SRSs coming from real projects undertaken by SSI-CPPHT from different domains. Since non-functional requirements are the requirements that are the least context-dependent, we started by extracting patterns from these types of requirements, creating in this way the first version of the non-functional part of the requirement patterns catalogue. These SRSs contained about 70 non-functional requirements in average. In these documents, we observed and analyzed the structure, relationships and organization of requirements, and we obtained the first version of the SRP metamodel shown in section 6.3. However, these observations weren‟t formally demonstrated. We thought that it was important, before constructing the new parts of the SRP catalogue, to check if the proposed SRP structure is supported by the requirements in SSI-CPPHT requirement specifications. 11.2. Method The selected method to do the validation of the SRP structure was the retroanalysis of the 6 SSI-CPPHT requirement specifications used to construct it. First of all, during this analysis we grouped requirements among the concepts they stated restrictions over, such as Authorization, Authentication, Adaptation, and Ease of Use, creating clusters of requirements that were related to the same concept in the SRSs. After this Master Thesis: Validation 84  Information about the context in which the interviewee works. Deeper information about the organization projects, its requirement engineering process and the problems faced during this process, and the role of the interviewee during it; interviewee knowledge about Non-Functional(NF) and Non-Technical (NT) requirements (in order to process better the future results) and analysis of the type of NF and NT requirements used in the organization projects,  Usability in the organization context of a Software Requirement Patterns Catalogue and feasibility of its incorporation to the organization, as well as the feasibility of adapting to the current requirement pattern structure to requirements stated in the organization projects. A transcription of the English version of the survey is available in Appendix B. 12.3. Survey execution The execution of this survey will be done following a guided interview process. The basic idea of this process is that the interviewer meets in person with the interviewee, asking the questions that have been planed during the survey design. It is possible, however, that during the execution of the interview the interviewer changes or adapt some questions depending on the answer given to previous ones. So it is of great importance that the interviewer is a person who knows well the content of the survey and what is the necessary information to gather from the interviewee, as well as having good speaking skills. In the case of this survey, although it is planned to execute it also in Spain, for the moment people of SSI-CRPHT department [37], with who we are collaborating in the requirement patterns area, will conduct the interview for different requirements engineers of the organizations they work with, which are placed in Luxembourg. 12.4. Current state At the time of writing, people of the SSI-CPPHT department had not executed any interview yet. They plan to start doing the first interviews among different requirements engineers the first week of July, although most of them will be conducted in September due to holiday reasons. After these interviews are executed, steps 5 and 6 of Ciolkowski et al. survey process, which correspond to data analysis and data report, will be carried out. As a result, it is planned to publish a paper with the results of the survey before next year. 85 Part IV Final Remarks 86 Master Thesis: Final Remarks 87 13. Conclusions In this Master Thesis we have, first of all, presented a systematic review of the existent published works on reuse in Requirements Engineering, particularly on the use of patterns to achieve the reuse of requirements during Requirements Engineering. The main conclusion is that only two proposals, those ones from S. Withall and X. Franch et al., have a wellestablished approach of requirements patterns, defining how to use them and having a set of requirement patterns created that can be used in real projects. The second objective was to create the non-technical and functional parts of the Software Requirement Patterns (SRP) catalogue proposed by X. Franch et al., which before starting this Master Thesis, only embraced nonfunctional requirements. We have constructed the non-technical part of this catalogue applying a systematic method over requirement specifications corresponding to 6 real projects that SSI-CRPHT gave us. Regarding the functional part, the first idea was to construct it focused on Human Resource Management (HRM) systems domain. However, due to some problems encountered already explained, we have only achieved to extract a little set of functional SRPs for a different domain, which is Content Management Systems (CMS). After constructing the non-technical and functional parts for this SRP catalogue, we checked the validity of the current SRP metamodel for its suitability for non-technical and functional SRPs. We found that a little change was needed in the metrics part to add a new type of metric and we have applied the changes necessary to the metamodel to reflex this new metric. Finally, we have validated the structure of SRPs (as it was the base of this thesis) already proposed by X. Franch et al., coming to the conclusion that the SRP structure was supported by real requirements specifications. We also constructed a survey which will be used to know what requirements engineers think about the usability of a SRP catalogue in real projects in their different enterprises or organizations and if it would be applicable or not. Master Thesis: Final Remarks 88 14. Future Work After the initial validation that SSI-CRPHT department [37] did of the nontechnical SRPs obtained in this Master Thesis (see section 8.2.1), they and us agree on doing jointly a second iteration over this set to improve some of its aspects, which will start in the next month. After this second iteration, the SRPs will be introduced in the PABRE tools catalogue, will be included in the existent IPR agreement among CRPHT and UPC, and will be used in trial projects. Also related to the construction of the SRP catalogue, another goal is to construct in the near future a well-established set of functional SRPs for Content Management Systems (CMS), domain that was already analyzed in this Master Thesis and from which we extracted some examples of SRPs (section 9). This will be necessary in order to validate completely the applicability of patterns in all types of requirements. A different line of future work is to prove that SRPs are applicable in other contexts different from the SSI-CRPHT department in order to validate that the PABRE framework can be used in any type of project and organizational environment. To do this, it is possible that previously we have to construct other parts for the SRP catalogue (especially for the functional part) and afterwards use the SRP catalogue to elicit requirements in real software projects. Particularly related to the use of SRPs, it is also important to prove that the proposed process [24, 25] to evolve the catalogue is useful in real environments as it has not been proved yet. As explained in section 12, one of the points of this Master Thesis has been the construction of a survey to know what requirements engineers think about the usability of SRP catalogues in real projects in their different enterprises or organizations and if it will be really applicable or not. In the next months this survey will be executed by SSI-CRPHT people and after this we will have to analyze the results, finishing on this way the survey process shown in the same section. Finally, the most ambitious point in this future work is the computation of SRPs from requirements specifications in an automatic, or at least semiautomatic, way. As explained through this Master Thesis, the current version of the SRP catalogue was done manually and it took us a lot of time and effort. To use SRPs in different real environments it could be necessary to build different SRP catalogues and if they have to be build manually probably the real use of the PABRE framework and its SRPs could be unfeasible. Because of this we think that is important to use some natural language processing techniques to facilitate the construction of SRP catalogues, achieving a feasible way to use SRPs in industry for any enterprise or type of project. 89 References 90 Master Thesis: References 91 References [1] Grup de recerca en Enginyeria del Software per als Sistemes d'Informació, s (Last access: June, 2011). [2] Enginyeria de Serveis i Sistemes de la Informació, http://www.essi.upc.edu/ (Last access: June, 2011). [3] Universitat Politècnica de Catalunya, http://www.upc.edu/ (Last access: June, 2011). [4] D. Schmidt, "Guest Editor's Introduction: Model-Driven Engineering”, Computer IEEE, vol. 39, pp. 25-31, 2006. [5] B. Kitchenham and S. L. Pfleeger, "Software Quality: The Elusive Target", IEEE Software, vol. 13, pp. 12-21, 1996. [6] E. Yu, P. Giorgini, N. Maiden and J. Mylopoulos, ”Social Modelling for Requirements Engineering”, The MIT Press, 2011. [7] S. Benbernou, L. Cavallaro, M.S. Hacid, R. Kazhamiakin, G. Kecskemeti, J.-L. Poizat, F. Silvestri, M. Uhlig, B. Wetzstein, “State of the Art Report, Gap Analysis of Knowledge Principles, Techniques and Methodologies for Monitoring and Adaptation of SBAs”, Technical Report, S-Cube European Network, 2008. [8] I. Sommerville, "Integrated Requirements Engineering: A Tutorial," IEEE Software, vol. 22, pp. 16-23, 2005. [9] PABRE (PAtterns Based Requirement Elicitation) website http://www.upc.edu/gessi/PABRE/ (Last access: June, 2011). [10] C. Palomares, “Implementació del procés d‟utilització de patrons de requisits”, Final Year Project, 2010. [11] X. Franch, C. Palomares, C. Quer, S. Renault, F. de Lazzer, “A Metamodel for Software Requirement Patterns”, in Requirements Engineering: Foundations for Software Quality (REFSQ), pp. 85-90. Essen, Germany, 2010. [12] Sommerville, I., “Software Engineering 8”, 8th edition, International Computer Science Series, 2006. [13] Prieto-Diaz, R., “Classification of Reusable Modules”, in Concepts and Models. In software Reusability, ACM press, pp. 99-123, 1989. [14] Maiden, N., Sutcliffe, A., “Exploiting reusable specification through analogy”, Communications of the ACM, 35 (4), pp. 55-64. 1993. [15] Barber, K., Graser, T., Grisham, S., Jernigan, S., “Requirements Evolution and Reuse Using the Systems Engineering Process Activities (SEPA)”, Australian Journal of Information Systems (AJIS), 6(2), 1999. [16] Lam, W., McDermind, J., Vickers, A., “Ten Steps Towards Systematic Requirements Reuse”, Third IEEE International Symposium on Requirements Engineering (RE), 1997. [17] Finkelstein, A., “Reuse of formatted requirements specifications”, Software Engineering, 3 (5), pp. 186-197, 1988. [18] Bolton, D., Jones, S., Till, D., Furber, D., Green, S., “Using Domain Knowledge in Requirements Capture and Formal Specification Construction”, Requirements Engineering: Social and Technical Issues, Academic Press, 1994. [19] Miriyala, K., Harandi, T., “Automatic Derivation of Formal Software Specification From Informal Descriptions”, IEEE Transactions on Software Engineering, 17(10), p. 1126-1142, 1991. [20] Gamma, E., Helm, R., Johnson, R., and Vlissides, J., “Design Patterns: Elements of Reusable Object-Oriented Software”, Addison-Wesley, 2000. [21] M. Glinz, "On Non-Functional Requirements", in IEEE Int. Requirements Engineering Conf. (RE), New Delhi, India, 2007. [22] Yu, E., “Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering”, Proceedings of the 3rd IEEE Int. Symp. on Requirements Engineering (RE), 1997. Master Thesis: References 92 [23] O. Mendez-Bonilla, X. Franch, C. Quer, “Requirements Patterns for COTS Systems”, International Conference on Composition-Based of Software Systems (ICCBSS), pp.232-234, 2008. [24] S. Renault, O. Mendez-Bonilla, X. Franch, C. Quer, “PABRE: PAttern-Based Requirements Elicitation”, in Third International Conference on Research Challenges in Information Science (RCIS), 2009. [25] S. Renault, O. Mendez-Bonilla, X. Franch, C. Quer, “A pattern-based method for building requirements documents in call-for-tender processes”, International Journal of Computer Science & Applications (IJCSA), 6(5), pp. 175-202, 2009. [26] B. Kitchenham, "Procedures for performing systematic reviews", Keele University TR/SE ‐ 0401/NICTA Technical Report 0400011T, vol. 1, 2004. [27] Google Scholar, http://scholar.google.com/, (Last access: June, 2011). [28] IEEE Xplore, http://ieeexplore.ieee.org, (Last access: June, 2011). [29] ACM, http://portal.acm.org/, (Last access: June, 2011). [30] Springer, http://www.springerlink.com/, (Last access: June, 2011). [31] ISI Web of Knowledge, http://www.accesowok.fecyt.es/wos/, (Last access: June, 2011). [32] Science Direct, http://www.sciencedirect.com/, (Last access: June, 2011). [33] RefWorks, http://www.refworks.com/, (Last access: June, 2011). [34] L. Chung, B.A. Nixon, E. Yu, J. Mylopoulos, “Non-Functional Requirements Software Engineering”, Springer, 2000. [35] X. Franch, C. Guerlain, C. Palomares, C. Quer, S. Renault, “Interested in Improving Your Requirements Engineering Process? Try Requirement Patterns!”, in Empirical Fair Track on Requirements Engineering: Foundation for Software Quality (REFSQ), 2011. [36] C. Alexander, “The Timeless Way of Building”, Oxford Books, 1979. [37] CRPHT Service Science and Innovation Department (SSI-CPPHT), http://www.ssi.tudor.lu/, (Last access: June, 2011). [38] Centre de Recherche Publique Henri Tudor (CRPHT), http://www.tudor.lu/, (Last access: June, 2011). [39] L. Chung, B. Nixon, E. Yu, J. Mylopoulos, “Non-functional Requirements in Software Engineering”, Kluwer Publishing, 2000. [40] A. Egyed, P. Grünbacher, “Identifying Requirements Conflicts and Cooperation: How Quality Attributes and Automated Traceability Can Help”, IEEE Software, 21(6), November-December 2004. [41] “ISO/IEC Standard 9126-1”, Software Engineering – Product Quality – Part 1: Quality Model, 2001. [42] S. Robertson, J. Roberson, “Mastering the Requirements Process”, Addison- Wesley, 1999. [43] C. Palomares, C. Quer, X. Franch, “PABRE-Man: Management of a Requirement Patterns Catalogue”, accepted in International Symposium on Requirements Engineering (RE), 2011. [44] C. Rolland, N. Prakash, “Matching ERP System Functionality to Customer Requirements”, IEEE Computer, pp.66-75, 2001. [45] J.P. Carvallo, X. Franch, “Extending the ISO/IEC 9126-1 quality model with non-technical factors for COTS components selection”, in International workshop on Software Quality (WoSQ), 2006. [46] C. Ebert, “Dealing with nonfunctional requirements in large software systems”, Annals of Software Engineering, 3(1), pp.367-395, 1997. [47] J. Leiwo, Y. Zheng, "A framework for the management of information security", Information Security (Lecture Notes in Computer Science), 1396, pp.232-245, 1998. [48] K. El. Emam, N.H. Madhavji, “A field study of requirements engineering practices in information systems development”, in IEEE International Symposium on Requirements Engineering (RE), 1995 Master Thesis: References 93 [49] J.P. Carvallo, X. Franch, C. Quer, “Managing Non-Technical Requirements in COTS Components Selection”, in IEEE International Symposium on Requirements Engineering (RE), 2006. [50] J. P. Carvallo, X. Franch, C. Quer, “Determining Criteria for Selecting Software Components: Lessons Learned”, IEEE Software, 24(3), pp. 84-94, 2007. [51] J. P. Carvallo, X.Franch, C. Quer, “Supporting CMMI Level 2 SAM PA with Nontechnical Features Catalogues”, Software Process: Improvement and Practice, 13(2), pp. 171-182, 2008. [52] Extended Non-Technical ISO/IEC 9126-1 Catalogue, http://www.essi.upc.edu/ ~gessi/QMTool/CQM/ExtNTISO.html, (Last access: June, 2011). [53] J. Robertson, “Looking towards the future of content management”, Step Two Designs, January 2003. [54] J. Robertson, “So, what is a content management system?”, Step Two Designs, June 2003. [55] Web Accessibility Initiative (WAI), http://www.w3.org/WAI/, (Last access: June, 2011). [56] S. Withall, “Software Requirements Patterns”, Barnes & Noble, 2008. [57] M. Ciolkowski, O. Laitenberger, S. Vegas, and S. Biffl, "Practical Experiences in the Design and Conduct of Surveys in Empirical Software Engineering," in Empirical Methods and Studies in Software Engineering, R. Conradi and A. I. Wang, Eds. Berlin / Heidelberg: Springer Verlag, 2003, pp. 104-128. [58] C. Carreon, “Construcción de un catálogo de patrones de requisitos funcionales para ERP”, Master Thesis, June 2008. [59] X. Franch, C. Quer, J. A. Cantón, R. Salietti, “Experience Report on the Construction of Quality Models for Some Content Management Software Domains”, in International Conference on Composition-Based Software Systems (ICCBSS), 2008. [60] J.A.Cantón, “Construcción de un modelo de calidad para herramientas DMS / ECM”, Final Year Project, 2006. [61] R. Salietti i Anglarill, “Definició d‟un model de qualitat per a eines de gestió de continguts web”, Final Year Project, 2007. [62] i* web page, http://www.cs.toronto.edu/km/istar/#Overview, (Last access: June, 2011). [63] I. Sommerville, P. Sawyer, “Requirements Engineering: A good practice guide,” John Wiley and Sons, 1997. 100 Master Thesis: Appendix Appendix A: Non-Technical part of the Software Requirement Patterns Catalogue 1. Supplier Administrative Information Param DT: is a nonempty set of details types Param DT: is a nonempty set of details types Param SP: is a nonempty set of supplier parts Supplier Administrative Information Goal: Provide supplier contact details Requirement Form Detailed Administrative information of the supplier Fixed Part Form Text Specific administrative information of the supplier should be provided. Extended Part Specific details of the company Form Text DT details of the company should be provided. Metric SP: set (SupplierPart) SupplierPart: {company, person who draft the offer, etc.} DT: set(DetailsType) DetailsType: {name, address, telephone, etc.} Extended Part Specific details of the person who draft the offer Form Text DT details of the person who drafted the offer should be provided. Metric DT: set(DetailsType) DetailsType: {name, address, telephone, etc.} Requirement Form General Administrative information of the supplier Fixed part Form Text Specific details about SP should be provided. Metric 2. Supplier Workforce Param DA: date Param TeT: is a nonempty set of teams type Form Text Information about the distribution of the workforce that the company trades between the TeT teams should be provided. Metric TeT: Set (TeamType) TeamType: {development, maintenance, etc.} Extended Part Company size Form Text Size information of the company on DA should be provided. Metric DA: date Supplier Workforce Goal: Provide supplier workforce information Requirement Form Workforce of the supplier Fixed Part Form Text Workforce information of the company should be provided. Extended Part Number of deploying sites Form Text Information about the number of sites and the location where the company is deploying should be provided. Extended Part Workforce distribution Master Thesis: Appendix 102 3. Supplier Economic Information Param NAT: natural TT: time type Param NAT: natural TT: time type Param NAT: natural TT: time type Param NAT: natural TT: time type Param NAT: natural TT: time type Param NAT: natural TT: time type NAT: integer > 0 Extended Part Turnover of the consortium Requirement Form Economic information of the consortium Extended Part Effective of the company Extended Part Turnover of the company Extended Part Net income of the company Requirement Form Economic information of the company Form Text Consortium's net income information on the last NAT TT for each company associated to the consortium should be provided. Metric Metric TT: {years, months, etc.} Extended Part Net income of the consortium TT: {years, months, etc.} Form Text Consortium's turnover information on the last NAT TT for each company associated to the consortium should be provided. Metric NAT: integer > 0 TT: {years, months, etc.} Extended Part Effective of the consortium TT: {years, months, etc.} Fixed Part Form Text Specific economic information of the consortium of which the supplier is part should be provided. Form Text Consortium's effective information on the last NAT TT for each company associated to the consortium should be provided. TT: {years, months, etc.} Form Text Company's turnover information on the last NAT TT should be provided. Metric NAT: integer > 0 NAT: integer > 0 Form Text Company's net income information on the last NAT TT should be provided. Metric NAT: integer > 0 TT: {years, months, etc.} Supplier Economic Information Goal: Provide supplier economic details Fixed Part Form Text Specific economic information of the company should be provided. Form Text Company's effective information on the last NAT TT should be provided. Metric NAT: integer > 0 Master Thesis: Appendix 103 4. Supplier Organization Supplier Organization Goal: Provide supplier organization chart Fixed Part Form Text An organization chart of your company should be provided. Requirement Form Organization of the supplier 5. Supplier Business Experience Param LT: is a nonempty set of list types SolutionType Param NAT: natural TT: time type Param SI: is a nonempty set of inforation type Metric The LT list of the comapny regarding the SolutionType proposed solution should be provided. Goal: Provide information about supplier experience SolotionType: {the same, the most similar, etc.} Supplier Business Experience Requirement Form Experience related with the project Fixed Part Form Text Requirement Form General experience Fixed Part Form Text The global list of the companny regarding the major services or supplies should be provided. Extended Part Specific Time Form Text The list have to contain services or supplies over the last NAT TT. Metric TT: {years, months, etc.} Extended Part Information for each item Form Text We want to know for each service or supply: IT. Metric IT: Set (InformationType) InformationType: {customer name, amount of benefit, etc.} LT: set (ListType) ListType: {maintenance, dissemination, etc.} NAT: integer > 0 6. Supplier Quality Certification Param CI: is a nonempty set of certification information Fixed Part Form Text The quality certification of the company should be provided. Extended Part Specific information Form Text The CI information regarding certification(s) should be provided. Metric CI: Set (CertificationInformation) CertificationInformation: {type of certification, name of the certifying body, date of certification, etc.} Supplier Quality certification Goal: Provide information about supplier quality certification Requirement Form Quality certification Master Thesis: Appendix 104 7. People Related to the Project Param DT: is a nonempty set of details types Param NAT: natural TT: time type ET: is a nonempty set of experience type Param DT: is a nonempty set of details types PT: is a nonempty set of people type Param WT: is a nonempty set of work types Param PT: is a nonempty set of people type NAT: natural TT: time type ET: is a nonempty set of experience type People Related to the Project Goal: Provide information and restrict the people related to the project Requirement Form People related to the project in general Form Text DT information of people assigned to the project should be provided. Extended Part Previous experience Form Text People related to the project should justify a NAT TT experience on ET. Metric Fixed Part Form Text The CV's of people who work on the WT should be provided. Metric WT: Set (WorkType) WorkType: {project, project implementation, etc.} NAT: integer > 0 ET: Set(ExperienceType) ExperienceType: {technologies used on the project, Java, C++, etc.} Form Text PT people related to the project must justify a NAT TT experience on ET. Metric PT: Set (PeopleType) PeopleType: {overall project manager, implementation responsible, etc.} ET: Set(ExperienceType) ExperienceType: {technologies used on the project, Java, C++, etc.} Metric DT: set(DetailsType) DetailsType: {name, address, telephone, role, CVs, etc.} TT: {years, months, etc.} Metric Requirement Form Specific people related to the project Form Text DT information of PT people assigned to the project should be provided. Extended Part CV's information Extended Part Previous experience DT: set(DetailsType) DetailsType: {name, address, telephone, role, CVs, etc.} PT: Set (PeopleType) PeopleType: {overall project manager, implementation responsible, etc.} Fixed Part NAT: integer > 0 TT: {years, months, etc.} Master Thesis: Appendix 105 8. Product History Param AI: is a nonempty set of abnormalities information Requirement Form Product history Extended Part Time to correct abnormalities Form Text The average time to resolve a critical flaw or defect should be provided. Extended Part Specific Information Abnormalities Form Text The following information about abnormalities should be provided: AI. Metric AI: Set(AbnormalityInformation) AbnormalityInformation: {current number of defects, number of defects corrected on the last months, etc.} Extended Part Updating frequency Form Text Solution frequency updating information should be provided. Extended Part Next evolution Form Text The date of providing the next evolution of the solution should be provided. Product history Goal: Provide information about the history of the product Fixed Part Form Text Main developments of the proposed solution information should be provided. Extended Part General abnormalities Form Text Solution abnormalities information should be provided. 9. Community Support Param ColT: is a nonempty set of collaboration types CT: is a nonempty exclusive set of community types Community Support Goal: Provide information about the community tha support the solution if it exists Fixed Part Form Text Information about if the solution is supported by a community should be provided. Form Text The information about ColT to a CT dedicated to the proposed solution should be provided. Metric ColT: Set(CollaborationType) CollaborationType: {existence, term of access, etc.} CT: ExclusiveSet(CommunityType) CommunityType: {mailing list, forum, etc.} Extended Part Community Relationship Requirement Form Community Support Extended Part Independence of the community Form Text Information about if the community that supports the solution is independet of your company should be provided. Master Thesis: Appendix 106 10. Maintenance Procedure Param MI: is a nonempty of maintenance information ProjectType Param NAT: natural TT: time type Param NAT1: natural NAT2: natural UserType UserType: {administrator, etc.} Extended Part Working hours during the warranty Requirement Form Maintenance Procedures Form Text The provider should be available from NAT1 hour to NAT2 hour to provide substantive assistance to the UserType of the site during the warranty period. Metric NAT1: integer > 0 NAT2: integer > 0 Extended Part Maintenance during the warranty Form Text The proposed solution should be maintained during the warranty period. Extended Part Maintenance after the warranty Form Text The proposed solution should be maintained for NAT TT from the expiration of the warranty period. Metric NAT: integer > 0 TT: {years, months, etc.} Extended Part Proximity to the maintenance team Form Text Information about the proximity of the maintenance team of the proposed solution should be provided. Extended Part Availability of the maintenance team Form Text Information about the availability of the maintenance team of the proposed solution should be provided. Form Text Information about MI on ProjectType projects should be provided. Extended Part Presence of a maintenance team Form Text Information about if there is a maintenance team for the proposed solution should be provided. Metric MT: Set(MaintenanceInformation) MaintenanceInformation: {numbre of maintenance contracts in progress, types of maintenance contracts, etc.} ProjectType: {all, similar, etc.} Extended Part Maintenance Experience Maintenance Procedure Goal: State the maintenance procedures that the supplier should provide Fixed Part Form Text Information about the maintenance procedures should be provided. Extended Part Quality of maintenance Form Text Information about the quality of maintenance that the company offers should be provided. Master Thesis: Appendix 107 11. Type of Maintenance Param MT: is a nonempty set of maintenanace type Param MP: is a nonnempty set of maintenance points Param Maintenance Type ST1: SupportType ST2: SupportType Param FM: is a nonempty set of functional maintenance type Param OM: is a nonempty set of ongoing maintenance type Requirement Form Type of maintenance Metric MaintenanceType: {ongoing, corrective, functional, etc.} Extended Part Functional maintenance Form Text The functional maintenance should focus on FF related to functional or operational solution. Metric FM: Set(FunctionalMaintenanceType) FunctionalMaintenanceType: {diagnosing problems, solving problems, etc.) Extended Part Ongoing maintenance Form Text The ongoing maintenance should focus on OM. Metric OM: Set(OngoingMaintenanceType) OngoingMaintenanceType: {provision of development versions of the propsoed solution, etc.) Metric MT: Set(MaintenanceType) MaintenanceType: {ongoing, corrective, functional, etc.} Metric MP: Set(MaintenancePoint) MaintenancePoint: {correction of all non-conformities on the settings, specific developments identified, etc.} SupportType: {remote, onsite, etc.} Extended Part Ways of maintenance by type on maintenance Fixed Part Extended Part Corrective maintenance Form Text For MaintenanceType assistance, the provider should provide ST1 first level support and ST2 second level support. Type of maintenance Goal: Stablish the type of maintenance offered Form Text The offered maintenance service should include a minimum MT maintenance of the system. Form Text The corrective maintenance should include the following points: MP. SupportType: {remote, onsite, etc.} Master Thesis: Appendix 108 Param MT: is a nonempty set of maintenanace type Param MT: is a nonempty set of maintenanace type NAT: natural TT: time type Extended Part Duration of the maintenance by type of maintenance Form Text The MT maintencance will have a duration of NAT TT of the maintenance period. Metric MT: Set(MaintenanceType) MaintenanceType: {ongoing, corrective, functional, etc.} NAT: integer > 0 TT: {years, months, etc.} Extended Part Not renewing of a maintence type Form Text MT maintenance should not be renewed once its duration has finished. Metric MT: Set(MaintenanceType) MaintenanceType: {ongoing, corrective, functional, etc.} 12. Supplier History Supplier History Goal: Provide information about the history of the supplier Fixed Part Form Text The history of the company should be provided. Requirement Form History of the supplier 13. Project Management Method Param SMM: is a nonempty set of standards management method Requirement Form Project Management Method Extended Part Characteristics of the method Form Text The proposed method should be consistent with SMM. Metric SMM: Set(StandardManagementMethod) StandardManagementMethod: {industry standards, CMMI, PMBOK, PRINCE2, etc.} Project Management Method Goal: Provide information about how the project management method Fixed Part Form Text Information about the method for managing the project should be provided. Extended Part Needed Adaption Form Text Information about how the proposed method will be adapted if it is necessary should be provided. Master Thesis: Appendix 109 14. Progress Control Param PI: is a nonempty set of progress indicators Goal: Provide information about how the progress control should be done Progress Control Requirement Form Progress Control Fixed Part Form Text Information about the visibility of the progress of the project through development of indicators should be provided. Extended Part Concrete Indicators Form Text The concrete indicators to follow the progress of the project are PI. Metric PI: Set(ProgressIndicator) ProgressIndicator: {number of defects removed, timesheets, rate of progress of each phase, etc.} 15. Steering Committee Param TP: TimePoint Param Freq: Frequency NAT: natural TT: time type Param Place Param PT: is a nonempty set of people type Extended Part Signature of the progress report Form Text The validation and signature of progress reports will be done once it fulfill all the requirements. Extended Part Correction of discrepances Form Text If it is necessary, the action to correct any discrepances after presenting the progress report should be taken. Extended Part Members of the steering commitee Form Text The steering commitee should be composed by PT. Metric PT: Set (PeopleType) PeopleType: {overall project manager, implementation responsible, etc.} Extended Part Progress report Form Text At each steering commitee a progress report should be prepared by the supplier. NAT: integer > 0 TT: {years, months, etc.} Extended Part Frequency of the meetings Extended Part Place of the meeting Form Text The meetings should be held on Place. Metric Place: {PCF, PCB, company offices, etc.} Form Text The steering commitee should meet during the project Freq NAT TT. Extended Part Stablishment of the sttering committee Steering committee Goal: Stablishment of the steering committee meetings Fixed Part Form Text The steering committee should meet during the project to evaluate the good progress of the project. Requirement Form Steering commitee Metric Freq: {at least, every, etc.} Metric TimePoint: String (e.g. "before starting the project") Form Text The steering committee should be stablished TP. Master Thesis: Appendix 116 22. Meetings Organization Param NI: is a nonempty set of notice information The notice should inform about NI. Metric NT: Set(NoticeInformation) NoticeInformation: {maeeting date, meeting time, meeting place, guest list, agenda, etc.} Goal: Stablish the way in which meetings should be organized Requirement Form Organization of meetings Fixed Part Form Text A notice should be sent to all persons who must attend the meetings. Extended Part Agreement Form Text Before sending the notice, the supplier should agree the meeting Extended Part Content of the notice Form Text Meetings Organization 23. Source Code Documented Param PA: is a nonempty set of programming aspects Requirement Form Source code documented Extended Part Uniformity Form Text The style and level of documentation in the source code should uniform thorough the code. Extended Part Coding rules Form Text The source code should include the coding rules that define the essential style conventions for obtaining a uniform coding style. Source code documented Goal: State the necessity of documenting the source code Fixed Part Form Text The source code elements should be documented. Form Text The documentation of the source code can use several levels of abstraction if the complexity of the Extended Part Extra information Form Text The documentation of the source code should include PA properly documented. Metric PA: Set(ProgrammingAspect) ProgrammingAspect: {configuration files, installation procedures, etc.} Extended Part Different levels of abstraction 24. Settlement of Disputes Param CO: Competence Organization Settlement of Disputes Goal: State how the disputes will be solved Requirement Form Settlement of Disputes Form Text Any dispute that may arise during the project and which could not be settled amicably should be competence of CO. Extended Part Null contratual clauses Form Text Any contractual clause that is unilateral for the supplier or that is outside the requirement books will be deemed null. Metric CompetenceOrganization: String. (eg. "the courts of Luxembourg city") Fixed Part Master Thesis: Appendix 117 25. Planning Param PT: is a nonempty set of phases types Param Con: Content Param STP: StartTime Point FTP: FinalTime Point Param NAT: natural TT: time type Param SO: Schedule Objective Param CA: Consideration Aspects Param ET: EventType Requirement Form General Planning Planning Goal: Provide information about the palnning schedule Fixed Part Form Text Detailed information about the schedule of the development of the project should be provided. Extended Part Planning focus Form Text The schedule should be focused on PT phases of the project. Metric PT: Set(PhaseType) PhaseType: {specification, implementation, etc.} Extended Part Planning contents Form Text The schedule should identify precisely Con. Metric Content: Set(String) (eg, "different artifacts to deliver", "delivery times of the artifacts", "milestones corresponding to the supply of modules, sub-modules and sub- Form Text The schedule should describe all steps necessary to complete the project from STP to FTP. Metric StartTimePoint: {project's inception, specification stage, etc.} FinalTimePoint: {project's final acceptance, text stage, etc.} Extended Part Planning coverage Extended Part Planning dates close Form Text The schedule should include dates relatively close (every NAT TT). Metric NAT: integer > 0 TT: {weeks, months, etc.} Extended Part Planning considerations Form Text The planning should consider Metric ConsiderationAspects: Set(String). (eg. "any data migration must be done", "installing and configuring test Extended Part Planning reescheduling Form Text The schedule will be adjusted in case of ET events. Metric EventType: {unanticipated, staff problems, etc.} Extended Part Planning Functionalities Form Text The schedule should be the baseline for SO. Metric ScheduleObjective: Set(String). (eg. "the validation of various artifacts", "assessing project progress at sterring committees") Master Thesis: Appendix 118 Param PT: is a nonempty set of phases types Param PT: is a nonempty set of phases types DA: date Param DL: Deliverable DA: date Param DL: Deliverable NAT: natural TT: time type TP: TimePoint Fixed Part Form Text The schedule of the development of the project should follow specific Extended Part Planning focus Form Text The schedule should be focused on PT phases of the project. Metric Deliverable: {functional solution, final solution, etc.} Metric Deliverable: {functional solution, implementation stage deliverables, PT: Set(PhaseType) PhaseType: {specification, implementation, etc.} Extended Part Fixed starting milestone Form Text The PT stage should start on DA. Metric DA: date PT: Set(PhaseType) PhaseType: {specification, implementation, etc.} Extended Part Fixed ending milestone NAT: integer > 0 TT: {weeks, months, etc.} TimePoint: String (e.g. "the date of notification of final acceptance") Extended Part Planning duration Form Text The DL should be ready at DA. Form Text The DL should be ready within a maximum of NAT TT after TP. Metric Requirement Form Fixed planning DA: date 26. Release Param TP: TimePoint Param NAT: natural TT: time type Release Goal: Stablish the time when the solution should be released Fixed Part Form Text The supplier should release the solution TP. Metric TimePoint: String (e.g. "after provisional acceptance") Requirement Form Release Form Text The supplier should notify the release NAT TT before. Metric NAT: integer > 0 TT: {weeks, months, etc.} Extended Part Release Notification Master Thesis: Appendix 119 27. Job Properties and Intellectual Rights Form Text Param AT: AssetType PT: PropertyType Param PT: PepopleType AT: AssetType Param AT: AssetType Extended Part Assets Return Metric AssetType: Set(String). (eg. "hardware", "software data", "documents") Requirement Form Job properties and intellectual rights Fixed Part Metric AssetType: Set(String). (eg. "hardware", "software", "data and documents provided or paid by client as deliverables") PropertyType: {supplier's, client's, etc.} Extended Part Use of assets PeopleType: {client, supplier, etc.} Extended Part Right of copies Form Text The supplier will be allowed to keep copies of documents for which client has given consent. PT can use freely and without restriction AT. Metric AssetType: Set(String). (eg. "hardware", "software", "data and documents provided or paid by client as deliverables") Form Text The supplier should return AT that client provide related to the project. Job Properties and Intellectual Rights Goal: Stablish the rights of using assets involved in the project AT will become the PT property. Form Text 28. Data Migration Param DT: DataType Param DT: DataType FT: FileType Data migration Goal: State the necessity of migrate data Requirement Form General Data migration Fixed Part Form Text The need of some data migration identified during the analysis stage should be one of the deployment steps proposed by the supplier. Requirement Form General Data migration Data migration should be considered one of the deployment steps proposed by the supplier. Fixed Part Form Text Form Text The data to migrate are DT. Metric DataType: SetString (eg. "all databases", "underway projects", etc.} Extended Part Data to migrate Extended Part Confidetiality of migrated data Form Text The provided should ensure the confidentiality of the migrated data into the solution. Form Text The DT should be recovered from FT. Metric DataType: Set(String) (eg. "the data and data structure of companies"} FileType: {excel file, text file, database, etc.} Extended Part Data migration source Master Thesis: Appendix 120 29. Privacy Param PaT: PartiesType Privacy Goal: State the privacy rules among client and supplier Fixed Part Form Text Form Text The confidentiality should extent to PaT. Metric Requirement Form Privacy PartiesType: Set(String). (eg. "employees of each party", "parties subcontractors") Extended Part Parties Privacy Extension Extended Part Affairs Privacy Extension Form Text The supplier should not disclose at any time information concerning client's affairs or any of client's representatives that can be known during the project. The clientand the supplier should accept to preserve the confidentiality of any information collected as part of the project and not disclose anything to any third party without the written permission of the other party. Extended Part Exemptions of the privacy in legal affairs Form Text In case it would be needed, the supplier could disclose information know during the project in legal proceedings. Extended Part No Benefit over the Private Information Form Text At any time (whether during or after project), the supplier should not use for his own interest or for the benefit of any person, firm, corporation, association or other business, our the trade secrets, programs of development of business plans owned by the client or relating to client's business including information related to client's employees. 30. Installation Param TP: TimePoint Installation Goal: Stablish the time when the solution should be installed Requirement Form Installation Fixed Part Form Text The supplier should install the solution TP. Metric TimePoint: String (e.g. "after final acceptance") Master Thesis: Appendix 121 31. Payment Method Param PER: Percentage ST: Stage Param ST: Stage DP: Dependency Form Text PER% of the payment will be done ST. Requirement Form Stablished Payment Fixed Part Form Text The payment should follow an schedule provided by the client. Payment Method Goal: State the payment schedule Requirement Form Agreed Payment Fixed Part Form Text The payment should follow an schedule that will be agreed by th supplier and the client. Extended Part No automatic payments Form Text No payment will be automatically established. Metric PER: Float > 0 and <= 100 Stage: String (eg, "after all deliveries", "during development") Extended Part Payment by Stages Extended Part Dependent Payments Form Text The payments done ST will depend on DP. Metric Stage: String (eg, "after all deliveries", "during development") Dependency: String (eg, "the progress of the project", "the approval of the minutes") Extended Part No automatic payments Form Text No payment will be automatically established. Extended Part Milestone payment schedule Form Text The supplier can propose a payment schedule based on project milestones. 32. Final Acceptance Param AC: Acceptance Conditions Param NAT: natural TT: time type TP: TimePoint Final acceptance Goal: Stablish the time and conditions when the solution should be finally accepted Fixed Part Form Text The conditions for the final acceptance of the solution will be AC. Metric AcceptanceConditions: Set(String) (eg. "having the solution working effectively in our site", "training users") Form Text The final acceptance will be done after NAT TT of TP. Metric NAT: integer > 0 TT: {weeks, months, etc.} TimePoint: String (e.g. "the date of notification of proval acceptance") Extended Part Final acceptance period Requirement Form Final acceptance Master Thesis: Appendix 122 33. Analysis Param KT: is a nonempty set of knowledge type Param AC: Analysis Action Param AD: AssetDocument Form Text Extended Part Analysis Extra Objectives Form Text The suppleir also should In the course of this analysis AC. Metric Analysis Action: Set(String) (eg. "analyze existing client's applications that the supplier will use during development", "indentify key deficiencies in the current implementation") Analysis Goal: State the actions to take during analysis stage Fixed Part Form Text Analysis stage should be one of the deployment steps proposed by the supplier. Extended Part Analysis Validation Form Text The analysis stage will be validated by AD. Metric AssetDocument: {a specification document, an analysis document, etc.} Requirement Form Analysis The supplier should do the requirements analysis needed to achieve the knowledge necessary about KT. Metric KT: Set(KnowledgeType) KnowledgeType: {technical design features, technical solution, functional adaptation, etc.} Extended Part Requirement analysis 34. Start of the Solution Param SA: StartActions Metric Start of the Solution Goal: Stablish the conditions to start the solution working in the client Requirement Form Start of the Solution Fixed Part Form Text The start of the solution will be done by SA. StartActions: Set(String) (eg. "migrating client current data without modification") Master Thesis: Appendix 123 35. Development Param PA: Parameterization Goal Param AT: Adaption Type Param SP: SystemPart DM: DevelopmentMethodolgy Development, and its included parametrization, should be considered one of the deployment steps proposed by the supplier. Form Text The development and parametrization documentation should be delivered to the client. ParameterizationGoal: String (eg. "meet the requirements stated in the specifications") Extended Part Parametrization Focus Development Goal: State the actions to take during development stage Fixed Part Form Text Requirement Form Development with parametrization Extended Part Minimum development Form Text The coverage of requirements with minimum development will be an advantage. Form Text The developmen of SP will follow the DM method. Extended Part Parametrization Goal Form Text The parametrization sholud be done to PA. Metric Extended Part Development and parametrization documentation Form Text Form Text The parametrization should be focus on AT adaptation. Metric AdaptationType: {functional, etc.} The development and parametrization of the solution should be recorded in documents by the supplier . Extended Part Documentation deliverement DevelopmentMethodology: {peer programming, etc.} Extended Part Development method Extended Part Development Errors Form Text The supplier should identify any error and the ways to adress them during the development. Metric SystemPart: String (eg. "the solution", "each module of the solution") Master Thesis: Appendix 124 Param AsD: is a nonempty set of AssetDocument Param DO: DevelopmentObjective Param SP: SystemPart DM: DevelopmentMethodolgy Metric AsD: Set(AssetDocument) AssetDocument: {a specification document, an analysis document, Extended Part Development with community Form Text The developmen of SP will follow the DM method. Metric SystemPart: String (eg. "the solution", "each module of the solution") Fixed Part Form Text Development should be considered one of the deployment steps proposed by the supplier. Extended Part Development Basis Form Text The development sholud be made on the basis of AsD. DevelopmentMethodology: {peer programming, etc.} Extended Part Development method Extended Part Development Errors Form Text The supplier should identify any error and the ways to adress them during the development. Requirement Form Development without parametrization Form Text The devolopment should be made with communities of free software developers for DO. Metric DevelopmentObjective: String. (eg. "integration of generic capabilities with existing free software components") Master Thesis: Appendix 125 36. Acceptance Tests Param TT: is a nonempty set of test types Param TT: is a nonempty set of test types Param TT: is a nonempty set of test types TP: TimePoint Param NAT: natural TiT: time type TT: is a nonempty set of test types Param TT: is a nonempty set of test types TB: TestBasis Param TT: is a nonempty set of test types Requirement Form Acceptance tests Acceptance tests Goal: Stablish the type of tests to accept the solution Form Text The acceptance of the solution should involve the following tests: TT. Extended Part Tests based on recipes Form Text The TT acceptance tests should be based on recipes. Metric Metric TT: Set(TestType) TestType: {final, provisional, etc.} Fixed Part Metric TT: Set(TestType) TestType: {final, provisional, etc.} TimePoint: String (e.g. "the date of notification of final acceptance") Extended Part Tests date TT: Set(TestType) TestType: {final, provisional, etc.} Form Text The TT aceptance test should be TP. Extended Part Testing time Form Text The supplier should have NAT TiT to perform the TT test. Metric NAT: integer > 0 TT: Set(TestType) TestType: {final, provisional, etc.} TiT: {weeks, months, etc.} Extended Part Content of the recipes Form Text The recipes for TT acceptance test should be based on <param2>. Metric TT: Set(TestType) TestType: {final, provisional, etc.} TestBasis: Set(String) (eg. "test cases", "at least four typical scenarios of client work") Extended Part Simulated testing conditions Form Text The TT acceptance tests should be on a temporary test platform reproducing similar conditions to the production environment. Metric TT: Set(TestType) TestType: {final, provisional, etc.} Master Thesis: Appendix 132 Q11 What are the NFRs that raise more problems during the requirements engineering process? You may use the previous classification if necessary. Q11b What type of problems (ambiguity, etc.)? Non-Technical Requirements (NTRs) Non-Technical Requirements (NTRs) are those ones that set restrictions such as: 1) Characteristics that the software producer organization has to comply (for instance, its organizational structure, its reputation or the support offered); 2) Business characteristics that the software product has to fulfil (licensing schemas, property rights, guarantee and costs); 3) Other characteristics of the software product (related, for instance, with deliverables or customization of the product). Below you can find a possible classification schema for NTRs that can be helpful in further questions: 1. Supplier 1.1 Organizational Structure Description of the organizational structure of the supplier company. 1.2 Positioning and Strength Description of the position and orientation of the supplier company in the market. 1.3 Reputation Recognition of the capability of the supplier to perform similar projects based on past experiences and certifications. 1.4 Services Offered Description of the services offered by the supplier. 1.5 Support Description of the support mechanisms offered by the supplier company. 2. Business 2.1 Licensing Schema Description of the licensing options. 2.2 Ownership Description of the aspects in relation to the intellectual property rights. 2.3 Guarantees Detail of the guarantees provided over the product. 2.4 Licensing Cost Description of the total costs of ownership for the different licensing options available. 2.5 Platform Cost Estimation of the costs for the required production platform. 2.6 Implementation Cost Estimation of implementation costs based on similar past experiences. 2.7 Network Cost Estimation of additional costs for network operation. 3. Product 3.1 History Evolution of the product since it has been offered to the clients. 3.2 Deliverables Detail of the out-of-the-box and expected postimplementation deliverables. 3.3 Parameterization and Customization Description of the initial effort required for the product to operate. In this third part of the interview you will be asked about how your organization treats this type of requirements (as a part of non-functional requirements or as a separate type) and, in case of treating them in a separate way, what is your experience managing them and how they appear in your projects. Master Thesis: Appendix 133 (Knowledge about NTRs in the projects) Q12 Does it exist in your organization the concept of NTR or this class of requirements is considered as a part of NFRs? In case of considering NTRs as part of NFRs move to the next section Questions about patterns. Q13 Do you use a different name for NTRs? Which one? Q14 In a scale from 1 to 5 (1=very low; 2=low; 3=medium; 4=high; 5=very high), how would you rate your experience in NTRs management? Q14b In particular, how do you rate it during the elicitation stage of this type of requirements? Q15 Do you use a NTR classification schema? If so, please mention if it is a standard, a company classification schema, etc. Q15b What type of NTRs do you usually deal with in your projects? You may use the previous classification if necessary. Q16 What are the types of NTRs that use to be more prioritary in your projects? You may use the previous classification if necessary. Q17 What percentage of NTRs do you estimate that are recurrent in your projects? Answer following this scale: almost none (~0%); few (~25%); about 50%; many (~75%); almost all (~100%). Q18 What are the most recurrent NTR or types of NTRs in your projects? You may use the previous classification if necessary. Q19 What are the NTRs that raise more problems during the requirements engineering process? You may use the previous classification if necessary. Q19b What type of problems (ambiguity, etc.)? 3. Questions about patterns *** Questions to be answered during the interview *** The following questions deal with the specific aspects of our investigation. We aim at finding out what value a pattern catalogue may provide to the requirements engineering process and what role the catalogue would play during the development of software projects. Introduction to the concept of Requirement Pattern To make it simple, we consider in this study that a requirement pattern contains the text that describes some interrelated and recurrent requirements in a generic way. For instance, the pattern Failure Alerts contains the text of the requirements that are related to the fact of wanting Master Thesis: Appendix 134 to have a system that warns of failures that occur (which types of failures should be monitored, what types of alerts must be launched, etc.). A pattern consists of several Forms, which represent different contexts for the same pattern. For each project, the most suitable Form has to be chosen. Forms are mutually exclusive: in a project you can only use one of them. For example, the pattern Failure Alerts has two different Forms, as illustrated in the figure: In each Form we always find a Fixed Template and some Optional Templates. The Fixed Template always becomes a requirement when using the Form. Optional Templates, as its name suggests, are only used if you want more precise information about the requirement contained in the Fixed Template. Each Template is formed by the text associated with this requirement and optionally some parameters (in italics in the example), which are those parts that vary in using the template in different software projects. Master Thesis: Appendix 135 Structure of a Requirement Pattern The questions in this fourth part of the interview try to figure out whether the presented structure of a requirement pattern would fit the needs of your organization. Answer the following questions based on one type of NFRs that is recurrent in your projects. (Structure of a Requirement Pattern) Consider again your answer to Q10 and select only one type of NFR that is recurrent in your projects. Q20 Write up to 5 requirements of this type of NFR that have appeared in a requirement book of some of your projects. Q21 Considering how this type of NFR appears in your projects documentation, does it appear as a single requirement or as several requirements? Q22 From the requirements related to the type of NFR chosen, do you think they could be grouped according to the context in which they apply? For the examples given in Q25, what are these contexts? Q23 From the contexts given as examples in the previous question, do you think they are mutually exclusive or on the contrary you could need several of these contexts in the same project? Q24 From the requirements that may appear within a same context for the type of NFR chosen, is there some that appears on most (or all) of the projects where you apply this context? Give an example of what this requirement would be in a particular context. Q25 From the requirements related to the type of NFR chosen, are there any of them that represent the same restriction but have some small part that varies due to the project? Give 3 examples of the same requirement applied to different projects where this happens. Usage of a pattern catalogue In this fifth part of the interview we want to discover what would be the value of a requirement pattern catalogue in the software projects of your organization, as well as knowing what would be needed to incorporate it and what would be the pros and cons. (Use of a Requirement Pattern Catalogue) Q26 Do you think it would be useful to use a catalogue of patterns for NFRs during the elicitation process? Please use the following scale (from 1=useless; to 5=useful) Q26b And for their documentation? Master Thesis: Appendix 136 Q26c And for their validation? Q26d What might be the advantages obtained in each of these stages? Q27 In case that your organization considers NTRs as an independent type from NFRs, do you think it would be useful to use a catalogue of patterns for NTRs during the elicitation process? Q27b And for their documentation? Q27c And for their validation? Q27d What might be the advantages obtained in each of these stages? Q28 Do you think it would be useful to use a catalogue of patterns for Functional Requirements (FRs) during the elicitation process in one of the most common domains in your organization? Q28b And for their documentation? Q28c And for their validation? Q28d What might be the advantages obtained in each of these stages? Q28e Do you foresee any other benefit? (Incorporation of a Requirement Pattern Catalogue) Q29 If you have considered that a pattern catalogue may be useful during the requirements engineering stage for some kind of requirement, what would be needed in order to add the catalogue to the usual requirements engineering activities as currently undertaken by your company? You can choose more than one.  A training  A software tool  A guide / procedure  Other (please explain) Q30 What would be the major constraint limiting the adoption / incorporation of such catalogue to your RE activities? Master Thesis: Appendix 137 Appendix C: Glossary 1. Conceptual model. A conceptual model, also known as domain model, represents 'concepts' (entities) and relationships between them. 2. Functional requirement. Functional requirements establish the observable behaviour that must exhibit the system (calculations, manipulations, listings, evolution aspects, etc.), as well as the data types specification. 3. i* framework. The i* framework proposes an agent-oriented approach to requirements engineering centering on the intentional characteristics of the agent. Agents attribute intentional properties (such as goals, beliefs, abilities, commitments) to each other and reason about strategic relationships. Dependencies between agents give rise to opportunities as well as vulnerabilities. Networks of dependencies are analyzed using a qualitative reasoning approach. Agents consider alternative configurations of dependencies to assess their strategic positioning in a social context [62]. 4. Metamodel. Description or definition of a well-defined language in the form of a model. 5. Model. A description of (part of) a system written in a well-defined language. 6. Noise. In the bibliographic context, noise is defined as the set of results which are not related with the area or topic the user is interested in obtaining. 7. Non-functional requirement. Non-functional requirements establish the criteria or global qualities of the software system and set restrictions (internal and external) on the software and the development process. Common types of non-functional requirements are: usability, efficiency and portability. 8. Non-technical requirement. Non-technical requirements are those that do not refer directly to the intrinsic quality of software, but to the context of the system under analysis. They include economic, political and managerial issues [45]. 9. Pattern. Consistent and recurring characteristic or trait that helps in the identification of a phenomenon or problem, and serves as an indicator or model for predicting its future behaviour or solution. They clearly state the original phenomenon or problem (to know when to use it) and the future behaviour or solution. 10. Requirements Book. See Software Requirement Specification (SRS). 11. Requirements Elicitation. Requirements Elicitation is the process of discovering the requirements for a system by communication with customers, system users and others who have a stake in the system development [63]. 12. Requirements Engineering. Requirements engineering is the branch of software engineering concerned with the real-world goals for, functions of, and constraints on software systems. It is also concerned with the relationship of these factors to precise specifications of software behavior, and to their evolution over time and across software families. Master Thesis: Appendix 138 13. Software Requirement Specification (SRS). A software requirements specification (SRS) is a comprehensive description of the intended purpose and environment for a software system. An SRS fully describes what the software will do and how it will be expected to perform. 14. Template. Design, mold, or pattern of an item (or a group of items) that serves as a basis or guide for designing or constructing similar items. Templates may allow certain degree of freedom in aiming alterations or modifications. They only state a guide, but anything about when to use them. 15. Unified Modeling Language (UML). UML is a language to specify, visualize, and document models of software systems, including their structure and design. UML can be used for business modeling and modeling of other non-software systems. 16. Use case. A Use Case is the smallest unit of activity that is meaningful to the user. It must be self-contained, and leave the business of the application in a consistent state.