Giter VIP home page Giter VIP logo

codestatistics's Introduction

codestatistics

git code statistics

需求是统计git的代码量 其实有很多工具可以实现,不过工具都是直接生成统计文档,和需求不符,就自己实际试了下 首先是找到git log命令,支持shell命令,不过在windows上的cmd命令中运行会很多报错 所以首先是尝试可以执行的git log,写成bat脚本的话,可以windows计划任务,定时执行 生成的就是一个代码提交记录的简单文档,如果需要详细的可以自己该命令

接下来就是java里面I/O操作了,读取文档,存入数据库 我使用了sqlite,就简单的存入数据库,后续可以读取展示到页面就可以了

codestatistics's People

Contributors

nielsony avatar

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.