Sign inSign up

xcnt/cloc-sloccount-wrapper

By xcnt

•Updated over 6 years ago

A cloc builder who puts is output in a cloc.xml and a compatible sloccount.sc

Image
0

2.2K

xcnt/cloc-sloccount-wrapper repository overview

This is a small helper docker image which allows to create cloc based reports and convert them into the sloccount wrapper.

Execution:

docker run -v $(pwd):/data xcnt/cloc-sloccount-wrapper:stable --exclude-d vendor .

This will execute the cloc script with the passed parameters and output a "cloc.xml" and a sloccount compatible "sloccount.sc" in the current working directory.

At XCNT this script is used to implement a simple LOC check in the Jenkins pipeline via the SLOCCount Plugin⁠.

Tag summary

Content type

Image

Digest

Size

13.4 MB

Last updated

over 6 years ago

docker pull xcnt/cloc-sloccount-wrapper:stable