DiffStats analyzes diff files. It counts lines of code added, deleted and moved. It was designed for Java code, but will work with other languages, like C++. It ignores blank lines and comment line, if they start with a //, /* or *.
This project was made to complete another project because I was unable to find anything else like it. I posted it to see if anyone else had interest. So I would appreciate it if anyone who has tried this project would please post a review. I understand this is a very simple project, but if there is interest, I would expand it.
Categories
Build ToolsFollow DiffStats
Other Useful Business Software
Stay in Flow. Let Zenflow Handle the Heavy Lifting.
Zenflow is your engineering control center, turning specs into shipped features. Parallel agents handle coding, testing, and refactoring with real repo context. Multi-agent workflows remove bottlenecks and automate routine work so developers stay focused and in flow.
Rate This Project
Login To Rate This Project
User Reviews
-
I like the code and very useful for us to submit number of lines added between commits. But i am not very sure the logic works correctly. My requirement is to calculate number of lines newly added, number of lines got modified, number of lines removed. But i could get number of lines added, but number of lines deleted is not accurate as it includes the modified lines also as part of deleted.