Code Monkey home page Code Monkey logo

quality-time's Introduction

Quality Time

codecov

This project is a CLI used to gain insight on your code.

It is based on Churn (number of tome a file was edited) and complexity (Cyclomatic complexity: number of branch in a function)

Goals

Provide simple actionable metric.

Usages

After launching the CLI in TUI mode, you can escape using q. Thi will maybe change in the future.

Command line tool to generate actionable metrics for priorizing refactors on your rust project
Usage: quality-time.exe [OPTIONS] --project-path <PROJECT>

Options:
  -o, --output <OUTPUT>
          Output style of the CLI

          Possible values:
          - std-out: Print the results in the terminal as a human readable table
          - tui:     DIsplay the results with a graph in a terminal application

  -p, --project-path <PROJECT>
          The path of the repository to analyse

  -h, --help
          Print help information (use `-h` for a summary)

  -V, --version
          Print version information

Todos

  • Add all the tests
  • Use local error type instead of expects
  • Add ignoring file possible
  • Add repo path configurable
  • Support more langages
  • Add time range configurable
  • Add shortcut display in TUI
  • Add marks on the axis for the selected file

CHANGELOGS

quality-time's People

Contributors

kaendor avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

quality-time's Issues

$ cargo install quality-time # FAILS

$ cargo install quality-time
(...)
   Compiling git-quote v0.4.2
error[E0282]: type annotations needed
   --> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/git-glob-0.5.4/src/wildmatch.rs:248:62
    |
248 | ...   let class = &pattern.as_ref()[p_idx + 2..closing_bracket_idx - 1];
    |                            ^^^^^^
    |
help: try using a fully qualified path to specify the expected types
    |
248 |                                         let class = &<BStr as AsRef<T>>::as_ref(pattern)[p_idx + 2..closing_bracket_idx - 1];
    |                                                      +++++++++++++++++++++++++++  

cross-reference: Byron/gitoxide#1302

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.