Editing Cloc

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 2: Line 2:
  
 
{{Infobox_tool
 
{{Infobox_tool
|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.
+
|purpose= Cloc Count Lines of Code
 
|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''
 
  
 
You can also analyse all files in certain folder, the syntax is like this:
 
You can also analyse all files in certain folder, the syntax is like this:

Please note that all contributions to COPTR are considered to be released under the Attribution-ShareAlike 3.0 Unported (see COPTR:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)