All Projects → nikolaydubina → import-graph

nikolaydubina / import-graph

Licence: MIT License
🕵🏻‍♂️ Collect data about your dependencies

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to import-graph

rust-code-analysis
Library to analyze and collect metrics on source code
Stars: ✭ 171 (+388.57%)
Mutual labels:  source-code-analysis
deusexmachina
Game engine evolved from The Nebula Device 2 and 3
Stars: ✭ 15 (-57.14%)
Mutual labels:  tools
kmm-awesome
An awesome list that curates the best KMM libraries, tools and more.
Stars: ✭ 598 (+1608.57%)
Mutual labels:  tools
android-source-codes
⚙️ Code analysis of common Android projects and components.
Stars: ✭ 59 (+68.57%)
Mutual labels:  source-code-analysis
biobakery
bioBakery tools for meta'omic profiling
Stars: ✭ 142 (+305.71%)
Mutual labels:  tools
mozitools
Mozi Botnet related tools helping to unpack a sample, decode a configuration and track active Mozi nodes using DHT.
Stars: ✭ 23 (-34.29%)
Mutual labels:  tools
objc-runtime-CN
Objective-C Runtime Analysis (Objective-C运行时分析)
Stars: ✭ 28 (-20%)
Mutual labels:  source-code-analysis
go-namecheck
Source code analyzer that helps you to maintain variable/field naming conventions inside your project.
Stars: ✭ 37 (+5.71%)
Mutual labels:  source-code-analysis
EmbeddedTools
Additions to the model-based DSL for deploying Java and Native projects to remote targets
Stars: ✭ 14 (-60%)
Mutual labels:  tools
HITMers
Management system for Harbin Institute of Technology Museum
Stars: ✭ 70 (+100%)
Mutual labels:  tools
codeprep
A toolkit for pre-processing large source code corpora
Stars: ✭ 39 (+11.43%)
Mutual labels:  source-code-analysis
awesome-web-online-tools
Many many useful Web Online Tools For Web Developers&Programmers
Stars: ✭ 13 (-62.86%)
Mutual labels:  tools
reactools
Create React interfaces is easy.
Stars: ✭ 14 (-60%)
Mutual labels:  tools
JPlag
Detecting Software Plagiarism and Collusion since 1996.
Stars: ✭ 674 (+1825.71%)
Mutual labels:  source-code-analysis
LSAdditions
The Category of Commonly used controls and you can create a control quickly(Object, Control ...)
Stars: ✭ 15 (-57.14%)
Mutual labels:  tools
get-source
Fetch source-mapped sources. Peek by file, line, column. Node & browsers. Sync & async.
Stars: ✭ 26 (-25.71%)
Mutual labels:  source-code-analysis
AppWorks
🐻 基于 VS Code 插件的前端研发工具集,站点国内镜像:https://apptools.gitee.io
Stars: ✭ 788 (+2151.43%)
Mutual labels:  tools
prjxray-db
Project X-Ray Database: XC7 Series
Stars: ✭ 52 (+48.57%)
Mutual labels:  tools
FisherMan
CLI program that collects information from facebook user profiles via Selenium.
Stars: ✭ 117 (+234.29%)
Mutual labels:  tools
hack-tools
"Кали-заменитель". Располагает в себе большое количество утилит для взлома.
Stars: ✭ 39 (+11.43%)
Mutual labels:  tools

Collect data about your dependencies

Tests Go Report Card

$ go install github.com/nikolaydubina/jsonl-graph@latest
$ go install github.com/nikolaydubina/import-graph@latest
# and get https://graphviz.org/download/

Features

  • Go modules, runs tests, detects tests and benchmarks
  • git log
  • goreportcard.com
  • codecov.io
  • Analyzes README.md
  • Checks if mentioned in Awesome lists
  • GitHub Stars
  • GitHub verified Organizations
  • reuse go get and go list to get code loaded by native Go routines
  • ... add yours here

Example

$ go mod graph | import-graph -i=gomod | jsonl-graph -color-scheme=file://$PWD/basic.json | dot -Tsvg > output.svg

gin-example

Output in JSONL graph

$ go mod graph | import-graph -i=gomod
{"id":"golang.org/x/net","can_get_gitstats":true,"can_get_codecov":false, ... }
...
{"from":"github.com/gin-gonic/gin","to":"github.com/gin-contrib/sse"}
{"from":"github.com/gin-gonic/gin","to":"github.com/go-playground/validator/v10"}

Pretty-print with jq

$ go mod graph | import-graph -i=gomod | jq -f
...
{
    "id": "github.com/gin-gonic/gin",
    "can_get_git": true,
    "can_get_codecov": true,
    "can_get_goreportcard": true,
    "can_run_tests": true,
    "github_url": "https://github.com/gin-gonic/gin",
    "git_url": "https://github.com/gin-gonic/gin",
    "git_last_commit": "2021-04-21",
    "git_last_commit_days_since": 3,
    "git_num_contributors": 321,
    "codecov_url": "https://app.codecov.io/gh/gin-gonic/gin",
    "codecov_files": 41,
    "codecov_lines": 2036,
    "codecov_coverage": 98.67,
    "gotest_has_tests": true,
    "gotest_all_tests_passed": true,
    "gotest_num_packages": 6,
    "gotest_num_packages_with_tests": 4,
    "gotest_num_packages_tests_passed": 4,
    "gotest_package_coverage_avg": 98.9,
    "goreportcard_average": 0.99,
    "goreportcard_grade": "A+",
    "goreportcard_files": 82,
    "goreportcard_issues": 6,
    "files_has_benchmarks": true,
    "files_has_tests": true
    ...
}
...

Notes

For GitHub you need to set to set in environment GITHUB_IMPORT_GRAPH_TOKEN to your personal GitHub token. It does not need any permissions at all. It is needed for higher quota of GitHub API calls.

Related Projects

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].