面向对象分析 口OOA是软件开发过程中的问题定义阶段 口领域分析( Domain analysis):抽取和整理用户需 求并建立问题域精确模型的过程。以公共对象、类 和框架等形式在特定应用领域中标识、分析和规约 公共的可复用的软件成分的能力。抽象出目标系统 的本质属性,建立问题领域模型。 口应用分析( Application Analysis):将领域分析建立 起来的问题领域模型,用某种基于计算机系统的语 言来表示。响应时间需求、用户界面需求和数据安 全等特殊的需求也都在这一层分解抽出。 Institute of Computer Software 2021/1/27 Nanjing University
面向对象分析 OOA是软件开发过程中的问题定义阶段 领域分析(Domain Analysis):抽取和整理用户需 求并建立问题域精确模型的过程。以公共对象、类 和框架等形式在特定应用领域中标识、分析和规约 公共的可复用的软件成分的能力。抽象出目标系统 的本质属性,建立问题领域模型。 应用分析(Application Analysis):将领域分析建立 起来的问题领域模型,用某种基于计算机系统的语 言来表示。响应时间需求、用户界面需求和数据安 全等特殊的需求也都在这一层分解抽出。 2021/1/27 Institute of Computer Software Nanjing University 11
面向对象分析 口领域分析 技术文件 应 类的分类 领域 客户考察 复用标准 领域 知识 领域 分析 源 一手家建议分析 功能模型 领域语言 模型 目前床来的需求 Institute of Computer Software 2021/1/27 Nanjing University
面向对象分析 领域分析 2021/1/27 Institute of Computer Software Nanjing University 12 领域 知识 源 领域 分析 模型 领域 分析 技术文件 专家建议 已有应用 客户考察 目前/未来的需求 类的分类 复用标准 功能模型 领域语言
Goals of performing analysis Al. To understand the problem or problems that the eventual software system, if any, should solve A2. To prompt relevant questions about the problem and the system A3. To provide a basis for answering questions about specific properties of the problem and system A4. To decide what the system should do A5. To decide what the system should not do A6. To ascertain that the system will satisfy the needs of its users and define acceptance criteria(especially when the system is developed for an outside customer under a contractual relationship) A7. To provide a basis for the development of the system 13 Institute of Computer Software 2021/1/27 Nanjing University
2021/1/27 Institute of Computer Software Nanjing University 13
面向对象分析 口具体步骤 常用用例来收集和描述用 获取用户基本需求 户的需求 标识类和对象 标识类及类的属性和服务 定义类的结构和层 次 表示类(对象)间 描述系统的静态结构 的关系 为对象行为建模 描述系统的动态行为 Institute of Computer Software 2021/1/27 Nanjing University
面向对象分析 具体步骤 2021/1/27 Institute of Computer Software Nanjing University 14 获取用户基本需求 标识类和对象 定义类的结构和层 次 表示类(对象)间 的关系 为对象行为建模 常用用例来收集和描述用 户的需求 标识类及类的属性和服务 描述系统的静态结构 描述系统的动态行为
最病 以需求分析 ways, 7% never, 45% sometimes rare小y,19 Waterfal式开发其需求分析一开始(其实是过早地)确定的 features在最终产品中真正采用情况的比例 Institute of Computer Software 2021/1/27 Nanjing University
2021/1/27 Institute of Computer Software Nanjing University 15 需求分析 Waterfall式开发其需求分析一开始(其实是过早地)确定的 features 在最终产品中真正采用情况的比例