softwareprocessPPT學習課件學習課程_第1頁
softwareprocessPPT學習課件學習課程_第2頁
softwareprocessPPT學習課件學習課程_第3頁
softwareprocessPPT學習課件學習課程_第4頁
softwareprocessPPT學習課件學習課程_第5頁
已閱讀5頁,還剩45頁未讀 繼續免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

1、Objectives To introduce software process models To describe three generic process models and when they may be used To describe outline process models for requirements engineering, software development, testing and evolution To explain the Rational Unified Process model To introduce CASE technology t

2、o support software process activities第1頁/共50頁第一頁,編輯于星期六:二十一點 九分。Topics covered Software process models Process iteration Process activities The Rational Unified Process Computer-aided software engineering第2頁/共50頁第二頁,編輯于星期六:二十一點 九分。The software process A structured set of activities required to devel

3、op a software system Specification; Design; Validation; Evolution. A software process model is an abstract representation of a process. It presents a description of a process from some particular perspective.第3頁/共50頁第三頁,編輯于星期六:二十一點 九分。Generic software process models The waterfall model Separate and

4、distinct phases of specification and development. Evolutionary development Specification, development and validation are interleaved. Component-based software engineering The system is assembled from existing components. There are many variants of these models e.g. formal development where a waterfa

5、ll-like process is used but the specification is a formal specification that is refined through several stages to an implementable design.第4頁/共50頁第四頁,編輯于星期六:二十一點 九分。Waterfall model第5頁/共50頁第五頁,編輯于星期六:二十一點 九分。Waterfall model phases Requirements analysis and definition System and software design Implem

6、entation and unit testing Integration and system testing Operation and maintenance 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.第6頁/共50頁第六頁,編輯于星期六:二十一點 九分。Waterfall mod

7、el 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 syst

8、ems have stable requirements. The waterfall model is mostly used for large systems engineering projects where a system is developed at several sites. 第7頁/共50頁第七頁,編輯于星期六:二十一點 九分。Evolutionary development Exploratory development Objective is to work with customers and to evolve a final system from an i

9、nitial 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頁/共50頁第八頁,編輯于星

10、期六:二十一點 九分。Evolutionary development第9頁/共50頁第九頁,編輯于星期六:二十一點 九分。Evolutionary development 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 p

11、arts of large systems (e.g. the user interface); For short-lifetime systems.第10頁/共50頁第十頁,編輯于星期六:二十一點 九分。Component-based software engineering Based on systematic reuse where systems are integrated from existing components or COTS (Commercial-off-the-shelf) systems. Process stages Component analysis;

12、Requirements modification; System design with reuse; Development and integration. This approach is becoming increasingly used as component standards have emerged.第11頁/共50頁第十一頁,編輯于星期六:二十一點 九分。Reuse-oriented development第12頁/共50頁第十二頁,編輯于星期六:二十一點 九分。Process iteration System requirements ALWAYS evolve in

13、 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 (related) approaches Incremental delivery; Spiral development.第13頁/共50頁第十三頁,編輯于星期六:二十一點 九分。Incremental d

14、elivery Rather than deliver the system as a single delivery, the development and delivery is broken down into increments with each increment delivering part of the required functionality. User requirements are prioritised and the highest priority requirements are included in early increments. Once t

15、he development of an increment is started, the requirements are frozen though requirements for later increments can continue to evolve.第14頁/共50頁第十四頁,編輯于星期六:二十一點 九分。Incremental development第15頁/共50頁第十五頁,編輯于星期六:二十一點 九分。Incremental development advantages Customer value can be delivered with each increme

16、nt so system functionality is available earlier. Early increments act as a prototype to help elicit requirements for later increments. Lower risk of overall project failure. The highest priority system services tend to receive the most testing.第16頁/共50頁第十六頁,編輯于星期六:二十一點 九分。Extreme programming An appr

17、oach to development based on the development and delivery of very small increments of functionality. Relies on constant code improvement, user involvement in the development team and pairwise programming. Covered in Chapter 17第17頁/共50頁第十七頁,編輯于星期六:二十一點 九分。Spiral development Process is represented as

18、a spiral rather than as a sequence of activities with backtracking. Each loop in the spiral represents a phase in the process. No fixed phases such as specification or design - loops in the spiral are chosen depending on what is required. Risks are explicitly assessed and resolved throughout the pro

19、cess.第18頁/共50頁第十八頁,編輯于星期六:二十一點 九分。Spiral model of the software process第19頁/共50頁第十九頁,編輯于星期六:二十一點 九分。Spiral model sectors Objective setting Specific objectives for the phase are identified. Risk assessment and reduction Risks are assessed and activities put in place to reduce the key risks. Developmen

20、t and validation A development model for the system is chosen which can be any of the generic models. Planning The project is reviewed and the next phase of the spiral is planned.第20頁/共50頁第二十頁,編輯于星期六:二十一點 九分。Process activities Software specification Software design and implementation Software valida

21、tion Software evolution第21頁/共50頁第二十一頁,編輯于星期六:二十一點 九分。Software specification The process of establishing what services are required and the constraints on the systems operation and development. Requirements engineering process Feasibility study; Requirements elicitation and analysis; Requirements spe

22、cification; Requirements validation.第22頁/共50頁第二十二頁,編輯于星期六:二十一點 九分。The requirements engineering process第23頁/共50頁第二十三頁,編輯于星期六:二十一點 九分。Software design and implementation The process of converting the system specification into an executable system. Software design Design a software structure that realis

23、es the specification; Implementation Translate this structure into an executable program; The activities of design and implementation are closely related and may be inter-leaved.第24頁/共50頁第二十四頁,編輯于星期六:二十一點 九分。Design process activities Architectural design Abstract specification Interface design Compo

24、nent design Data structure design Algorithm design第25頁/共50頁第二十五頁,編輯于星期六:二十一點 九分。The software design process第26頁/共50頁第二十六頁,編輯于星期六:二十一點 九分。Structured methods Systematic approaches to developing a software design. The design is usually documented as a set of graphical models. Possible models Object mod

25、el; Sequence model; State transition model; Structural model; Data-flow model.第27頁/共50頁第二十七頁,編輯于星期六:二十一點 九分。Programming and debugging Translating a design into a program and removing errors from that program. Programming is a personal activity - there is no generic programming process. Programmers c

26、arry out some program testing to discover faults in the program and remove these faults in the debugging process.第28頁/共50頁第二十八頁,編輯于星期六:二十一點 九分。The debugging process第29頁/共50頁第二十九頁,編輯于星期六:二十一點 九分。Software validation Verification and validation (V & V) is intended to show that a system conforms to

27、its specification and meets the requirements of the system customer. Involves checking and review processes and system testing. 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.第30頁/共50頁第三十頁,編輯于星期六:二十一

28、點 九分。The testing process第31頁/共50頁第三十一頁,編輯于星期六:二十一點 九分。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 properti

29、es is particularly important. Acceptance testing Testing with customer data to check that the system meets the customers needs.第32頁/共50頁第三十二頁,編輯于星期六:二十一點 九分。Testing phases第33頁/共50頁第三十三頁,編輯于星期六:二十一點 九分。Software evolution Software is inherently flexible and can change. As requirements change through c

30、hanging business circumstances, the software that supports the business must also evolve and change. Although there has been a demarcation between development and evolution (maintenance) this is increasingly irrelevant as fewer and fewer systems are completely new.第34頁/共50頁第三十四頁,編輯于星期六:二十一點 九分。Syste

31、m evolution第35頁/共50頁第三十五頁,編輯于星期六:二十一點 九分。The Rational Unified Process A modern process model derived from the work on the UML and associated process. Normally described from 3 perspectives A dynamic perspective that shows phases over time; A static perspective that shows process activities; A practi

32、ve perspective that suggests good practice.第36頁/共50頁第三十六頁,編輯于星期六:二十一點 九分。RUP phase model第37頁/共50頁第三十七頁,編輯于星期六:二十一點 九分。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, p

33、rogramming and testing. Transition Deploy the system in its operating environment.第38頁/共50頁第三十八頁,編輯于星期六:二十一點 九分。RUP good practice Develop software iteratively Manage requirements Use component-based architectures Visually model software Verify software quality Control changes to software第39頁/共50頁第三十

34、九頁,編輯于星期六:二十一點 九分。Static workflowsWorkflowDescriptionBusiness modellingThe business processes are modelled using business use cases.RequirementsActors who interact with the system are identified and use cases aredeveloped to model the system requirements.Analysis and designA design model is created

35、and documented using architecturalmodels, component models, object models and sequence models.ImplementationThe components in the system are implemented and structured intoimplementation sub-systems. Automatic code generation from designmodels helps accelerate this process.TestTesting is an iterativ

36、e process that is carried out in conjunction withimplementation. System testing follows the completion of theimplementation.DeploymentA product release is created, distributed to users and installed in theirworkplace.Configuration andchange managementThis supporting workflow managed changes to the s

37、ystem (seeChapter 29).Project managementThis supporting workflow manages the system development (seeChapter 5).EnvironmentThis workflow is concerned with making appropriate software toolsavailable to the software development team.第40頁/共50頁第四十頁,編輯于星期六:二十一點 九分。Computer-aided software engineering Compu

38、ter-aided software engineering (CASE) is software to support software development and evolution processes. Activity automation Graphical editors for system model development; Data dictionary to manage design entities; Graphical UI builder for user interface construction; Debuggers to support program

39、 fault finding; Automated translators to generate new versions of a program.第41頁/共50頁第四十一頁,編輯于星期六:二十一點 九分。Case technology Case technology has led to significant improvements in the software process. However, these are not the order of magnitude improvements that were once predicted Software engineer

40、ing requires creative thought - this is not readily automated; Software engineering is a team activity and, for large projects, much time is spent in team interactions. CASE technology does not really support these.第42頁/共50頁第四十二頁,編輯于星期六:二十一點 九分。CASE classification Classification helps us understand

41、the different types of CASE tools and their support for process activities. Functional perspective Tools are classified according to their specific function. Process perspective Tools are classified according to process activities that are supported. Integration perspective Tools are classified acco

42、rding to their organisation into integrated units.第43頁/共50頁第四十三頁,編輯于星期六:二十一點 九分。Functional tool classificationTool typeExamplesPlanning toolsPERT tools, estimation tools, spreadsheetsEditing toolsText editors, diagram editors, word processorsChange management toolsRequirements traceability tools, ch

43、ange control systemsConfiguration management toolsVersion management systems, system building toolsPrototyping toolsVery high-level languages, user interface generatorsMethod-support toolsDesign editors, data dictionaries, code generatorsLanguage-processing toolsCompilers, interpretersProgram analys

44、is toolsCross reference generators, static analysers, dynamic analysersTesting toolsTest data generators, file comparatorsDebugging toolsInteractive debugging systemsDocumentation toolsPage layout programs, image editorsRe-engineering toolsCross-reference systems, program re-structuring systems第44頁/共50頁第四十四頁,編輯于星期六:二十一點 九分。Activity-based tool classification第45頁/共50頁第四十五頁,編輯于星期六:二十一點 九分。CASE integration Tools Support individual process tasks such as desi

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論