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:

11,000

Downloads of v 7.34.87632.1471:

25

Last Update:

16 Dec 2024

Package Maintainer(s):

Software Author(s):

  • PVS-Studio

Tags:

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

PVS-Studio

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

  • 1
  • 2
  • 3

7.34.87632.1471 | Updated: 16 Dec 2024

Downloads:

11,000

Downloads of v 7.34.87632.1471:

25

Maintainer(s):

Software Author(s):

  • PVS-Studio

PVS-Studio 7.34.87632.1471

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

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by PVS-Studio. The inclusion of PVS-Studio trademark(s), if any, upon this webpage is solely to identify PVS-Studio goods or services and not for commercial purposes.

  • 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.34.87632.1471'" [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.34.87632.1471'" 
$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.34.87632.1471'
    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.34.87632.1471'
end

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


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

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


package { 'pvs-studio':
  ensure   => '7.34.87632.1471',
  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 16 Dec 2024.

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, 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.

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.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 
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.pvs-studio.com/License.rtf

LICENSE

PVS-STUDIO LLC 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 PVS-Studio LLC - the developer and the exclusive owner of this software (hereinafter referred to as Licensor) 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".
This mode is not intended for PVS-Studio evaluation. Trial license obtained through PVS-Studio web-site can be used to evaluate PVS-Studio.
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.
PVS-Studio license includes
right to use the product during 1 year;
the duration of product use may be specified in the formal quote provided by the Licensor;
a team of no more than 9 developers may use the product;
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) for the duration of product use;
get support by e-mail for the duration of product use;
Renewing PVS-Studio license
The license is renewed for one year. The price of renewing the license is 80% of the base price at the moment of renewal. The renewal discount can be applied by a user before the expiration of the current license or during a period of 1 month after the current license expiration date. After this period the license can be renewed for the full base price.
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 to opt out from Automatic Update Program by contacting PVS-Studio customer support.
tools\PERMISSION.pdf
md5: 5C33768CD49F8C35D77A9543167C1F06 | sha1: DB7B25B2CE1F081B8F0BB818230D053E500A74A1 | sha256: 79542BF6594DE0520361C9A3BC3374C34B3A13ABB9A8825931A59052DDDF456F | sha512: FF651D5633DD6496FD6E071B157D2C5752697ED2A4BBC9293163DF6E0103CA98B0084687605E958ED4A570BA64EAF30CDD5E9FC26B4F693F01F513BF20EFAC3D
tools\PVS-Studio_Setup.exe
md5: B51A9932F11C372C0ECF6171506B06E6 | sha1: 1636D172A75C9E705D48889E3671F59756B7E1BF | sha256: 80B204CD2D8BF12BD62CC0DA924CC9DB017FCEEBC38682C51526723CE49E9525 | sha512: 3ACDD5E7C07C929B9CEA3B7F852067224D7222153D0DC9EE6D019DF120049B79217BF86D5EC134AEFFAE4CE44CA85D22FEE19D03F35B96A026CD89186689F0DB
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.pvs-studio.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.pvs-studio.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.34.87632.1471 25 Monday, December 16, 2024 Approved
PVS-Studio 7.34.87460.1457 29 Wednesday, December 11, 2024 Approved
PVS-Studio 7.33.85382.1314 118 Monday, October 14, 2024 Approved
PVS-Studio 7.33.85330.1309 18 Friday, October 11, 2024 Approved
PVS-Studio 7.33.85174.1294 28 Tuesday, October 8, 2024 Approved
PVS-Studio 7.32.83291.1127 118 Tuesday, August 6, 2024 Approved
PVS-Studio 7.31.81895.1033 422 Tuesday, June 11, 2024 Approved
PVS-Studio 7.30.81740.1020 75 Wednesday, June 5, 2024 Approved
PVS-Studio 7.30.81185.980 626 Tuesday, May 14, 2024 Approved
PVS-Studio 7.30.81096.971 81 Wednesday, May 8, 2024 Approved
PVS-Studio 7.30.80803.925 140 Thursday, April 18, 2024 Approved
PVS-Studio 7.30.80678.911 188 Friday, April 12, 2024 Approved
PVS-Studio 7.29.79138.771 508 Wednesday, February 7, 2024 Approved
PVS-Studio 7.28.78353.681 241 Monday, December 25, 2023 Approved
PVS-Studio 7.28.78193.659 94 Monday, December 18, 2023 Approved
PVS-Studio 7.28.78017.643 76 Tuesday, December 12, 2023 Approved
PVS-Studio 7.28.77071.626 85 Tuesday, December 5, 2023 Approved
PVS-Studio 7.27.75620.507 229 Tuesday, October 10, 2023 Approved
PVS-Studio 7.26.74187.388 125 Wednesday, August 23, 2023 Approved
PVS-Studio 7.26.73915.362 75 Tuesday, August 8, 2023 Approved
PVS-Studio 7.25.72091.245 151 Wednesday, June 7, 2023 Approved
PVS-Studio 7.25.72051.243 73 Tuesday, June 6, 2023 Approved
PVS-Studio 7.24.70333.195 478 Wednesday, April 5, 2023 Approved
PVS-Studio 7.23.69221.124 128 Thursday, March 2, 2023 Approved
PVS-Studio 7.23.68542.86 119 Thursday, February 9, 2023 Approved
PVS-Studio 7.23.68432.62 81 Wednesday, February 8, 2023 Approved
PVS-Studio 7.22.66578.3926 172 Tuesday, December 6, 2022 Approved
PVS-Studio 7.21.64848.3817 164 Tuesday, October 11, 2022 Approved
PVS-Studio 7.20.63487.3739 143 Monday, August 22, 2022 Approved
PVS-Studio 7.20.63382.3731 335 Tuesday, August 16, 2022 Approved
PVS-Studio 7.20.63142.3717 90 Tuesday, August 9, 2022 Approved
PVS-Studio 7.19.61166.3606 169 Thursday, June 9, 2022 Approved
PVS-Studio 7.18.59865.3530 159 Monday, April 25, 2022 Approved
PVS-Studio 7.18.59208.3491 124 Thursday, April 7, 2022 Approved
PVS-Studio 7.17.56981.3396 355 Wednesday, February 9, 2022 Approved
PVS-Studio 7.16.55368.3308 168 Wednesday, December 15, 2021 Approved
PVS-Studio 7.16.55368.3293 134 Wednesday, December 8, 2021 Approved
PVS-Studio 7.15.53844.3235 156 Thursday, November 11, 2021 Approved
PVS-Studio 7.15.53844.3230 109 Monday, November 8, 2021 Approved
PVS-Studio 7.15.53844.3214 143 Friday, October 29, 2021 Approved
PVS-Studio 7.15.53142.3184 151 Thursday, October 7, 2021 Approved
PVS-Studio 7.14.50440.3082 209 Wednesday, August 11, 2021 Approved
PVS-Studio 7.14.50353.3075 110 Monday, August 9, 2021 Approved
PVS-Studio 7.13.48133.2960 217 Monday, May 31, 2021 Approved
PVS-Studio 7.12.46137.2843 189 Thursday, March 11, 2021 Approved
PVS-Studio 7.11.44204.2742 164 Thursday, January 14, 2021 Approved
PVS-Studio 7.11.44142.2691 154 Thursday, December 17, 2020 Approved
PVS-Studio 7.10.43754.2662 130 Thursday, December 3, 2020 Approved
PVS-Studio 7.10.43654.2653 143 Friday, November 27, 2020 Approved
PVS-Studio 7.10.43223.2624 163 Tuesday, November 10, 2020 Approved
PVS-Studio 7.10.43167.2618 142 Thursday, November 5, 2020 Approved
PVS-Studio 7.09.42245.2576 211 Monday, October 5, 2020 Approved
PVS-Studio 7.09.41435.2517 156 Thursday, September 3, 2020 Approved
PVS-Studio 7.09.41189.2508 155 Thursday, August 27, 2020 Approved
PVS-Studio 7.08.39765.2421 205 Thursday, July 2, 2020 Approved
PVS-Studio 7.08.39499.2403 151 Tuesday, June 23, 2020 Approved
PVS-Studio 7.08.39365.2396 187 Thursday, June 18, 2020 Approved
PVS-Studio 7.07.38234.2308 627 Monday, April 27, 2020 Approved
PVS-Studio 7.07.37949.2290 190 Thursday, April 16, 2020 Approved
PVS-Studio 7.06.37100.2212 190 Thursday, February 27, 2020 Approved
PVS-Studio 7.05.35617.2075 341 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