Notices: This section not yet converted to new layout. Download stats are rolling back out.

Count Lines of Code (CLOC)

1.72

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 9/9/2017.

Cloc counts blank lines, comment lines, and physical lines of source code in many programming languages. Given two versions of a code base, cloc can compute differences in blank, comment, and source lines. It is written entirely in Perl with no dependencies outside the standard distribution of Perl v5.6 and higher (code from some external modules is embedded within cloc) and so is quite portable.

To install Count Lines of Code (CLOC), run the following command from the command line or from PowerShell:

C:\> choco install cloc

To upgrade Count Lines of Code (CLOC), run the following command from the command line or from PowerShell:

C:\> choco upgrade cloc

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $tools = Split-Path $MyInvocation.MyCommand.Definition
    $content = Join-Path (Split-Path $tools) 'content'
    $legacy = Join-Path $content 'cloc-*.exe'
    $target = Join-Path $content 'cloc.exe'
    
    New-Item -Path $content -Type 'Directory' -Force | Out-Null
    
    # Remove legacy executables (from before we renamed the web file)
    Remove-Item -Path $legacy -Force | Out-Null
    
    Get-ChocolateyWebFile `
        -PackageName 'cloc' `
        -Url 'https://github.com/AlDanial/cloc/releases/download/v1.72/cloc-1.72.exe' `
        -Checksum 'CDBBBA435649FF6EFBCEB2824BC1404091FCF09D78547507DEE4BB3E3AB841DF' `
        -ChecksumType 'SHA256' `
        -FileFullPath $target
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • Al Danial

Tags

Release Notes

https://github.com/AlDanial/cloc/releases/download/v1.72/release_notes-1.72.txt

Version History

Version Downloads Last updated Status
Count Lines of Code (CLOC) 1.70 12 Thursday, September 7, 2017 approved
Count Lines of Code (CLOC) 1.68 11 Thursday, September 7, 2017 approved
Count Lines of Code (CLOC) 1.66 1094 Thursday, May 26, 2016 approved
Count Lines of Code (CLOC) 1.62 631 Thursday, September 11, 2014 approved
CLOC 1.56 338 Saturday, November 17, 2012 approved

Discussion for the Count Lines of Code (CLOC) Package

Ground rules:

  • This discussion is only about Count Lines of Code (CLOC) and the Count Lines of Code (CLOC) package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Count Lines of Code (CLOC), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus