《山东大学齐鲁软件学院》由会员分享,可在线阅读,更多相关《山东大学齐鲁软件学院(41页珍藏版)》请在金锄头文库上搜索。
1、Chapter 11 The Software Development Process1山东大学齐鲁软件学院In this chapterWhats the Software Development Process? The important of Process-Why we use Processes? The PSP Process Flow and Scripts The Software Development Process Model (Added)2山东大学齐鲁软件学院Why we use Processes? A process is a defined set of st
2、eps for doing a job. Each step or phase has specific entry criteria satisfied before starting Each step or phase has specific exit criteria satisfied before completing Process is important in SE for the quality of process largely determined the quality and productivity of engineers work.3山东大学齐鲁软件学院T
3、hen PSPHelp you be a more effective software engineer. Help measure and improve the way you work. Help you develop programs. Show how using processed can improve the way you work.4山东大学齐鲁软件学院Process: Definition A series of actions, changes, or functions bringing about a result; A series of operations
4、 performed in the making or treatment of a product; Process of cooking eggs; Process of learning swimming; Result and processThen whats the process meaning?5山东大学齐鲁软件学院Software Development ProcessA model of what, when, who, how in software development process. The purpose of Software Development Proc
5、ess is to make the Software Development to be repeatable, manageable, final to be improvable. So far there are so many models for software development process, and the study of the process model is still ongoing. Waterfall-瀑布模型 Rapid prototyping-快速原型 Iterative approach-统一软件开发过程的迭代法 Extreme Programmi
6、ng (XP)-另外的(新一代?) 软件工程方法模型6山东大学齐鲁软件学院PSP Process Flow7山东大学齐鲁软件学院PSP Related Definitions Defined Process: comprising Scripts, forms, templates and standards. Process Script: a written set of steps the process users or agents follow. Forms: Logs or summaries. Templates and standards8山东大学齐鲁软件学院The Proc
7、ess Script- -Planning Planning: Obtain the requirements for the project. Complete the unshade plan portions of the Project Plan Summary form. Enter the time you took to do this planning in the Time Recording Log. Requirement elicitation and program size estimation are the main tasks of this process.
8、9山东大学齐鲁软件学院The Process Script- -Design Program design is a step by step elaborating process. Design process and representation depends on the different software development process model. Logical Diagram-See an example in Page 233. Pseudo code -See an example in Page 234. UML Use case10山东大学齐鲁软件学院UML
9、 use caseUse case DiagramQuery available itemsCreater OrdersRenew OrdersCustomerOrder operator11山东大学齐鲁软件学院Elaboration of use case diagram-Interactive sequential graphCustomerContentsProduct itemsRepertory itemsAvailable items Qurey Product item QueryRepertory Info:= Repertory items queryProduct info
10、rmationAvailable items Details12山东大学齐鲁软件学院The Process scripts- -CodingImplement the design by coding in the selected programming language. Use a consistent coding format and follow the coding standards. See formats and standards list in table 14.9 in Page 189 as a reference.13山东大学齐鲁软件学院The Process S
11、cript- -Compile Compile the source codes and correct all the defects found until the program compiles properly without any error messages. Record the compile time in the Time Recording Log. Time spent counting: All the time spent in this phase is counted, including time used by code correcting and d
12、esign changing procedure.14山东大学齐鲁软件学院The Process Script- -Test Run enough test to ensure the program meets all the requirements. Run a comprehensive set of test without any errors. Record the time spent in this phase in the Time Recording Log. All the time spent in this phase is counted as test time
13、, including correcting the code, fixing the defects, changing the design and recompiling.15山东大学齐鲁软件学院The Process Script - Postmortem Complete all the actual entries in the Project Plan Summary form. Finally Record the time spent by this phase and calculate the total development time and other calcul
14、ations.16山东大学齐鲁软件学院Checkpoints and phase Checkpoints provide precise reference points for measuring project status. The software development process further extends the checkpoints idea from a few points to all the process phases. Each phase produces a specific result and hence the completion of a p
15、hase is a measurable checkpoint. 17山东大学齐鲁软件学院The updated project plan summary formPSP Project Plan SummaryStudentDateProgram Program #InstructorLanguage18山东大学齐鲁软件学院The updated project plan summary formPSP Project Plan SummaryStudentDateProgram Program #InstructorLanguage19山东大学齐鲁软件学院The updated proje
16、ct plan summary formPSP Project Plan SummaryStudentDateProgram Program #InstructorLanguage20山东大学齐鲁软件学院A planning exampleMinutes/Loc Loc/hour Program size Time in phase-total Maximum time Minimum time To date %21山东大学齐鲁软件学院22山东大学齐鲁软件学院PSP Project Plan SummaryStudentDateProgram Program #InstructorLanguage23山东大学齐鲁软件学院An example of to