Skip to content

Commit e1e20f0

Browse files
committed
Updated guide and example
1 parent c9d31ce commit e1e20f0

18 files changed

+11
-12
lines changed

docs/GUIDE.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The example below is an excerpt from the example available [here](../swift_code_
2626
"noi": 1,
2727
"analysis": "The code is under commented. Zone of Pain. Highly stable and concrete component - rigid, hard to extend (not abstract). This component should not be volatile (e.g. a stable foundation library such as Strings).",
2828
"dependencies": [
29-
"FoundationFramework(2)"
29+
"FoundationFramework(1)"
3030
],
3131
"fan_in": 1,
3232
"fan_out": 1,
@@ -117,13 +117,13 @@ In addition:
117117

118118
The `--generate-graphs` option will output the following reports:
119119

120-
| Components coupling |
121-
|:---------------------------------------------------------------------------:|
122-
| ![Dependency graph](assets/dependency_graph.jpg) |
123-
| Dependency graph, with number of imports of _destination_ from _origin_ . |
124-
| ![Distance from main sequence](assets/deviation_from_the_main_sequence.jpg) |
125-
| Distance of a library from the ideal domain. |
120+
| Components coupling |
121+
|:----------------------------------------------------------------------------:|
122+
| ![Dependency graph](assets/dependencies_graph.jpeg) |
123+
| Dependency graph, with number of imports of _destination_ from _origin_ . |
124+
| ![Distance from main sequence](assets/deviation_from_the_main_sequence.jpeg) |
125+
| Distance of a library from the ideal domain. |
126126

127-
| Code distribution |
128-
|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
129-
| ![LOC](assets/lines_of_code_-_loc.jpg) ![NOC](assets/number_of_comments_-_noc.jpg) ![Nc](assets/n._of_classes_and_structs.jpg) ![Nbm](assets/n._of_methods_-_nbm.jpg) ![NOT](assets/number_of_tests_-_not.jpg) ![Code distribution](assets/code_distribution.jpg) |
127+
| Code distribution |
128+
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
129+
| ![LOC](assets/lines_of_code_-_loc.jpeg) ![NOC](assets/number_of_comments_-_noc.jpeg) ![Nc](assets/n._of_classes_and_structs.jpeg) ![NOT](assets/number_of_tests_-_not.jpeg) ![Code distribution](assets/code_distribution.jpeg) |

docs/assets/code_distribution.jpeg

19.1 KB
Loading

docs/assets/code_distribution.jpg

-18.4 KB
Binary file not shown.
15.1 KB
Loading

docs/assets/dependency_graph.jpg

-10.1 KB
Binary file not shown.
26.8 KB
Loading
20.3 KB
Loading
-17.9 KB
Binary file not shown.
21.9 KB
Loading
-20.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)