Search code examples
architecturereportklocwork

How to interpret klocwork architect reports?


I have generated a KlocWork Architect PDF report which gives a graphical representation of the java module / file relationship. But the graphical report contains numbers over the arrows. What I would like to know is how to interpret these numbers? Does the Arrow denote “Directed dependency between designated blocks”? Please correct me if I am wrong. Also, does the report give what all method/global variables are modified, and what all functions are affected with it?

Thanks in advance.


Solution

  • I work in Klocwork Support, and I answered a similar question on the Klocwork support forums as well, which may have also been from you.

    What the arrows denote really depends on the diagram or model you were viewing when you created the report, and the relationship types displayed at the time. The report summary section should explain which relationship types the report contains. By default Klocwork Architect always shows all relationships unless you've changed or customized the relationship profile you are using. The number beside the arrow is the number of relationships between the components, of the relationship types that are enabled.

    Depending on the entities and relationships being shown, Klocwork Architect can show whether variables or class members are read or written to. For the complete details please review the Supported Relationship types mentioned above, and the Supported Entity types.