CodeCharta

CodeCharta 是一款可视化工具,可将复杂的软件架构和代码指标转化为交互式、可定制的可视化地图,让每个人都能交流和分析代码库。改进代码质量、可维护性和架构决策。「CodeCharta is a visualization tool that transforms complex software architecture and code metrics into interactive, customizable visual maps, empowering everyone to communicate and analyze your codebase. Improve code quality, maintainability, and architectural decisions」

Github星跟蹤圖

CodeCharta

Build Status
Quality Gate Analysis
Quality Gate Visualization

CodeCharta by MaibornWolff

What is CodeCharta

CodeCharta is a beautiful tool to help you visualize and understand code. It can combine code metrics from multiple sources and visualize them using 3D tree maps. CodeCharta's two major parts are:

  • analysis: Command-Line-Tool for generating visualization data in the form of .cc.json files. It includes some pre-defined importers for e.g. SonarQube, SourceMonitor, SCM log information, generic csv data, as well as a command to validate and merge multiple data files.
  • visualization: GUI for visualizing the code metrics inside the .cc.json files. The file schema is located here and we are using the json-schema v4 format.

Screenshot of visualization

Usage

You can try the web visualization without any installation and explore the CodeCharta code (shown by default).

The visualization takes a .json file and to generate a new one you need to install the CodeCharta shell (ccsh). The are multiple ways to do so including non-global install. We'll use npm here because it is the most convenient:

npm i -g codecharta-analysis

For this example we'll also assume you want to analyze Junit4. CodeCharta is not limited to java code though.

# Download code base of your choice
git clone https://github.com/junit-team/junit4
# parse sources
ccsh sourcecodeparser junit4 -p junit4 -o junit4.source.cc.json
# done :)

You can now load this file (top left corner) either in the web or the local visualization:

npm i -g codecharta-visualization
  • If you want to analyze a different language or combine java metrics with git metrics, you should take a look at our Quick-Start Guide.
  • If you want to go further we have multiple how-tos. For example they'll explain how to integrate CodeCharta into your delivery pipeline.
  • If you want to know more about the ccsh api, please check the ccsh docs.

Feature request / Bug / Feedback

Have a bug, a feature request or any question? Please open a new issue. Feedback is always welcome.

Want to know what we are working on? Please click this Zenhub link or install the Zenhub Firefox/Chrome plugin.

Want to have even more information? Please check our news.

Further Information

Tool Information

主要指標

概覽
名稱與所有者MaibornWolff/codecharta
主編程語言TypeScript
編程語言JavaScript (語言數: 18)
平台
許可證BSD 3-Clause "New" or "Revised" License
所有者活动
創建於2017-03-14 05:59:13
推送於2025-08-07 15:04:26
最后一次提交
發布數255
最新版本名稱ana-1.135.1 (發布於 )
第一版名稱1.0.0 (發布於 2017-03-17 16:39:35)
用户参与
星數322
關注者數12
派生數41
提交數10.1k
已啟用問題?
問題數1528
打開的問題數128
拉請求數2227
打開的拉請求數2
關閉的拉請求數391
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?