1 / 31

Software Processes

Software Processes. The software process. Software process: A structured set of activities required to develop a software system Fundamental activities which are common to all software activities: Specification; Design; Validation; Evolution.

Download Presentation

Software Processes

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Software Processes

  2. The software process • Software process: A structured set of activities required to develop a software system • Fundamental activities which are common to all software activities: • Specification; • Design; • Validation; • Evolution. • A software process model is an abstract representation of a process. • It presents a description of a process from some particularperspective-> Each process model provides only partial information about that process.

  3. Generic software process models • The waterfall model • Seperates process phases such as requirements specifications, software design, implementation and testing. • Evolutionary development • Specification, development and validation are interleaved. • An initial system is rapidly developed from abstract specifications. • Then, refined with customer input. • Component-based software engineering • Based on the existence of a significant number of reusable components. Development process focuses on integrating these components into a system rather than developing them from scrach. • These three process models are widely used in current software engineering practice. • There are many variants of these models. • They are often used together, especially for large systems development.

  4. Waterfall model

  5. Waterfall model • The result of each phase is one or more documents that are approved. • The following phase should not start until the previous phase has finished. • The main drawback of the waterfall model is the difficulty of accommodating change after the process is underway. One phase has to be complete before moving onto the next phase. Commitments must be made at an early stage in the process, which makes it difficult to respond to changing requirements.

  6. Waterfall model problems • Inflexible partitioning of the project into distinct stages makes it difficult to respond to changing customer requirements. • Therefore, this model is only appropriate when the requirements are well-understood and changes will be fairly limited during the design process. • Few business systems have stable requirements. • The waterfall model is mostly used for large systems engineering projects where a system is developed at several sites.

  7. Evolutionary development • Evolutionary development: Developing an initial implementation, exposing this to user comment and refining it through many versions until an adequate system has been developed. Two fundamental types of evolutionary development: • Exploratory development • Objective is to work with customers and to evolve a final system from an initial outline specification. Should start with well-understood requirements and add new features as proposed by the customer. • Throw-away prototyping • Objective is to understand the system requirements. Should start with poorly understood requirements to clarify what is really needed.

  8. Evolutionary development From an engineering and management perspective, the evolutionary approach has two problems: • Problems • Lack of process visibility; • Systems are often poorly structured; • Special skills (e.g. in languages for rapid prototyping) may be required. • Applicability • For small or medium-size interactive systems; • For parts of large systems (e.g. the user interface); • For short-lifetime systems.

  9. Component-based software engineering • Based on systematic reuse where systems are integrated from existing components or COTS (Commercial-off-the-shelf) systems. • While the initial requirements specification stage and the testing stage are comparable with other processes, the intermediate stages are different. • Process stages • Component analysis; • Requirements modification; • System design with reuse; • Development and integration. • This approach is becoming increasingly used as component standards have emerged.

  10. Reuse-oriented development

  11. Process iteration • System requirements ALWAYS evolve in the course of a project so process iteration where earlier stages are reworked is always part of the process for large systems. • Iteration can be applied to any of the generic process models. • Two process models: • Incremental delivery: Customers identify the services to be provided by the system. They identify which of the systems are most important and least important to them. Each increment provides a sub-set of the system functionality. • Spiral development: Rather than represent the software process as a sequence of activities with some backtracking from one activity to another, the process is represented as a spiral.

  12. Process activities • Software specification • Software design and implementation • Software validation • Software evolution • in waterfall model -> activities are organised in sequence. • in evolutionary model -> activities are interleaved. • No right or wrong way to organise these activities!

  13. Software specification • Software specification or requirements engineering: The process of: • Understanding and defining what services are required from the system • Identifying the constraints on the system’s development and operation. • This process leads to the production of a requirements document that is a specification for the system. • There are four main phases of requirements engineering process (next figure): • Feasibility study; • Requirements elicitation and analysis; • Requirements specification; • Requirements validation.

  14. The requirements engineering process

  15. Software design and implementation • Software design: Description of the structure of the software to be implemented, the data which is part of the system, the interfaces between system components and sometimes algorithm used. • Software implementation: Translationof this structure into an executable program; • The activities of design and implementation are closely related and may be inter-leaved.

  16. Design process activities The specific design processes are given as (next figure): • Architectural design • Abstract specification • Interface design • Component design • Data structure design • Algorithm design

  17. The software design process

  18. Structured methods • A contrasting approach, structured methods for design: Producing graphical models of the systems. In many cases, this structural design automatically generates code from these models (ex: Unified Modeling Language (UML)). • A structured method includes a design process model, notations to represent the design, report formats, rules and design guidelines. • They may support some or all of the following models of a system: • Object model; • Sequence model; • State transition model; • Structural model; • Data-flow model.

  19. Programming and debugging • Programming is a personal activity and there is no general process that is usually followed. • Programming: Translating a design into a program • Debugging: Removing errors from that program. • Debugging != Testing: Testing establishes the existence of defects. Debugging is concerned with locating and correcting these defects. • Programmers carry out some program testing to discover faults in the program and remove these faults in the debugging process.

  20. The debugging process

  21. Software validation • Verification and validation (V & V) is intended to show that a system conforms to its specification and meets the requirements of the system customer. • Involves checking and review processes and system testing (We will see the in detail further). • System testing involves executing the system with test cases that are derived from the specification of the real data to be processed by the system.

  22. The testing process

  23. Testing stages • Component or unit testing • Individual components are tested independently; • Components may be functions or objects or coherent groupings of these entities. • System testing • Testing of the system as a whole. Testing of emergent properties is particularly important. • Acceptance testing • Testing with customer data to check that the system meets the customer’s needs.

  24. Software evolution • Software is inherently flexible and can change. • As requirements change through changing business circumstances, the software that supports the business must also evolve and change.

  25. System evolution

  26. The Rational Unified Process • The RUP: An example of a modern process model derived from the work on the UML and associated process. • It is a good example of a hybrid process model. • It brings together elements from all the generic process models, it supports iteration and it illustrates good practice in specification and design. • Normally described from 3 perspectives: • A dynamic perspective that shows phases over time; • A static perspective that shows process activities; • A practice perspective that suggests good practice.

  27. RUP phase model

  28. RUP phases • Inception • Establish the business case for the system. • Elaboration • Develop an understanding of the problem domain and the system architecture. • Construction • System design, programming and testing. • Transition • Deploy the system in its operating environment.

  29. RUP • RUP is not a suitable process for all types of development but it does represent a new generation of generic processes. • Most important innovations: • The seperation of phases and workflows • Recognition that deploying software in a user’s environment is part of the process.

  30. Static workflows

  31. Key points • Software processes are the activities involved in producing and evolving a software system. • Software process models are abstract representations of these processes. • General activities are specification, design and implementation, validation and evolution. • Generic process models describe the organisation of software processes. Examples include the waterfall model, evolutionary development and component-based software engineering. • Iterative process models describe the software process as a cycle of activities. • Requirements engineering is the process of developing a software specification. • Design and implementation processes transform the specification to an executable program. • Validation involves checking that the system meets to its specification and user needs. • Evolution is concerned with modifying the system after it is in use. • The Rational Unified Process is a generic process model that separates activities from phases.

More Related