ohcount

Skip to end of metadata
Go to start of metadata

Summary

Purpose Analyses plain text files, looking for code (scripting languages etc.)
Homepage
https://github.com/blackducksw/ohcount
License
GNU General Public License Version 2
Debian Package http://packages.debian.org/stable/ohcount
On Ohloh http://www.ohloh.net/p/ohcount

Description

A summary of the tool, focussing on aspects useful for digital preservation.

User Experiences

e.g. links to AQuA/SCAPE/Hackathon issues that use the tool

Use ohcount to detect source code text files

NOTE that although it has some clever built-in parser stuff, it doesn't get the right answer unless the file extension is correct. If you feed it a file with the wrong extension (I swapped JS for C) then it still reports all the text as being JavaScript.

This indicates that a Bayesian approach is probably required: http://stackoverflow.com/questions/475033/detecting-programming-language-from-a-snippet;

News Feeds

Release Feed

Link to any RSS feed that is updated when new releases occur, if any, e.g:

rss: javax.net.ssl.SSLException: Received fatal alert: protocol_version

Activity Feed

Link to any RSS feed that is updated when issue or code updates occur, if any, e.g:

rss: javax.net.ssl.SSLException: Received fatal alert: protocol_version
Labels:
tool tool Delete
gplv2 gplv2 Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.