分析是研究或检查事物的结构,元素,系统要求的详细信息和系统方法的简单方法。结构化分析和面向对象的分析对于软件开发都很重要,并且是软件工程中使用的分析技术。但是两者互不相同。
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. |