8000 GitHub - inherd/coco at v0.3.0
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ coco Public

An effective DevOps analysis and auto-suggest tool。Coco 是一个研发效能分析工具,如团队发展现状(根据架构复杂度及行数变更)、团队演进、历史分析等。生成可视化报告及对应的改进建议。

License

Notifications You must be signed in to change notification settings

inherd/coco

Repository files navigation

Coco

Coco Build

(aka coconut, juice), an automatic DevOps metrics analysis tool.

Online Reporter Demo: https://inherd.github.io/coco/web/

Case Studies: Coco cases

Support OS: macOS, Windows, GNU/Linux

特性(features in Chinese):

  • 可交互式架构分析
  • 团队/项目健康值分析
  • 框架检测与分析
  • 云原生成熟度分析
  • 多项目并行分析
  • 分支生命周期和可视化
  • 改进建议(在线)

Usage

  1. install or download Coco
  2. create coco.yml in projects.
  3. config coco.yml
  4. run Coco
    • coco, gather data from source
    • visual, visualization of data
    • suggest, generate suggestion

coco.yml

配置 (config in Chinese)

示例:

# 代码库
repo:
  - url: https://github.com/coco-rs/coco.fixtures
  - url: https://github.com/coco-rs/coco.fixtures2
  - url: .
  - url: ~/clone/nginx

# 提交信息格式
commit-message:
  # default: conventional commit: (?<type>build)(?<scope>(?:\([^()\r\n]*\)|\()?(?<breaking>!)?)(?<subject>:.*)?
  # jira: ^(feature|fix)\/(([a-z,A-Z]+))(-)(\d*)(:)([a-z,0–9])
  # jira test case: feature/JIR-124:test commit message
  regex: ^(feature|fix)\/(([a-z,A-Z]+))(-)(\d*)(:)([a-z,0–9])
  matches:
    - branch
    - tag
    - id
  samples: feature/JIR-124:test commit message

Documents

Development

See in DEVELOPMENT.md

Online video

Bilibili: 研发效能分析工具 Coco 第一次线上讨论

Roadmap

analysis and reporter

analysis

  • git analysis
    • branch
    • changes
    • commits
  • cloc analysis
    • summary
    • file arch
  • framework analysis
  • architecture analysis
    • file/directory organization

reporter

  • html reporter
  • json output
  • query api?

suggest and case study

Tech

  • AST Parser: include_parser/mod.rs
  • Web Server: light_server.rs
  • CLI: visual.rs, coco.rs, suggest.rs

Todo

  • git analysis
  • cloc analysis
    • spike cloc tools Tokei
    • history cloc changes
    • commit cloc changes
  • framework analysis.
    • framework detector
    • merge from scie-detector
    • framework output
    • tech stack generate
    • cloud native
      • dockerfile analysis
  • module analysis
    • base framework for directory
      • gitignore support
    • code flower
    • include analysis
      • code parser: pest
      • languages support.
  • team analysis
    • join time & life time
      • 以加入时间开始度量平均提交:上手成本分析
      • 平均加入时长
      • 成员加入时间点
    • member growth
    • count system size & learning curve
    • micro services size
  • commit analysis
    • commit times analysis (hours)
    • rule regex support in config
    • participle(分词)
    • tags generate
  • suggestion API
    • document manage system
    • suggest to ledge
    • suggest to coco.server ?
    • online suggest
      • link daily checking
    • cases collection
    • architecture design rules
  • architecture
    • tech stack version check (more than 3 years ?)
      • Maven Center
      • NPM Server
      • Go Server
  • tools
    • tools config identify
    • tools suggest (identify old tools)
    • cloud-native config
  • third-party integration
    • jenkins api analysis
    • test coverage integration
  • case study
  • todo scan
  • multiple platform support
    • macOS
    • GNU/Linux
    • Windows
      • fix tests
      • make it works
  • C4 Model
    • graphviz call chain
      • symbol design - IsA, Use-In-The-Interface, Uses-In-The-Implementation
  • plugin
    • struct analysis
      • ctags
      • visual
    • swagger
    • coverage

Visual and Reporter

  • visual api
    • static files server
    • export assets
    • cli prompt for projects
    • query JSON API
    • CLI JSON API
  • visual web
    • spike d3.js code organization
    • typescript with frontend framework
      • use deno ?
    • architecture
    • git
      • branch history demo
    • commits in years/month
      • examples: gilot average committer in month
    • changes in years/month
    • graph support for velocity
      • code commits by daily
      • PR times by daily
    • story velocity
      • commit message analysis
      • story spend days
  • reporter
    • framework
    • cloc
    • git
    • architecture

DevOps pipeline

  • Jenkinsfile of Coco's examples

Tech Debt Integration

Documents

Refs: Libgit2 Documents

Thanks

PyCharm

License

ctags analysis based on https://github.com/dalance/ptags with MIT, see in src

@ 2020~2021 This code is distributed under the MIT license. See LICENSE in this directory.

About

An effective DevOps analysis and auto-suggest tool。Coco 是一个研发效能分析工具,如团队发展现状(根据架构复杂度及行数变更)、团队演进、历史分析等。生成可视化报告及对应的改进建议。

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 9

0