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

PMD

5.8.1

(Ready for review)

Package test results are passing.

This version is in moderation and has not yet been approved. This means it doesn't show up under normal search.
  • Until approved, you should consider this package version unsafe - it could do very bad things to your system (it probably doesn't but you have been warned, that's why we have moderation).
  • This package version can change wildly over the course of moderation until it is approved. If you install it and it later has changes to this version, you will be out of sync with any changes that have been made to the package. Until approved, you should consider that this package version doesn't even exist.
  • You cannot install this package under normal scenarios. See How to install package version under moderation for more information.
  • There are also no guarantees that it will be approved.

There are versions of this package awaiting moderation (possibly just this one). See the Version History section below.

Review Comments:

Sanshiro (maintainer) on 12 Sep 2017 12:25:48 +00:00:

User 'Sanshiro' (maintainer) submitted package.

chocolatey-ops (reviewer) on 12 Sep 2017 13:05:10 +00:00:

pmd has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • Package contains dependencies with no specified version. You should at least specify a minimum version of a dependency. More...
  • The nuspec has been enhanced to allow packageSourceUrl, pointing to the url where the package source resides. This is a strong guideline because it simplifies collaboration. Please add it to the nuspec. More...
  • Release Notes (releaseNotes) are a short description of changes in each version of a package. Please include releasenotes in the nuspec. NOTE: To prevent the need to continually update this field, providing a URL to an external list of Release Notes is perfectly acceptable. More...
Suggestions

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

  • The nuspec has been enhanced to allow more information related to the software. More... Please consider adding one or more of the following to the nuspec, if available:

    • docsUrl - points to the location of the wiki or docs of the software

    • mailingListUrl - points to the forum or email list group for the software

    • bugTrackerUrl - points to the location where issues and tickets can be accessed

    • projectSourceUrl - points to the location of the underlying software source

chocolatey-ops (reviewer) on 12 Sep 2017 13:31:36 +00:00:

pmd has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/d110b00976b0ca409667e080f021eed4 for details.
This is an FYI only. There is no action you need to take.

AnthonyMastrean (maintainer) on 12 Sep 2017 17:11:25 +00:00:

User 'AnthonyMastrean' (maintainer) submitted package.

AnthonyMastrean (maintainer) on 12 Sep 2017 17:27:02 +00:00:

User 'AnthonyMastrean' (maintainer) submitted package.

chocolatey-ops (reviewer) on 12 Sep 2017 18:06:21 +00:00:

pmd has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Guidelines

Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • Package contains dependencies with no specified version. You should at least specify a minimum version of a dependency. More...

chocolatey-ops (reviewer) on 12 Sep 2017 19:16:30 +00:00:

pmd has passed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit https://gist.github.com/99545933cad95f65c3e14f31104ac7af for details.
This is an FYI only. There is no action you need to take.


PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports Java, JavaScript, PLSQL, Apache Velocity, XML, XSL. Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Ruby, Scala, Objective C, Matlab, Python, Go.

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $tools = Split-Path $MyInvocation.MyCommand.Definition
    $package = Split-Path $tools
    $pmd_home = Join-path $package 'pmd-bin-5.8.1'
    $pmd_bin = Join-Path $pmd_home 'bin/pmd.bat'
    $cpd_bin = Join-Path $pmd_home 'bin/cpd.bat'
    
    Install-ChocolateyZipPackage `
        -PackageName 'pmd' `
        -Url 'https://github.com/pmd/pmd/releases/download/pmd_releases%2F5.8.1/pmd-bin-5.8.1.zip' `
        -Checksum '2D854E30717B66E253213F36D4BCD202B83B180EA427836797D13A857C19A6B4' `
        -ChecksumType 'SHA256'`
        -UnzipLocation $package `
    
    Install-ChocolateyEnvironmentVariable `
        -VariableName 'PMD_HOME' `
        -VariableValue $pmd_home `
        -VariableType 'Machine'
    
    Install-BinFile -Name 'pmd' -Path $pmd_bin
    Install-BinFile -Name 'cpd' -Path $cpd_bin
    
    Update-SessionEnvironment
    
  • tools\chocolateyUninstall.ps1 Show
    $tools = Split-Path $MyInvocation.MyCommand.Definition
    $package = Split-Path $tools
    $pmd_home = Join-path $package 'pmd-bin-5.8.1'
    $pmd_bin = Join-Path $pmd_home 'bin/pmd.bat'
    $cpd_bin = Join-Path $pmd_home 'bin/cpd.bat'
    
    Uninstall-BinFile -Name 'pmd' -Path $pmd_bin
    Uninstall-BinFile -Name 'cpd' -Path $cpd_bin
    

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

Maintainer(s)

Software Author(s)

  • PMD

Tags

Release Notes

https://pmd.github.io/pmd-5.8.1/overview/changelog.html

Version History

Version Downloads Last updated Status
PMD 5.8.1 12 Tuesday, September 12, 2017 submitted

Discussion for the PMD Package

Ground rules:

  • This discussion is only about PMD and the PMD 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 PMD, 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