software development life cycle
Waterfall model
-
It divides the whole process into specific stages, and the sequence is fixed. -
Each stage should have a clear output as the input of the next stage. If problems occur in the next phase, rework is required to return to the previous phase.
V type
Incremental
Evolutionary type and fountain type
Spiral
-
draw up a plan -
risk analysis -
Implementation works -
Customer evaluation
prototype
RUP
The full name is Rational Unified Process.
Translation is a unified process model.
-
Business Modeling -
Requirements -
Analysis&Design -
Implementation -
Test -
Deployment -
Configuration&Change Mgmt -
Project Management -
Environment
Reference link
What is UML?
UML composition
UML basic building blocks
Things can be understood as graphic symbols/elements, which graphic symbols are there, and what is the meaning of each graphic symbol -
Technical elements: interface, active class, use case, collaboration, component, node, class, and object -
Behavior elements: Interaction, Statemachine -
Grouping element: Package represents the collection of some classes -
Annotation element: used to add appropriate explanation parts to the UML model.
-
-
The relationship between things, several graphic symbols need to be connected directly with lines. The dotted line or the solid line are both specified: association, generalization, realization, dependence -
Graph, graph=thing+relationship, graph itself can be regarded as a whole, and become a graphical symbol to connect with another graph
UML Rules
-
Naming: each graphic symbol must have a name -
Scope: similar to the scope of a class -
Visibility: Public, Protected,Private,Package
Public mechanisms
-
description -
Decoration: Each element in the UML notation has a basic symbol, and various decoration details can be added to this symbol. For example: + On behalf of public - On behalf of private # On behalf of protect, etc. Use italics to represent abstract classes. -
Extension mechanism
Classification of UML diagrams
Use Case Diagram
It is used to describe how users use a system. It is a model diagram of system functions that users can observe and use.
Constituent elements
-
role -
Use Case (i.e. a function of the system) -
relationship
Class diagram
It is used to describe the classes in the system and the relationship between each class
component
[Object Diagram] ()
The object graph describes the relationship between a group of objects, not the relationship between classes. It is a variant of the class diagram, but it is different from it. Means on At a certain moment Of these classes Specific instances and specific connections between these instances 。 (The object is the instantiation of a class)
component
-
Object name: class name -
: Class name -
Object Name
Activity diagram
Essentially, it is a flow chart that describes the sequence of activities, that is, the control flow of the system from one activity to another
It is used to describe use cases and class operations
state diagram
Describe the possible states of an object and the transfer (A state is a stage of an object's life cycle, in which the object must meet some specific conditions and can engage in specific activities.)
Sequence diagram
Describe between objects Time sequence of message delivery , is used to represent the sequence of actions in the use case
Collaboration Diagram
By sending and receiving messages between objects Collaboration 。
Component diagram (component diagram)
It is used to describe the relationship between various components in the system to provide services. (A component is an entity that can provide some functions (interfaces). It is a physical concept.)
Deployment diagram
It describes the structure of the system runtime, and shows the hardware configuration and how the software is deployed to the network structure. One system model has only one deployment diagram Deployment diagrams are often used to help understand distributed systems.
Module independence
cohesion
coincidental cohesion
Logical cohesion
time cohesion
Procedural Cohesion
Communication Cohesion
Functional Cohesion
informational cohesion
coupling
Indirect coupling
Data coupling
Tag Coupling
Control coupling
External coupling
Public coupling
Content coupling
software test
Black box test
-
Equivalence class division -
Boundary value analysis -
Error conjecture -
Cause and effect diagram method
White box test
-
Logical overlay -
Basic path test -
Control structure test
software design
Scope of function and control of the module
Data Flow Diagram and Data Dictionary
Data flow diagram (4 parts)
-
data stream -
machining -
data storage -
External Entity
Data dictionary (5 parts)