Skip to content
Snippets Groups Projects
Commit 2b1ca198 authored by Lars Bilke's avatar Lars Bilke Committed by Tom Fischer
Browse files

Added cpp-dependencies config.

See https://github.com/tomtom-international/cpp-dependencies

Example output:

$ cpp-dependencies --stats .
21 components with 42 public dependencies, 59 private dependencies
Detected 7 nodes in cycles

Graph generation:

$ cpp-dependencies --graph dependencies.dot; dot -Tpng dependencies.dot
>dependencies.png
parent 282e1839
No related branches found
No related tags found
No related merge requests found
# Configuration file for cpp-dependencies
# This is the example file that has all the default values listed.
# Version that was current when this configuration file was written
# Used to prevent a newer version with possibly incompatible generation from overwriting
# cmakefiles automatically.
versionUsed: 2
# Company name to use in generated CMakeLists' copyright statement.
companyName: OpenGeoSys Community (www.opengeosys.org)
# Tag used in generated CMakeLists. Don't change unless you also update your CMakeLists.
regenTag: GENERATED BY CPP-DEPENDENCIES
# The next three items describe colors that will appear in the output graphs. Ensure you
# use colors that the tools you will be using on the graphs understand.
# Color used for cycles in the generated graphs
cycleColor: red
# Color used for public dependencies in the generated graphs
publicDepColor: blue
# Color used for private dependencies in the generated graphs
privateDepColor: lightblue
# Upper bound for the amount of outgoing component links from a single component.
componentLinkLimit: 30
# Lower bound for amount of code in a single component. Used to flag "empty" components.
componentLocLowerLimit: 200
# Upper bound for amount of code in a single component. Used to flag oversized components,
# which typically harbor god class like behaviour, and hold multiple responsibilities.
componentLocUpperLimit: 20000
# Upper bound for file size. Large files are hard to understand and often contain multiple
# logical units, which are then easy to mix up and conflate.
fileLocUpperLimit: 2000
# List of folder paths (from the root) that should be completely ignored. May contain multiple
# space-separated values, including values with spaces escaped with quotation marks.
blacklist: build Build "Visual Studio Projects" unistd.h console.h stdint.h windows.h library.h endian.h rle.h ThirdParty/logog/include/thread.hpp Applications/Utils SimpleTests ThirdParty
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment