Difference between revisions of "Cloc"

From COPTR
Jump to: navigation, search
Line 2: Line 2:
  
 
{{Infobox_tool
 
{{Infobox_tool
|purpose= Cloc Count Lines of Code
+
|purpose= Cloc (Count Lines of Code) serves not only to count the lines of Code,but also guesses the programming language, thus can be used to identify files. It is a command line tool which is easy to use.
 
|image={{PAGENAMEE}}.png
 
|image={{PAGENAMEE}}.png
 
|homepage=[https://github.com/AlDanial/cloc CLOC in GitHub]
 
|homepage=[https://github.com/AlDanial/cloc CLOC in GitHub]
Line 22: Line 22:
 
== Description ==
 
== Description ==
 
<!-- Describe the what the tool does, focusing on it's digital preservation value. Keep it factual. -->
 
<!-- Describe the what the tool does, focusing on it's digital preservation value. Keep it factual. -->
 +
Start the command line from the folder which contains the CLOC exe file.
 +
 +
Type:
 +
 +
''cloc-1.78.exe D:/Folder/fileToAnalyse''
 +
 +
The findings are shown in the black window. Alternatively, you can have an output file
 +
 +
''cloc-1.78.exe D:/Folder/fileToAnalayse > outputfile.txt''
  
 
== User Experiences ==
 
== User Experiences ==

Revision as of 14:08, 24 September 2018




Cloc
Cloc (Count Lines of Code) serves not only to count the lines of Code,but also guesses the programming language, thus can be used to identify files. It is a command line tool which is easy to use.
Homepage:CLOC in GitHub
License:GNU General Public License v2.0




Description

Start the command line from the folder which contains the CLOC exe file.

Type:

cloc-1.78.exe D:/Folder/fileToAnalyse

The findings are shown in the black window. Alternatively, you can have an output file

cloc-1.78.exe D:/Folder/fileToAnalayse > outputfile.txt

User Experiences

Development Activity


Contributors

Yfriese (100.0%)