You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
The introduction to the architecture documentation lists the driving forces that software architects must consider in their decisions. This includes on the one hand the fulfillment of functional requirements of the stakeholders, on the other hand the fulfillment of or compliance with required constraints, always in consideration of the architecture goals.
Requirements Overview
Basic Usage
- A user configures the location (directory and filename) of an HTML file
- and the corresponding images directory.
HtmlSC performs various checks on the HTML and
reports its results either on the console or as HTML report.
HtmlSC can run from the command line or as Gradle-plugin.
Terminology: What Can Go Wrong in HTML Files?
Apart from purely syntactical errors, many things can go wrong in html, especially with respect to hyperlinks, anchors and id’s - as those are often manually maintained.
Broken Cross References:: Cross-references (internal links) can be broken, e.g. due to missing or misspelled link-target.
See BrokenCrossReferencesChecker.
Duplicate link targets: link-targets can occur several times with the same name - so the browser cannot know which is the desired target
See DuplicateLinkTargetsChecker.
Illegal links:: The links (aka anchors or URIs) can contain illegal characters or violate HTML link syntax.
See <<IllegalLinkChecker>>
Broken external links: External links can be broken due to myriads of reasons: misspelled, link-target currently offline, illegal link syntax.
See BrokenExternalLinksChecker.
Important terms (domain terms) of html sanity checking is documented in a (small) domain model.
Reporting and Output Requirements
Stakeholders
Table 6. StakeholderRole | Description | Goal/Intention | Type |
---|
aim42 contributor | contributes to aim42 methode-guide | check generated html code to ensure links and images are correct during (gradle-based) build process | role |
arc42 user | uses the arc42 template for architecture documentation | wants a small but practical example of how to apply arc42. | role |
Documentation author | writes documentation with Html output | wants to check that the resulting document contains good links, image references | role |
software developer | creates software and needs provide documentation for it | wants an example of pragmatic architecture documentation and arc42 usage | role |