按阶段划分:构造时/运行时视图
按动态性划分:时刻/阶段视图
按构造对象的层次划分:代码/构件视图
(1) Build-time, moment, and code-level view
词汇层面:Lexical-oriented source code
语法层面:Syntax-oriented program structure: e.g., Abstract Syntax Tree (AST)
语义层面:Semantics-oriented program structure: e.g., Class Diagram
(2) Build-time, period, and code-level view
Code churn 代码变化
(3) Build-time, moment, and component-level view
Source code are physically organized into fileswhich further are organized by directories;
Filesare encapsulated into packages and, logically, components and sub-systems.
Reusable modules are in the form of libraries.
(4) Build-time, period, and component-level view
Software Configuration Item (SCI,配置项)
Version (版本)
(5) Run-time, moment, and code-level view
Snapshot diagram: focusing on variable-level execution states in the memory of a target computer.
Memory dump: a file on hard disk containing a copy of the contents of a process's memory, produced when a process is aborted by certain kinds of internal error or signal.
(6) Run-time, period and code-level view
Sequence diagram in UML: interactions among program units (objects)
(7) Run-time, moment, and component-level view
Deployment diagram in UML
(8) Run-time, period, and component-level view
Event logging provides system administrators with information useful for diagnostics and auditing.