7 tools for visualizing a codebase

Photo by Hanna Morris on Unsplash

Visualize files by size and type

Visualize Docker Compose files

docker run \--rm \-it \--name dcv \-v $(pwd):/input pmsipilot/docker-compose-viz render \-m image docker-compose.yml

Visualize call graphs

code2flow code2flow/engine.py code2flow/python.py --target-function=code2flow --downstream-depth=3
pyan *.py --uses --no-defines --colored --grouped --annotated --svg >myuses.svg

Visualize dependencies

bazel query 'deps(//:main)' --output graph > dependencies.in
dot -Tpng < dependencies.in > dependencies.svg
pipdeptree --graph-output svg > dependencies.svg
mvn com.github.ferstl:depgraph-maven-plugin:graph

I want more interactivity!

  • Gource: A locally-run software.
  • CodeSee: A cloud service that offers paid plans.

--

--

--

Tech writer with creative analogies. Website: https://myli.page | Donate: https://ko-fi.com/mingyli

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Reactive Programming Made Simple Part 2

SSD Firmware Development — Part 3 — Addressing

Laravel API — Repository Pattern (Make Your Code More Structured)- The Simple Guide

Key Performance Indicators (KPI’s) of Robotic Process Automation

Metaplex Candy Machine + Custom SPL Token

Writing a shell script to automate running multiple services/tasks in different terminals in macOS

Shell script example output opening a new terminal window and ran echo command in newly opened window .

“ls *.c” -What does that do?

Go Modules: Versioning & Dependency management

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ming

Ming

Tech writer with creative analogies. Website: https://myli.page | Donate: https://ko-fi.com/mingyli

More from Medium

Summary of “Clean code”​ by Robert C. Martin

Eight tips to Write Functions like a Senior Developer

8 best opensource projects you should try out

What Are No Code Solutions?