HTTPS SSH

Overview

ohconvert integrates ohcount into Hudson.

This script invokes ohcount, parses its output and converts it into the format understood by the SLOCCountPlugin for Hudson. This is equivalent to calling sloccount with the options:

sloccount --duplicates --wide --details path ...

Prerequisites

You need to have ohcount 3.0.0 or later installed and it needs to be directly executable from the path. You can check by calling ohcount --help. ohcount can be built manually or is available from some system package management tools. For example it's available as ohcount in the latest macports.

Usage

::

ohconvert path ...

Output Hudson SLOCCountPlugin compatible data collected with ohcount.

Options:
-h, --help show this help message and exit
-o sloccount.sc, --output=sloccount.sc
Output filename (instead of stdout)

Development

The source code can be found at: http://bitbucket.org/hannosch/ohconvert/