分析简单是指对事物的结构、要素、系统需求进行详细、有条不紊的研究或考察。结构化分析和面向对象分析对于软件开发都很重要,也是软件工程中使用的分析技术。但两者互不相同。
1.结构化分析:
结构化分析是一种开发方法,它允许并允许分析师以合乎逻辑的方式理解和了解系统及其所有活动。它只是一个用于指定应用程序呈现方式的图形。
例子 –
2.面向对象分析:
面向对象分析(OOA)是一种技术方法,通常用于分析和应用程序设计,系统设计,甚至业务设计,只需应用面向对象编程,甚至在整个开发过程中使用可视化建模,只是简单地指导利益相关者产品的沟通和质量。它实际上是一个发现过程,在这个过程中,开发团队了解系统的所有需求并对其进行建模。
例子 –
结构化分析和面向对象分析的区别:
Structured Analysis | Object-Oriented Analysis |
---|---|
The main focus is on process and procedures of system. | The main focus in on data structure and real-world objects that are important. |
It uses System Development Life Cycle (SDLC) methodology for different purposes like planning, analyzing, designing, implementing, and supporting an information system. | It uses Incremental or Iterative methodology to refine and extend our design. |
It is suitable for well-defined projects with stable user requirements. | It is suitable for large projects with changing user requirements. |
Risk while using this analysis technique is high and reusability is also low. | Risk while using this analysis technique is low and reusability is also high. |
Structuring requirements include DFDs (Data Flow Diagram), Structured English, ER (Entity Relationship) diagram, CFD (Control Flow Diagram), Data Dictionary, Decision table/tree, State transition diagram. | Requirement engineering includes Use case model (find Use cases, Flow of events, Activity Diagram), the Object model (find Classes and class relations, Object interaction, Object to ER mapping), Statechart Diagram, and deployment diagram. |
This technique is old and is not preferred usually. | This technique is new and is mostly preferred. |