SE2 Session4 Software Process and Process Models 1072020

  • Slides: 35
Download presentation
SE-2 -Session-4 Software Process and Process Models 10/7/2020 Software engineering-2 1

SE-2 -Session-4 Software Process and Process Models 10/7/2020 Software engineering-2 1

Process frame work and activities A generic process framework for software engineering defines five

Process frame work and activities A generic process framework for software engineering defines five framework activities: • Communication, Planning, Modeling, Construction, and Deployment. In addition, a set of umbrella activities: • Project tracking and control, Risk management, Quality assurance, Configuration management, Technical reviews etc. —are applied throughout the process. one important aspect of the software process is called • Process flow—describes how the frame work activities and the actions and tasks that occur within each framework activity are organized with respect to sequence and time 10/7/2020 Software engineering-2 2

Process Flow 10/7/2020 Software engineering-2 3

Process Flow 10/7/2020 Software engineering-2 3

10/7/2020 Software engineering-2 4

10/7/2020 Software engineering-2 4

Process Pattern • A process pattern describes a process-related problem that is encountered during

Process Pattern • A process pattern describes a process-related problem that is encountered during software engineering work. • Identifies the environment in which the problem has been encountered. • Suggests one or more proven solutions to the problem. • Patterns can be defined at any level of abstraction. • Pattern Name. The pattern is given a meaningful name describing it within the context of the software process (e. g. , Technical Reviews). • Forces. The environment in which the pattern is encountered and the issues that make the problem visible and may affect its solution. 10/7/2020 Software engineering-2 5

Process pattern types The three types: • Type-1 -[phase], a pattern might be used

Process pattern types The three types: • Type-1 -[phase], a pattern might be used to describe a problem and solution associated with a complete process model (e. g. , prototyping). • Type-2 -[stage], patterns can be used to describe a problem and solution associated with a framework activity (e. g. , planning). • Type-3 -[task], an action within a framework activity (e. g. , project estimating). 10/7/2020 Software engineering-2 6

An Example of Process Pattern Describes an approach that may be applicable when stakeholders

An Example of Process Pattern Describes an approach that may be applicable when stakeholders have a general idea of what must be done but are unsure of specific software requirements. Pattern name. Requirements Unclear Intent. This pattern describes an approach for building a model that can be assessed iteratively by stakeholders in an effort to identify or solidify software requirements. Type. Phase pattern Initial context. Conditions must be met (1) Stakeholders have been identified. (2) A mode of communication between stakeholders and the software team has been established. (3) The overriding software problem to be solved has been identified by stakeholders. (4) An initial understanding of project scope, basic business requirements and project constraints has been developed. 7

An Example of Process Pattern Problem. Requirements are hazy or nonexistent. stakeholders are unsure

An Example of Process Pattern Problem. Requirements are hazy or nonexistent. stakeholders are unsure of what they want. Solution. A description of the prototyping process would be presented here. Resulting context. A software prototype that identifies basic requirements. (modes of interaction, computational features, processing functions) is approved by stakeholders. Following this: 1. This prototype may evolve through a series of increments to become the production software or 2. the prototype may be discarded. Related patterns. Customer Communication, Iterative Design, Iterative Development, Customer Assessment, Requirement Extraction. 8

Process Assessment and Improvement Software process (SP) cannot guarantee that software will be delivered

Process Assessment and Improvement Software process (SP) cannot guarantee that software will be delivered on time, meet the needs, or has the desired technical characteristics. However, the process can be assessed to ensure that it meets a set of basic process criteria that have been shown to be essential for a successful software engineering. Standard CMMI Assessment Method for Process Improvement (SCAMPI): Provides a five step process assessment model that incorporates five phases: initiating, diagnosing, establishing, acting and learning. CMM-Based Appraisal for Internal Process Improvement (CBA IPI): Provides a diagnostic technique for assessing the relative maturity of a software organization. SPICE—The SPICE (ISO/IEC 15504): Standard defines a set of requirements for software process assessment. The intent of the standard is to assist organizations in developing an objective evaluation of the efficacy of any defined software process. ISO 9001: 2000 for Software: A generic standard that applies to any organization that wants to improve the overall quality of the products, systems, or services that it provides. Therefore, the standard is directly applicable to software organizations and companies. 9

Water fall model • There are times when the requirements for a problem are

Water fall model • There are times when the requirements for a problem are well understood when work flows from communication through deployment in a reasonably linear fashion. • This situation is sometimes encountered when well-defined adaptations or enhancements to an existing system must be made (e. g. , an adaptation to accounting software that has been mandated because of changes to government regulations). • It may also occur in a limited number of new development efforts, but only when requirements are well defined and reasonably stable. 10/7/2020 Software engineering-2 10

Water fall model • The waterfall model, sometimes called the classic life cycle. •

Water fall model • The waterfall model, sometimes called the classic life cycle. • Suggests a systematic, sequential approach to software development that begins with customer specification of requirements and progresses through planning, modeling, construction, and deployment, culminating in ongoing support of the completed software. • A variation in the representation of the waterfall model is called the Vmodel. • Although the original waterfall model proposed by Winston Royce [Roy 70] made provision for “feedback loops, ” the vast majority of organizations that apply this process model treat it as if it were strictly linear. 10/7/2020 Software engineering-2 11

10/7/2020 Software engineering-2 12

10/7/2020 Software engineering-2 12

Decide phase: • Business Case – What the user want to achieve with the

Decide phase: • Business Case – What the user want to achieve with the software. • User Requirements – What the software needs to do to achieve the business aim. • System Specification – What the software need to do in computer terms to meet the user requirements. Design Phase: • System Design – how the software will be structured into components. • Component Design – how a component will be structured. Develop Phase: • The Develop phase is the Component Construction stage in the waterfall model. It deals with building the components required for the software. Demonstration Phase: • The Demonstrate phase is the Test stage and involves proving that the software system meets each of the designs, specifications and requirements in the Decide and Design phases. 10/7/2020 Software engineering-2 13

Evolutionary process models 10/7/2020 Software engineering-2 14

Evolutionary process models 10/7/2020 Software engineering-2 14

Incremental process model 10/7/2020 Software engineering-2 15

Incremental process model 10/7/2020 Software engineering-2 15

10/7/2020 Software engineering-2 16

10/7/2020 Software engineering-2 16

Incremental process model • There are many situations in which initial software requirements are

Incremental process model • There are many situations in which initial software requirements are reasonably well defined, BUT the overall scope of the development effort precludes a purely linear process. • In addition, there may be a compelling need to provide a limited set of software functionality to users quickly and then refine and expand on that functionality in later software releases. • In such cases, you can choose a process model that is designed to produce the software in increments. • The incremental model combines elements of linear and parallel process flows, the incremental model applies linear sequences in a staggered fashion as calendar time progresses. 10/7/2020 Software engineering-2 17

Incremental process model • Each linear sequence produces deliverable “increments” of the software in

Incremental process model • Each linear sequence produces deliverable “increments” of the software in a manner that is similar to the increments produced by an evolutionary process flow. • For example, Word-processing software developed using the incremental paradigm might deliver basic file management, editing, and document production functions in the first increment; more sophisticated editing and document production capabilities in the second increment; spelling and grammar checking in the third increment; and advanced page layout capability in the fourth increment. • The process flow for any increment can incorporate the prototyping paradigm. • When an incremental model is used, the first increment is often a core product. 10/7/2020 Software engineering-2 18

Advantages Incremental process model: • Initial product delivery is faster and Lower initial delivery

Advantages Incremental process model: • Initial product delivery is faster and Lower initial delivery cost. • Core functionality of product is added in the first increment. • Easier to test and debug because relatively smaller changes are made during each iteration which allows targeted and rigorous testing of each element within the overall product. • With each release a new feature is added to the product so Customer can respond to feature and review the product. • Risk of changing requirement is reduced and work load is less. Disadvantages Incremental process model: • Requires good analysis. • Resulting cost may exceed the cost of the organization. • Each phase of an iteration is rigid and do not overlap each other. • As additional functionality is added to the product, problems may arise related to system architecture which were not evident in earlier prototypes. 10/7/2020 Software engineering-2 19

Prototyping model 10/7/2020 Software engineering-2 20

Prototyping model 10/7/2020 Software engineering-2 20

Evolutionary process models -Prototyping • Begins with communication. • You meet with other stakeholders

Evolutionary process models -Prototyping • Begins with communication. • You meet with other stakeholders to define the overall objectives for the software, identify whatever requirements are known, and outline areas where further definition is mandatory. • A prototyping iteration is planned quickly, and modeling, in the form of a “quick design” occurs. • A quick design focuses on a representation of those aspects of the software that will be visible to end users (e. g. , human interface layout or output display). 10/7/2020 Software engineering-2 21

Spiral model 10/7/2020 Software engineering-2 22

Spiral model 10/7/2020 Software engineering-2 22

10/7/2020 Software engineering-2 23

10/7/2020 Software engineering-2 23

Evolutionary process models-Spiral model • Originally proposed by Barry Boehm, the spiral model is

Evolutionary process models-Spiral model • Originally proposed by Barry Boehm, the spiral model is an evolutionary software process model. • It couples the iterative nature of prototyping with the controlled and systematic aspects of the waterfall model. • It provides the potential for rapid development of increasingly more complete versions of the software. • The spiral development model is a risk-driven process model generator • Used to guide multi-stakeholder with concurrent engineering of software intensive systems. 10/7/2020 Software engineering-2 24

Spiral model It has two main distinguishing features. • One is a cyclic approach

Spiral model It has two main distinguishing features. • One is a cyclic approach for incrementally growing a system’s degree of definition and implementation while decreasing its degree of risk. • The other is a set of anchor point milestones for ensuring stakeholder commitment to feasible and mutually satisfactory system solutions. • Using the spiral model, software is developed in a series of evolutionary releases. • During early iterations, the release might be a model or prototype. During later iterations, increasingly more complete versions of the engineered system are produced. 10/7/2020 Software engineering-2 25

Spiral model • A spiral model is divided into a set of framework activities

Spiral model • A spiral model is divided into a set of framework activities defined by the software engineering team. • Each of the framework activities represent one segment of the spiral path. • As this evolutionary process begins, the software team performs activities that are implied by a circuit around the spiral in a clockwise direction, beginning at the center. • Risk is considered as each revolution is made. 10/7/2020 Software engineering-2 26

Spiral model • Anchor point milestones—a combination of work products and conditions that area

Spiral model • Anchor point milestones—a combination of work products and conditions that area attained along the path of the spiral—are noted for each evolutionary pass. • The first circuit around the spiral might result in the development of a product specification. • Subsequent passes around the spiral might be used to develop a prototype. • Then progressively more sophisticated versions of the software. 10/7/2020 Software engineering-2 27

Spiral model • Each pass through the planning region results in adjustments to the

Spiral model • Each pass through the planning region results in adjustments to the project plan. • Cost and schedule are adjusted based on feedback derived from the customer after delivery. • In addition, the project manager adjusts the planned number of iterations required to complete the software. • Unlike other process models that end when software is delivered, the spiral model can be adapted to apply throughout the life of the computer software. • Therefore, the first circuit around the spiral might represent a “concept development project” that starts at the core of the spiral and continues for multiple iterations i. e. 10, until concepts development is complete. 10/7/2020 Software engineering-2 28

Spiral model • If the concept is to be developed into an actual product,

Spiral model • If the concept is to be developed into an actual product, the process proceeds outward on the spiral and a “new product development project” commences. • The new product will evolve through a number of iterations around the spiral. • Later, a circuit around the spiral might be used to represent a “product enhancement project. ” • In essence, the spiral, when characterized in this way, remains operative until the software is retired. 10/7/2020 Software engineering-2 29

Spiral model • There are times when the process is dormant, but whenever a

Spiral model • There are times when the process is dormant, but whenever a change is initiated, the process starts at the appropriate entry point i. e. product enhancement. • The spiral model is a realistic approach to the development of largescale systems and software. • Because software evolves as the process progresses, the developer and customer better understand react to risks at each evolutionary level. • The spiral model uses prototyping as a risk reduction mechanism but, more important, enables you to apply the prototyping approach at any stage in the evolution of the product. 10/7/2020 Software engineering-2 30

Spiral model • It maintains the systematic stepwise approach suggested by the classic life

Spiral model • It maintains the systematic stepwise approach suggested by the classic life cycle but incorporates it into an iterative framework that more realistically reflects the real world. • The spiral model demands a direct consideration of technical risks at all stages of the project and, if properly applied, should reduce risks before they become problematic. • It may be difficult to convince customers (particularly in contract situations) that the evolutionary approach is controllable. • It demands considerable risk assessment expertise and relies on this expertise for success. 10/7/2020 Software engineering-2 31

Spiral Models • • The Spiral Model is an evolutionary software process model that

Spiral Models • • The Spiral Model is an evolutionary software process model that couples the iterative nature of prototyping with the controlled and systematic aspects of the Linear Sequential Model. Using the Spiral Model the software is developed in a series of incremental releases. Unlike the Iteration Model where in the first product is a core product, in the Spiral Model the early iterations could result in a paper model or a prototype. However, during later iterations more complex functionalities could be added. A Spiral Model, combines the iterative nature of prototyping with the controlled and systematic aspects of the Waterfall Model, therein providing the potential for rapid development of incremental versions of the software. A Spiral Model is divided into a number of framework activities, also called task regions. These task regions could vary from 3 -6 in number and they are: Customer Communication - tasks required to establish effective communication between the developer and customer. Planning - tasks required to define resources, timelines and other project related information /items. Risk Analysis - tasks required to assess the technical and management risks. Engineering - tasks required to build one or more representation of the application. Construction & Release - tasks required to construct, test and support (eg. Documentation and training) Customer evaluation - tasks required to obtain periodic customer feedback so that there are no last minute surprises. 10/7/2020 Software engineering-2 32

Advantages of the Spiral Model • Realistic approach to the development because the software

Advantages of the Spiral Model • Realistic approach to the development because the software evolves as the process progresses. In addition, the developer and the client better understand react to risks at each evolutionary level. • The model uses prototyping as a risk reduction mechanism and allows for the development of prototypes at any stage of the evolutionary development. • It maintains a systematic stepwise approach, like the classic waterfall model, and also incorporates into it an iterative framework that more reflect the real world. Disadvantages of the Spiral Model • One should possess considerable risk-assessment expertise • It has not been employed as much proven models (e. g. the Waterfall Model) and hence may prove difficult to ‘sell’ to the client 10/7/2020 Software engineering-2 33

Conclusion • Communication is a essence of any process model. • Different models have

Conclusion • Communication is a essence of any process model. • Different models have different process flow. • Variety of models are available according to the expertise of software engineering team. • Model should be adapted according to the scale of the project and need of client. • Multiple models can be implemented to have a single model i. e. spiral model. 10/7/2020 Software engineering-2 34

Acknowledgment Thank you all for your time and patience to endure such lengthy sessions.

Acknowledgment Thank you all for your time and patience to endure such lengthy sessions. Next Session: Rational Unified process (RUP) and Rapid Application Development (RAD). 10/7/2020 Software engineering-2 35