codecharta icon indicating copy to clipboard operation
codecharta copied to clipboard

Import edges from csv

Open ukinimod opened this issue 4 years ago • 3 comments

Import edges from csv

Many tools use csv as output format. Some of them, e.g. code-maat include dependency-information in them. Also the cc.json format for edges is quite cumbersome. It would be super cool if the CSVImporter could also read this information out of the csv.

Description

As a developer, I want to specify edges in csv so that I can import them easily.

Acceptance criteria

  • Given a csv with header "path, to_path" i want to create a cc.json with all path and to_path nodes and edges corresponding to the csv.

ukinimod avatar Nov 12 '21 09:11 ukinimod

Right now we are rethinking of how we want edge metrics to look and be used. 👍 . So it probably has a better chance to come in the future.

ChristianHuehn avatar May 10 '24 12:05 ChristianHuehn

As we want to use https://github.com/MaibornWolff/metric-gardener in the future, we wont add more support to codemaat atm.

ChristianHuehn avatar Jun 03 '24 08:06 ChristianHuehn

@ChristianHuehn I think we should actually not drop this. There are other use cases than just our code metrics that CC is used for and other tools can easily integrate their metrics that way. I am therefore going to reopen this.

BridgeAR avatar Jun 03 '24 14:06 BridgeAR