II.5 Building Block View
The building block view explains and divides the static decomposition of the system into building blocks (modules, components, subsystems, and packages) and their relationships. It shows the overall structure of the source code.
This view is organized in a top-down hierarchy.
5.1 HtmlSanityChecker (Whitebox)
The following diagram shows the whitebox:
Figure 2.10: Whitebox (HtmlSC)
Rationale: We used functional decomposition to separate responsibilities:
- HSC Core will encapsulate checking logic and HTML parsing/processing.
- Plugins and GraphicalUI encapsulate all usage aspects
Contained Blackboxes
The following table shows the list of building blocks of HtmlSC whitebox:
Figure 2.11: Contained backboxes
5.2 Building Blocks – Level 2
5.2.1 HSC Core (Whitebox)
The following diagram shows the HSC Core (whitebox):
Figure 2.12: HSC-Core (whitebox)
The internal structure of HSC Core follows a functional decomposition, as follows...