Skip to content

Commit 3723cf6

Browse files
authored
update graphs (#57)
Updated graphs, improved the page about graphs. Added tests for graphs (#3). Bugs fixed.
1 parent e7f0761 commit 3723cf6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+6626
-797
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This tool is written in [Go](https://golang.org/) and uses [NoVerify](https://gi
1414

1515
* [What is currently available?](#what-is-currently-available)
1616
* [Metrics](#metrics)
17-
* [Graph output](#graph-output-graphviz-format-and-svg)
17+
* [Graphs](#graphs-graphviz-format-and-svg)
1818
* [Relation](#relation)
1919
* [Tops](#tops)
2020
* [Install](#install)
@@ -45,21 +45,19 @@ This tool is written in [Go](https://golang.org/) and uses [NoVerify](https://gi
4545
6. `Cyclomatic Complexity`;
4646
7. `Count of magic numbers in functions and methods`.
4747

48-
### Graph output (Graphviz format and svg)
48+
### Graphs (Graphviz format and svg)
4949

50-
1. File dependencies, both root and included inside functions;
50+
1. Class (or interface) dependencies;
5151

52-
2. Class dependencies;
52+
2. Class (interface) extend and implementation dependencies;
5353

54-
3. Function/method dependencies;
54+
3. Function or method dependencies;
5555

56-
4. All project namespaces;
56+
4. Links within a class (or graph for the LCOM 4 metric);
5757

58-
5. Specific namespace and its child namespaces;
58+
5. Links between files (included in global and in function).
5959

60-
6. LCOM4.
61-
62-
See [examples of graphs.](doc/graphs.md)
60+
See [building graphs](doc/graphs.md) for details.
6361

6462
### Relation
6563

@@ -139,7 +137,7 @@ To **view the metrics**, use the `info` command, which **shows information** abo
139137

140138
For command information, write `info help`.
141139

142-
### Graph output (Graphviz format and svg)
140+
### Building Graphs
143141

144142
To **build graphs**, use the `graph` command. The `-o` flag is required and sets the file in which the graph will be placed.
145143

@@ -152,6 +150,8 @@ When creating a graph, two files are created, one with the source code of the gr
152150

153151
For command information, write `graph help`.
154152

153+
See [building graphs](doc/graphs.md) for details.
154+
155155
### Relation
156156

157157
To check the reachability of a function from another function, use the `relation` command.

0 commit comments

Comments
 (0)