7 Designing
7.1 Design Principles
- HLD:high level Design
- SDS:Software Design Specification
- 整体架构设计,功能模块设计,数据库,用户界面,接口...
- DLD:detailed Design
- 在TSPi中,HLD在设计阶段,DLD在实现阶段(implementation phase)
7.2 Using the Entire Team
- only one or two members are needed to ducument HLD
- others: 标准约定,重用...
7.3 Design Standards(掌握)
- 不仅要完成SDS,还需要给出如下标准
- Naming conventions
- Interface formats
- System and error messages
- Defect Standards
- LOC Counting
- 代码行统计按照TSPi方式,只统计新增和修改过的代码行
- Design representation standards
7.4 Designing for Reuse
- 定义初始复用库的标准(了解)
- Reuse interface standards
- Reuse documentation standards
- Reuse part quality
- Application Support
7.5 SDS
- SDS内容(掌握)
- 软件总体架构
- 把系统功能分配给components(掌握)
- 模块/部件的外部说明
- 确定在每个开发周期开发哪些功能/模块
- SDS文档应当包含所有周期
- 实验中需要包含这些内容
- 软件层次架构设计
- 功能模块设计(需要与分析阶段相符合)
- 数据库设计
- 用户界面设计
7.6 Design Process(16周周二验收,需要做演示视频)
- entry criteria
- High-Level Design
- Develop Manager分任务,Team Leader 分配至人
- 内容:定义软件架构,命名模块,分配用例,分配任务
- The name glossary and Design Standard
- Qualiy/Process Manager(掌握)
- Design Task Allocation
- The Design Specification
- 写自己SDS部分
- 制作并复查自己的部分
- Develop Manager集成各部分形成草稿
- Integration Test Plan
- 检测模块间调用和返回等关系是否正常
- 注意重点不在各模块功能
- Develoment manager
- Design & Integration Test Plan Inspection
- INS,LOGD
- quality/process manager
- Design & Integration Test Plan Update
- 重新提交给开发经理
- 开发经理最终形成final SDS
- Design Baseline
- support manager 放入配置管理控制之下,CCR
- 出口准则

8 Implementation
8.1 Design Completion Criteria
8.2 implementation standard(不用记)
- standard reivew(derived from design)
- naming,interface,message standards(derived from design)
- coding standards(new)
- size standards(derived from design)
- defect standards(derived from design)
- defect preventions(new)
- 整个团队讨论
- 出现频率最高的缺陷确定后,进行改进,看出现频率是否降低
8.3 Implementation Strategy(掌握)
- 根据这三个策略完成原子对象的编码实现
- 复查
- 复用
- 每日都有简短交流,看是否有复用程序段
- 建立复用库,使用复用代码
- 测试
8.4 Reviews and Inspections
8.5 Design Inspection for Source Program
8.6 Implementation Process(掌握)
- Entry Criteria
- Implementation Planing
- development manager 定义工作并分开
- Task Allocation
- Detailed design and Design Review
- 做完自己该做的详细设计(时序图/流程图)
- 复查
- form LOGD,LOGT
- Unit Test Plan
- Detailed-Design Inspection
- Code,Code Review and Compile
- Code Inspection
- quality/support manager
- 互相代码检查
- Unit Test
- Component Quality Review
- 模块质量复查
- SUMQ表,观察差距.
- Quality/Process Manager
- Component Release
- 交给support manager,放入配置管理控制下
- Exit Criteria
- components
- INS form
- Unit Test Plans and support materials
- LOGT,LOGD,SUMS,TASK,SCHEDULE,SUMP,SUMQ(还交五张表)
- updated project notebook
- 下周一最后一次实验室讲课