Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

7,073

Downloads of v 7.09.41189.2508:

106

Last Update:

27 Aug 2020

Package Maintainer(s):

Software Author(s):

  • PVS-Studio

Tags:

pvs-studio static-code-analysis c++ c# java sast misra cwe cert

PVS-Studio

This is not the latest version of PVS-Studio available.

  • 1
  • 2
  • 3

7.09.41189.2508 | Updated: 27 Aug 2020

Downloads:

7,073

Downloads of v 7.09.41189.2508:

106

Maintainer(s):

Software Author(s):

  • PVS-Studio

PVS-Studio 7.09.41189.2508

This is not the latest version of PVS-Studio available.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Depends on .NET Framework 4.72

Details

Scan Testing Successful:

No detections found in any package files

Details
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 https://community.chocolatey.org/api/v2/)


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 https://community.chocolatey.org/api/v2/. 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'" --version="'7.09.41189.2508'" [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'" --version="'7.09.41189.2508'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install pvs-studio
  win_chocolatey:
    name: pvs-studio
    version: '7.09.41189.2508'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


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

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller pvs-studio
{
    Name     = "pvs-studio"
    Version  = "7.09.41189.2508"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


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

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 27 Aug 2020.

Description

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, IDEA, JavaCore, Rider.
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.

tools\chocolateyinstall.ps1
$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.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"  }

$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 
tools\chocolateyuninstall.ps1
$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)"}
}
tools\LICENSE.txt
From: http://files.viva64.com/License.rtf

LICENSE

OOO "PROGRAM VERIFICATION SYSTEMS" SOFTWARE LICENSE AGREEMENT
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 OOO "Program Verification Systems" - 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 OOO "Program Verification Systems" 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 OOO "Program Verification Systems" 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. OOO "Program Verification Systems" 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.
tools\PERMISSION.pdf
md5: C52F432D13EEC862519F39996D0FF047 | sha1: BD58126D15BD2C84835DC9F417038FCE2934E08B | sha256: 878F7F9B96A97DDFF8E30637EADBAA0D82C3A903A88F856A73BE7FB284959A90 | sha512: 660C8915A255E4391A7FC1A93E343C0383B93E55327324F6B9887BA1C6A0DD4BA6DF16BD6A168F96CE98B9F1099AF5DADDCD93C80F59928DED5CE9ED43503662
tools\PVS-Studio_Setup.exe
md5: 8335865D940EA55E21A812A089D24337 | sha1: 99D80B8E1BA17BF75B62F5C6F95263C31A472419 | sha256: F95710EDB4FC437F511601A51DE408A027F1D12872BBC95913C586FCE2B8D18C | sha512: 1DE7FDCE4F3571FCE79EC902724DC044290B9DEA1EF3F58FE1C95852B57AB4D5DB669FFBDAED4270F911C501D7C6E96CDBA51977B38B4A1E9066625D319FDE9B
tools\VERIFICATION.txt
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: http://files.viva64.com/PVS-Studio_setup.exe
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 http://files.viva64.com/License.rtf

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.28.78353.681 202 Monday, December 25, 2023 Approved
PVS-Studio 7.28.78193.659 49 Monday, December 18, 2023 Approved
PVS-Studio 7.28.78017.643 53 Tuesday, December 12, 2023 Approved
PVS-Studio 7.28.77071.626 56 Tuesday, December 5, 2023 Approved
PVS-Studio 7.27.75620.507 194 Tuesday, October 10, 2023 Approved
PVS-Studio 7.26.74187.388 104 Wednesday, August 23, 2023 Approved
PVS-Studio 7.26.73915.362 57 Tuesday, August 8, 2023 Approved
PVS-Studio 7.25.72091.245 128 Wednesday, June 7, 2023 Approved
PVS-Studio 7.25.72051.243 39 Tuesday, June 6, 2023 Approved
PVS-Studio 7.24.70333.195 436 Wednesday, April 5, 2023 Approved
PVS-Studio 7.23.69221.124 91 Thursday, March 2, 2023 Approved
PVS-Studio 7.23.68542.86 78 Thursday, February 9, 2023 Approved
PVS-Studio 7.23.68432.62 34 Wednesday, February 8, 2023 Approved
PVS-Studio 7.22.66578.3926 134 Tuesday, December 6, 2022 Approved
PVS-Studio 7.21.64848.3817 111 Tuesday, October 11, 2022 Approved
PVS-Studio 7.20.63487.3739 119 Monday, August 22, 2022 Approved
PVS-Studio 7.20.63382.3731 287 Tuesday, August 16, 2022 Approved
PVS-Studio 7.20.63142.3717 64 Tuesday, August 9, 2022 Approved
PVS-Studio 7.19.61166.3606 152 Thursday, June 9, 2022 Approved
PVS-Studio 7.18.59865.3530 125 Monday, April 25, 2022 Approved
PVS-Studio 7.18.59208.3491 79 Thursday, April 7, 2022 Approved
PVS-Studio 7.17.56981.3396 304 Wednesday, February 9, 2022 Approved
PVS-Studio 7.16.55368.3308 105 Wednesday, December 15, 2021 Approved
PVS-Studio 7.16.55368.3293 83 Wednesday, December 8, 2021 Approved
PVS-Studio 7.15.53844.3235 119 Thursday, November 11, 2021 Approved
PVS-Studio 7.15.53844.3230 70 Monday, November 8, 2021 Approved
PVS-Studio 7.15.53844.3214 101 Friday, October 29, 2021 Approved
PVS-Studio 7.15.53142.3184 96 Thursday, October 7, 2021 Approved
PVS-Studio 7.14.50440.3082 169 Wednesday, August 11, 2021 Approved
PVS-Studio 7.14.50353.3075 79 Monday, August 9, 2021 Approved
PVS-Studio 7.13.48133.2960 188 Monday, May 31, 2021 Approved
PVS-Studio 7.12.46137.2843 149 Thursday, March 11, 2021 Approved
PVS-Studio 7.11.44204.2742 135 Thursday, January 14, 2021 Approved
PVS-Studio 7.11.44142.2691 126 Thursday, December 17, 2020 Approved
PVS-Studio 7.10.43754.2662 112 Thursday, December 3, 2020 Approved
PVS-Studio 7.10.43654.2653 109 Friday, November 27, 2020 Approved
PVS-Studio 7.10.43223.2624 133 Tuesday, November 10, 2020 Approved
PVS-Studio 7.10.43167.2618 116 Thursday, November 5, 2020 Approved
PVS-Studio 7.09.42245.2576 164 Monday, October 5, 2020 Approved
PVS-Studio 7.09.41435.2517 116 Thursday, September 3, 2020 Approved
PVS-Studio 7.09.41189.2508 106 Thursday, August 27, 2020 Approved
PVS-Studio 7.08.39765.2421 169 Thursday, July 2, 2020 Approved
PVS-Studio 7.08.39499.2403 126 Tuesday, June 23, 2020 Approved
PVS-Studio 7.08.39365.2396 143 Thursday, June 18, 2020 Approved
PVS-Studio 7.07.38234.2308 596 Monday, April 27, 2020 Approved
PVS-Studio 7.07.37949.2290 139 Thursday, April 16, 2020 Approved
PVS-Studio 7.06.37100.2212 147 Thursday, February 27, 2020 Approved
PVS-Studio 7.05.35617.2075 294 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