Downloads of v 7.21.64848.3817:


Last Update:

11 Oct 2022

Package Maintainer(s):

Software Author(s):

  • PVS-Studio


PVS-Studio static-code-analysis C++ C# Java SAST MISRA CWE CERT OWASP


  • 1
  • 2
  • 3

7.21.64848.3817 | Updated: 11 Oct 2022



Downloads of v 7.21.64848.3817:



Software Author(s):

  • PVS-Studio

  • 1
  • 2
  • 3
PVS-Studio 7.21.64848.3817

  • 1
  • 2
  • 3

Some Checks Are Exempted or Have Failed

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Exemption:

Depends on .NET Framework 4.72


Scan Testing Resulted in Flagged as a Note:

At least one file within this package has greater than 0 detections, but less than 5

Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install PVS-Studio, run the following command from the command line or from PowerShell:


To upgrade PVS-Studio, run the following command from the command line or from PowerShell:


To uninstall PVS-Studio, run the following command from the command line or from PowerShell:


Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to

2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade pvs-studio -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade pvs-studio -y --source="'INTERNAL REPO URL'" 

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Install pvs-studio
    name: pvs-studio
    version: '7.21.64848.3817'
    state: present

See docs at

chocolatey_package 'pvs-studio' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '7.21.64848.3817'

See docs at

cChocoPackageInstaller pvs-studio
    Name     = "pvs-studio"
    Version  = "7.21.64848.3817"
    Source   = "INTERNAL REPO URL"

Requires cChoco DSC Resource. See docs at

package { 'pvs-studio':
  ensure   => '7.21.64848.3817',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',

Requires Puppet Chocolatey Provider module. See docs at

4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 11 Oct 2022.


PVS-Studio is a tool for detecting bugs and security weaknesses in the source code of programs, written in C, C++, C# and Java. It works under 64-bit systems in Windows, Linux and macOS environments, and can analyze source code intended for 32-bit, 64-bit and embedded ARM platforms.

Check this page to get more info.
This software requires an activation key. You can get trial here.

Default installation contains a core command-line analyzer engine (C, C++, C#). The 'Core' component is a mandatory one, it contains a core command-line analyzer engine, which is required for all of the IDE extension plug-ins to operate. You can also install the following additional components: Standalone, MSVS2010, MSVS2012, MSVS2013, MSVS2015, MSVS2017, MSVS2019, MSVS2022, IDEA, JavaCore, Rider, CLion.
Brief description of components:

  • components with 'MSVS' prefix in their name are corresponding to Microsoft Visual Studio plug-in extensions;
  • the Standalone component installs compiler monitoring system, which allows to analyze any kind of C, C++ project as long as such project uses one of the supported compilers;
  • the 'IDEA' component corresponds to the PVS-Studio plugin for the IntelliJ IDEA development environment;
  • the 'JavaCore' component corresponds to the analyzer core for Java;
  • the 'Rider' component corresponds to the PVS-Studio plugin for the Rider development environment.

$ErrorActionPreference = 'Stop'
$packageName = 'PVS-Studio'
$toolsDir   = Split-Path -parent $MyInvocation.MyCommand.Definition
$Args = ' /components="Core'
$BaseArgs = "/verysilent /suppressmsgboxes /norestart /nocloseapplications /skipNetFrameworkInstallation  /LOG=`"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).Install.log`""
$pp = Get-PackageParameters

if ($pp.Standalone) { $Args += ",Standalone" }
if ($pp.JavaCore)   { $Args += ",JavaCore"   }
if ($pp.IDEA)       { $Args += ",IDEA"       }
if ($pp.RIDER)      { $Args += ",Rider"      }
if ($pp.CLION)      { $Args += ",CLion"      }
if ($pp.MSVS2010)   { $Args += ",MSVS\2010"  }
if ($pp.MSVS2012)   { $Args += ",MSVS\2012"  }
if ($pp.MSVS2013)   { $Args += ",MSVS\2013"  }
if ($pp.MSVS2015)   { $Args += ",MSVS\2015"  }
if ($pp.MSVS2017)   { $Args += ",MSVS\2017"  }
if ($pp.MSVS2019)   { $Args += ",MSVS\2019"  }
if ($pp.MSVS2022)   { $Args += ",MSVS\2022"  }

$packageArgs = @{
 packageName   = $packageName
 file64        = "$toolsDir\PVS-Studio_setup.exe"
 fileType      = 'EXE'
 softwareName  = 'PVS-Studio_setup*'
 silentArgs   = $BaseArgs + $Args + '"'
 validExitCodes= @(0, 3010, 1641)
Install-ChocolateyInstallPackage @packageArgs 
$ErrorActionPreference = 'Stop';
$packageArgs = @{
 packageName   = $env:ChocolateyPackageName
 softwareName  = 'PVS-Studio*'  
 fileType      = 'EXE' 
 validExitCodes= @(0, 3010, 1605, 1614, 1641) 
 silentArgs   = '/verysilent /suppressmsgboxes /nocloseapplications /norestart'  
$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']
if ($key.Count -eq 1) {
 $key | % { 
   $packageArgs['file'] = "$($_.UninstallString)" 
       if ($packageArgs['fileType'] -eq 'MSI') {   
     $packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"
     $packageArgs['file'] = ''
   } else {   
   Uninstall-ChocolateyPackage @packageArgs
} elseif ($key.Count -eq 0) {
 Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
 Write-Warning "$($key.Count) matches found!"
 Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
 Write-Warning "Please alert package maintainer the following keys were matched:"
 $key | % {Write-Warning "- $($_.DisplayName)"}


The present License agreement is a legal agreement between you, end user (either an individual or a company, hereinafter referred to as Licensee) licensing the PVS-Studio software (hereinafter referred to as PVS-Studio), and PVS-Studio LLC - the developer and the exclusive owner of this software for the accompanying PVS-Studio identified below. 
The PVS-Studio may include various applications, utilities and components and may be provided to you on multiple media or in multiple copies. Nonetheless, the PVS-Studio is designed and provided to you as a single product. You are not required to use all component parts of the PVS-Studio, but you may not unbundle the component parts of the PVS-Studio for use on different computers or by different users. You may not unbundle or repackage the PVS-Studio for distribution, transfer or resale.
In case a user purchases the program PVS-Studio LLC may place information about the user's company on his site in "Customers" section. But if the user doesn't want this information to be available on the site because of some reasons, he or she should tell this to PVS-Studio LLC on the program via e-mail.
Licensee may not modify, reverse engineer, decompile, disassemble, distribute, sub-license, sell, rent, lease, give or in any way transfer the Software, by any means or in any medium, including telecommunications. Licensee will use its best efforts and take all reasonable steps to protect the Software from unauthorized use, copying or dissemination, and will retain all proprietary notices intact.
Notwithstanding contrary, Licensees Affiliates may access and use the PVS-Studio. "Licensees Affiliates" shall mean an individual or entity that (a) directly or indirectly controls, or is controlled by, or is under common control with a Licensee; and/or (b) owns or controls fifty percent (50.0%) or more of the outstanding voting securities of a Licensee.
You have the right to use PVS-Studio for free by adding special comments to the source code of your project. To find out which comments should be added and the way to automate this process, read the article: "How to use PVS-Studio for Free".
Note that this mode is not intended to evaluate this software. Please use a demo version or request a temporary license key to try out the analyzer.
You should insert these comments when you have already decided to use the analyzer on a regular basis. You can remove these comments later, but it is possible to remove them only once.
It is not allowed to add and remove the comments in the source code repeatedly. It is also not allowed to append comments multiple times and subsequently roll back the content of comments in source files to initial state using version control system. Such actions are intended to evade the terms that the source code should contain comments and are a violation of the analyzer usage agreement.
What does the license include besides the right of use?
• right of use product during 1 year;
• a team of no more than 9 developers may use the product, the analyzer being installed only on one computer of each user;
• if customer has an Enterprise License then the product may be used by the number of developers (including developers of Licensees Affiliates) specified by the License name;
• get new versions (including major-versions) during 1 year;
• get support by e-mail during 1 year;
Renewing PVS-Studio license
The price of renewing the license is 80% of the base price at the moment of renewal. The license is renewed also for one year.
Duration of license
The Agreement is effective until terminated. Licensee may terminate this Agreement at any time and destroy the license info. The validity term of the Agreement is determined by the terms and conditions and is clearly indicated in the License info. The Agreement comes into force when you receive the license info. PVS-Studio LLC may terminate the Agreement immediately without notice if you fail to comply with any provision of the Agreement.
Automatic Update Program
The PVS-Studio software product performs automatic checks for the availability of updated version of itself by sending an update request to the remote server. An update request is fully anonymous. It is tied up to your personal account through a unique identifier and doesn’t contain any private data such as e-mail address, name, gender, age, home or work address, telephone number, etc.
Participation in the Automatic Update Program is voluntary. You can choose whether to take part in it when you install our product.
md5: 5C33768CD49F8C35D77A9543167C1F06 | sha1: DB7B25B2CE1F081B8F0BB818230D053E500A74A1 | sha256: 79542BF6594DE0520361C9A3BC3374C34B3A13ABB9A8825931A59052DDDF456F | sha512: FF651D5633DD6496FD6E071B157D2C5752697ED2A4BBC9293163DF6E0103CA98B0084687605E958ED4A570BA64EAF30CDD5E9FC26B4F693F01F513BF20EFAC3D
md5: 427DD1767DDBC7AD6B3DDFFD027CE517 | sha1: 4DC500290C8E402B4C6321BA42949F4121F3B35E | sha256: 8BB605F0D57C80A314F039908BE1A4C1FB45B1489383CF888FFD809AA0FC45EA | sha512: 7C69BD237802185830DF57EAD1CF0378746B5B39903FAD5D76B88D37F87CBB106F227E2CEFAC1C0634AB3A61AD5F07A8087FDD54ACC6231FCEB0DF4C7D97EE77
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

Installer can be verified like this:
1. The installer have been downloaded from their official download link listed on:
   Only for 64-Bit:
2. You can use one of the following methods to obtain the checksum SHA256
     - Use powershell function 'Get-Filehash'
     - Use chocolatey utility 'checksum.exe'

File 'LICENSE.txt' is obtained from

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
PVS-Studio 7.20.63487.3739 96 Monday, August 22, 2022 Approved
PVS-Studio 7.20.63382.3731 107 Tuesday, August 16, 2022 Approved
PVS-Studio 7.20.63142.3717 33 Tuesday, August 9, 2022 Approved
PVS-Studio 7.19.61166.3606 130 Thursday, June 9, 2022 Approved
PVS-Studio 7.18.59865.3530 103 Monday, April 25, 2022 Approved
PVS-Studio 7.18.59208.3491 60 Thursday, April 7, 2022 Approved
PVS-Studio 7.17.56981.3396 284 Wednesday, February 9, 2022 Approved
PVS-Studio 7.16.55368.3308 85 Wednesday, December 15, 2021 Approved
PVS-Studio 7.16.55368.3293 61 Wednesday, December 8, 2021 Approved
PVS-Studio 7.15.53844.3235 97 Thursday, November 11, 2021 Approved
PVS-Studio 7.15.53844.3230 50 Monday, November 8, 2021 Approved
PVS-Studio 7.15.53844.3214 72 Friday, October 29, 2021 Approved
PVS-Studio 7.15.53142.3184 69 Thursday, October 7, 2021 Approved
PVS-Studio 7.14.50440.3082 150 Wednesday, August 11, 2021 Approved
PVS-Studio 7.14.50353.3075 55 Monday, August 9, 2021 Approved
PVS-Studio 7.13.48133.2960 150 Monday, May 31, 2021 Approved
PVS-Studio 7.12.46137.2843 123 Thursday, March 11, 2021 Approved
PVS-Studio 7.11.44204.2742 108 Thursday, January 14, 2021 Approved
PVS-Studio 7.11.44142.2691 91 Thursday, December 17, 2020 Approved
PVS-Studio 7.10.43754.2662 85 Thursday, December 3, 2020 Approved
PVS-Studio 7.10.43654.2653 74 Friday, November 27, 2020 Approved
PVS-Studio 7.10.43223.2624 109 Tuesday, November 10, 2020 Approved
PVS-Studio 7.10.43167.2618 95 Thursday, November 5, 2020 Approved
PVS-Studio 7.09.42245.2576 141 Monday, October 5, 2020 Approved
PVS-Studio 7.09.41435.2517 91 Thursday, September 3, 2020 Approved
PVS-Studio 7.09.41189.2508 87 Thursday, August 27, 2020 Approved
PVS-Studio 7.08.39765.2421 146 Thursday, July 2, 2020 Approved
PVS-Studio 7.08.39499.2403 98 Tuesday, June 23, 2020 Approved
PVS-Studio 7.08.39365.2396 115 Thursday, June 18, 2020 Approved
PVS-Studio 7.07.38234.2308 556 Monday, April 27, 2020 Approved
PVS-Studio 7.07.37949.2290 120 Thursday, April 16, 2020 Approved
PVS-Studio 7.06.37100.2212 122 Thursday, February 27, 2020 Approved
PVS-Studio 7.05.35617.2075 261 Wednesday, December 11, 2019 Approved

Discussion for the PVS-Studio Package

Ground Rules:

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