SkillAgentSearch skills...

Codelinestatistics

The code line statistics takes files and directories from GUI, counts the total files, total sizes of files, total lines, lines of codes, lines of comments and lines of blanks in the files, displays the results and can also export results to html file.

Install / Use

/learn @flyerhzm/Codelinestatistics
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

codelinestatistics README file:


What is codelinestatistics ?

This is a project for code line statistics. It is written by ruby and provides a GUI (use FOX) for end user. Now it can count a lot of file types, including .c, .cpp, .css, .html, .java, .js, .jsp, .php, .properties, .py, .rhtml, .rb, .xml, .yml. And it will parse the other file types future. Now you can use parser map to extend the app. For example, the comment rule of .h and .cpp files are same, so you can order the app use .cpp parser to parse .h file. The GUI provides visualized results, which is divided into two parts. One is the total results including total files, total sizes of files, total lines, total lines of codes, total lines of comments and total lines of blanks. The other is a table which displays details information about each file, the information is composed of file name, directory name, total lines, code lines, comment lines, blank lines and file type. The visualized results can be also exported to a .html file. Besides these, it provides a dialog to customize. For example, the trailing comment line can be treated as a code line, a comment line or a code line plus a comment line.


What are the sytem requirements ?

o Ruby (http://www.ruby-lang.org) o FxRuby (http://www.fxruby.org/)


How to compile/install ?

First, make sure Ruby is properly installed. Second, install RubyGems (optional) Third, install fxruby Last, in the base directory of the project and type 'ruby init.rb' or 'rake'

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated4y ago
Forks0

Languages

Ruby

Security Score

70/100

Audited on Jun 17, 2021

No findings