{"id":41802,"date":"2020-02-16T20:45:52","date_gmt":"2020-02-16T17:45:52","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/pvs-studio-teper-v-chocolatey-proverka-chocolatey-iz-pod-azure-devops"},"modified":"2020-02-16T20:45:52","modified_gmt":"2020-02-16T17:45:52","slug":"pvs-studio-teper-v-chocolatey-proverka-chocolatey-iz-pod-azure-devops","status":"publish","type":"post","link":"https:\/\/prohoster.info\/et\/blog\/pvs-studio-teper-v-chocolatey-proverka-chocolatey-iz-pod-azure-devops","title":{"rendered":"PVS-Studio n\u00fc\u00fcd Chocolatey\u2019s: Chocolatey kontrollimine Azure DevOps'ist","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<\/p>\n<p><img decoding=\"async\" alt=\"PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Chocolatey: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Chocolatey \u0438\u0437-\u043f\u043e\u0434 Azure DevOps\" src=\"\/wp-content\/uploads\/2020\/02\/22b8b8aaa7167a5aa66b38b30a5d03c9.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n\u041c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 PVS-Studio \u0443\u0434\u043e\u0431\u043d\u0435\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 Chocolatey, \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0435 \u0434\u043b\u044f Windows. \u041c\u044b \u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 PVS-Studio, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0432 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0438\u0434\u0442\u0438 \u0434\u0430\u043b\u0435\u043a\u043e, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u0441\u0451 \u0442\u043e\u0433\u043e \u0436\u0435 Chocolatey. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 CI \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u0442 Azure DevOps.<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<p>\u0412\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u0435\u0439 \u043d\u0430 \u0442\u0435\u043c\u0443 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438:<\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/b\/0670\/\">PVS-Studio \u0438\u0434\u0451\u0442 \u0432 \u043e\u0431\u043b\u0430\u043a\u0430: Azure DevOps<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/b\/0636\/\">PVS-Studio \u0438\u0434\u0451\u0442 \u0432 \u043e\u0431\u043b\u0430\u043a\u0430: Travis CI<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/b\/0676\/\">PVS-Studio \u0438\u0434\u0451\u0442 \u0432 \u043e\u0431\u043b\u0430\u043a\u0430: CircleCI<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/b\/0686\/\">PVS-Studio \u0438\u0434\u0451\u0442 \u0432 \u043e\u0431\u043b\u0430\u043a\u0430: GitLab CI\/CD<\/a><\/noindex><\/li>\n<\/ul>\n<p>\n\u0421\u043e\u0432\u0435\u0442\u0443\u044e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043f\u0435\u0440\u0432\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e \u043f\u0440\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044e \u0441 Azure DevOps, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043e\u043f\u0443\u0449\u0435\u043d\u044b, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u0433\u0435\u0440\u043e\u0438 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438:<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/pvs-studio\/\">PVS-Studio<\/a><\/noindex> \u2014 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043a\u043e\u0434\u0430, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0448\u0438\u0431\u043e\u043a \u0438 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u0445, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u044f\u0437\u044b\u043a\u0430\u0445 \u0421, C++, C# \u0438 Java. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 64-\u0431\u0438\u0442\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u043d\u0430 Windows, Linux \u0438 macOS, \u0438 \u043c\u043e\u0436\u0435\u0442 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f 32-\u0431\u0438\u0442\u043d\u044b\u0445, 64-\u0431\u0438\u0442\u043d\u044b\u0445 \u0438 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0445 ARM \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c. \u0415\u0441\u043b\u0438 \u0432\u044b \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u043a\u043e\u0434\u0430 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0442\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441\u043e <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/b\/0633\/\">\u0441\u0442\u0430\u0442\u044c\u0451\u0439<\/a><\/noindex> \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u0430\u043c\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f PVS-Studio \u0438 \u043e\u0446\u0435\u043d\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u044d\u0442\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430.<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/azure.microsoft.com\/en-in\/services\/devops\/\">Azure DevOps<\/a><\/noindex> \u2014 \u043d\u0430\u0431\u043e\u0440 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u043e \u043e\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0445 \u0432\u0435\u0441\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u0412 \u0441\u043e\u0441\u0442\u0430\u0432 \u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0432\u0445\u043e\u0434\u044f\u0442 \u0442\u0430\u043a\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u043a\u0430\u043a Azure Pipelines, Azure Boards, Azure Artifacts, Azure Repos, Azure Test Plans, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u0432\u044b\u0441\u0438\u0442\u044c \u0435\u0433\u043e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e.<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/chocolatey.org\/\">Chocolatey<\/a><\/noindex> \u2013 \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0434\u043b\u044f Windows \u0441 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c. \u0426\u0435\u043b\u044c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u2014 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0435\u0441\u044c \u0436\u0438\u0437\u043d\u0435\u043d\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043e\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0434\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 Windows.<\/p>\n<h2>\u041e\u0431 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 Chocolatey<\/h2>\n<p>\n\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0430\u043c \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e \u044d\u0442\u043e\u0439 <noindex><a rel=\"nofollow\" href=\"https:\/\/chocolatey.org\/docs\/installation\">\u0441\u0441\u044b\u043b\u043a\u0435<\/a><\/noindex>. \u041f\u043e\u043b\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043f\u043e <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/m\/0025\/\">\u0441\u0441\u044b\u043b\u043a\u0435<\/a><\/noindex> \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u00ab\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 Chocolatey\u00bb. \u0412\u043a\u0440\u0430\u0442\u0446\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u044e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043e\u0442\u0442\u0443\u0434\u0430.<\/p>\n<p>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430:<\/p>\n<pre><code class=\"cs\">choco install pvs-studio<\/code><\/pre>\n<p>\n\u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u043f\u0430\u043a\u0435\u0442\u0430 PVS-Studio:<\/p>\n<pre><code class=\"cs\">choco install pvs-studio --version=7.05.35617.2075<\/code><\/pre>\n<p>\n\u041f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u044f\u0434\u0440\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u2014 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442 Core. \u0412\u0441\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0444\u043b\u0430\u0433\u0438 (Standalone, JavaCore, IDEA, MSVS2010, MSVS2012, MSVS2013, MSVS2015, MSVS2017, MSVS2019) \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 &#8212;package-parameters.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u0441 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u043c \u0434\u043b\u044f Visual Studio 2019:<\/p>\n<pre><code class=\"cs\">choco install pvs-studio --package-parameters=&quot;'\/MSVS2019'&quot;<\/code><\/pre>\n<p>\n\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440 \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043f\u043e\u0434 Azure DevOps.<\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430<\/h2>\n<p>\n\u041d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e, \u0447\u0442\u043e \u043f\u0440\u043e \u0442\u0430\u043a\u0438\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b, \u043a\u0430\u043a \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0443\u0447\u0451\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 Build Pipeline \u0438 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0443\u0447\u0451\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c, \u043b\u0435\u0436\u0430\u0449\u0438\u043c \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u043d\u0430GitHub, \u0435\u0441\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/b\/0670\/\">\u0441\u0442\u0430\u0442\u044c\u044f<\/a><\/noindex>. \u041d\u0430\u0448\u0430 \u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0440\u0430\u0437\u0443 \u043d\u0430\u0447\u043d\u0451\u0442\u0441\u044f \u0441 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430.<\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c \u0442\u0440\u0438\u0433\u0433\u0435\u0440 \u0437\u0430\u043f\u0443\u0441\u043a\u0430, \u0443\u043a\u0430\u0437\u0430\u0432, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0437\u0430\u043f\u0443\u0441\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 <i>master<\/i> \u0432\u0435\u0442\u043a\u0435:<\/p>\n<pre><code class=\"cs\">trigger:\n- master<\/code><\/pre>\n<p>\n\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443. \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 Microsoft-hosted \u0430\u0433\u0435\u043d\u0442 \u0441 Windows Server 2019 \u0438 Visual Studio 2019:<\/p>\n<pre><code class=\"cs\">pool:\n  vmImage: 'windows-latest'<\/code><\/pre>\n<p>\n\u041f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u0442\u0435\u043b\u0443 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 (\u0431\u043b\u043e\u043a <i>steps<\/i>). \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0432 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 \u043d\u0435\u043b\u044c\u0437\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u043e\u0435 \u041f\u041e, \u044f \u043d\u0435 \u0441\u0442\u0430\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c Docker \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440. \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c Chocolatey \u043a\u0430\u043a \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0434\u043b\u044f Azure DevOps. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043f\u043e <noindex><a rel=\"nofollow\" href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=gep13.chocolatey-azuredevops\">\u0441\u0441\u044b\u043b\u043a\u0435<\/a><\/noindex>. \u0416\u043c\u0451\u043c <i>Get it free<\/i>. \u0414\u0430\u043b\u0435\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b \u0443\u0436\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u044b, \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u0432\u043e\u044e \u0443\u0447\u0451\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c, \u0430 \u0435\u0441\u043b\u0438 \u043d\u0435\u0442, \u0442\u043e \u043f\u0440\u043e\u0434\u0435\u043b\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0451 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043f\u043e\u0441\u043b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438.<\/p>\n<p><img decoding=\"async\" alt=\"PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Chocolatey: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Chocolatey \u0438\u0437-\u043f\u043e\u0434 Azure DevOps\" src=\"\/wp-content\/uploads\/2020\/02\/7d41157fd1f869f51289d8441b5f8569.png\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>\u0422\u0443\u0442 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c, \u043a\u0443\u0434\u0430 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 <i>Install<\/i>.<\/p>\n<p><img decoding=\"async\" alt=\"PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Chocolatey: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Chocolatey \u0438\u0437-\u043f\u043e\u0434 Azure DevOps\" src=\"\/wp-content\/uploads\/2020\/02\/a20a5e7a111753d0944e12689ab05f4c.png\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0431\u043b\u0430\u0433\u043e\u043f\u043e\u043b\u0443\u0447\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0430\u0436\u043c\u0451\u043c <i>Proceed to organization<\/i>:<\/p>\n<p><img decoding=\"async\" alt=\"PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Chocolatey: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Chocolatey \u0438\u0437-\u043f\u043e\u0434 Azure DevOps\" src=\"\/wp-content\/uploads\/2020\/02\/f818c8f21e91581345b38778227e4d3c.png\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d \u0434\u043b\u044f \u0437\u0430\u0434\u0430\u0447\u0438 Chocolatey \u0432 \u043e\u043a\u043d\u0435 <i>tasks<\/i> \u043f\u0440\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 <i>azure-pipelines.yml:<\/i><\/p>\n<p><img decoding=\"async\" alt=\"PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Chocolatey: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Chocolatey \u0438\u0437-\u043f\u043e\u0434 Azure DevOps\" src=\"\/wp-content\/uploads\/2020\/02\/ed57c0041c01f7f720ef386d48b9bcba.png\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>\u041d\u0430\u0436\u043c\u0451\u043c \u043d\u0430 Chocolatey \u0438 \u0443\u0432\u0438\u0434\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u043b\u0435\u0439:<\/p>\n<p><img decoding=\"async\" alt=\"PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Chocolatey: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Chocolatey \u0438\u0437-\u043f\u043e\u0434 Azure DevOps\" src=\"\/wp-content\/uploads\/2020\/02\/44fdd71a00872cb0c879112ca69efc2b.png\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>\u0417\u0434\u0435\u0441\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c <i>install <\/i> \u0432 \u043f\u043e\u043b\u0435 \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438. \u0412 <i>Nuspec File Name<\/i> \u0443\u043a\u0430\u0436\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u0430 \u2013 pvs-studio. \u0415\u0441\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432\u0435\u0440\u0441\u0438\u044e, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f, \u0447\u0442\u043e \u043d\u0430\u0441 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442. \u041d\u0430\u0436\u043c\u0451\u043c \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 <i>add<\/i> \u0438 \u0443\u0432\u0438\u0434\u0438\u043c \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0432\u0448\u0443\u044e\u0441\u044f \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 \u0444\u0430\u0439\u043b\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438.<\/p>\n<pre><code class=\"cs\">steps:\n- task: ChocolateyCommand@0\n  inputs:\n    command: 'install'\n    installPackageId: 'pvs-studio'<\/code><\/pre>\n<p>\n\u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u0430:<\/p>\n<pre><code class=\"cs\">- task: CmdLine@2\n  inputs:\n    script: <\/code><\/pre>\n<p>\n\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0441 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430. \u0417\u0434\u0435\u0441\u044c <i>PVSNAME<\/i> \u0438 <i>PVSKEY <\/i> \u2013 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445. \u041e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043b\u043e\u0433\u0438\u043d \u0438 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 PVS-Studio. \u0427\u0442\u043e\u0431\u044b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043e\u0442\u043a\u0440\u043e\u0435\u043c \u043c\u0435\u043d\u044e <i>Variables-&gt;New variable<\/i>. \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 <i>PVSNAME<\/i> \u0434\u043b\u044f \u043b\u043e\u0433\u0438\u043d\u0430 \u0438 <i>PVSKEY <\/i> \u0434\u043b\u044f \u043a\u043b\u044e\u0447\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430. \u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0433\u0430\u043b\u043e\u0447\u043a\u0443 <i>Keep this value secret <\/i>\u0434\u043b\u044f <i>PVSKEY<\/i>. \u041a\u043e\u0434 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<pre><code class=\"cs\">\u0441all &quot;C:Program Files (x86)PVS-StudioPVS-Studio_Cmd.exe&quot; credentials \n\u2013u $(PVSNAME) \u2013n $(PVSKEY)<\/code><\/pre>\n<p>\n\u0421\u043e\u0431\u0435\u0440\u0451\u043c \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 bat-\u0444\u0430\u0439\u043b\u0430, \u043b\u0435\u0436\u0430\u0449\u0435\u0433\u043e \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438:<\/p>\n<pre><code class=\"cs\">\u0441all build.bat<\/code><\/pre>\n<p>\n\u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0430\u043f\u043a\u0443, \u0433\u0434\u0435 \u0431\u0443\u0434\u0443\u0442 \u043b\u0435\u0436\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430:<\/p>\n<pre><code class=\"cs\">\u0441all mkdir PVSTestResults<\/code><\/pre>\n<p>\n\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0430\u043d\u0430\u043b\u0438\u0437 \u043f\u0440\u043e\u0435\u043a\u0442\u0430:<\/p>\n<pre><code class=\"cs\">\u0441all &quot;C:Program Files (x86)PVS-StudioPVS-Studio_Cmd.exe&quot; \n\u2013t .srcchocolatey.sln \u2013o .PVSTestResultsChoco.plog <\/code><\/pre>\n<p>\n\u041a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043d\u0430\u0448 \u043e\u0442\u0447\u0451\u0442 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 html \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0443\u0442\u0438\u043b\u0438\u0442\u044b Plog\u0421onverter:<\/p>\n<pre><code class=\"cs\">\u0441all &quot;C:Program Files (x86)PVS-StudioPlogConverter.exe&quot; \n\u2013t html \u2013o PVSTestResults .PVSTestResultsChoco.plog<\/code><\/pre>\n<p>\n\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u044b\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043e\u0442\u0447\u0451\u0442.<\/p>\n<pre><code class=\"cs\">- task: PublishBuildArtifacts@1\n  inputs:\n    pathToPublish: PVSTestResults\n    artifactName: PVSTestResults\n    condition: always()<\/code><\/pre>\n<p>\n\u041f\u043e\u043b\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"cs\">trigger:\n- master\n\npool:\n  vmImage: 'windows-latest'\n\nsteps:\n- task: ChocolateyCommand@0\n  inputs:\n    command: 'install'\n    installPackageId: 'pvs-studio'\n\n- task: CmdLine@2\n  inputs:\n    script: |\n      call &quot;C:Program Files (x86)PVS-StudioPVS-Studio_Cmd.exe&quot; \n      credentials \u2013u $(PVSNAME) \u2013n $(PVSKEY)\n      call build.bat\n      call mkdir PVSTestResults\n      call &quot;C:Program Files (x86)PVS-StudioPVS-Studio_Cmd.exe&quot; \n      \u2013t .srcchocolatey.sln \u2013o .PVSTestResultsChoco.plog\n      call &quot;C:Program Files (x86)PVS-StudioPlogConverter.exe&quot; \n      \u2013t html \u2013o .PVSTestResults .PVSTestResultsChoco.plog\n\n- task: PublishBuildArtifacts@1\n  inputs:\n    pathToPublish: PVSTestResults\n    artifactName: PVSTestResults\n    condition: always()<\/code><\/pre>\n<p>\n\u041d\u0430\u0436\u043c\u0451\u043c <i>Save-&gt;Save-&gt;Run <\/i>\u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0437\u0430\u0434\u0430\u0447\u0438. \u0412\u044b\u0433\u0440\u0443\u0437\u0438\u043c \u043e\u0442\u0447\u0451\u0442, \u0437\u0430\u0439\u0434\u044f \u0432\u043e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 \u0437\u0430\u0434\u0430\u0447\u0438.<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habrastorage.org\/webt\/tt\/8k\/im\/tt8kimeyd8tdlajla9lefsuknoi.png\"><img decoding=\"async\" alt=\"PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Chocolatey: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Chocolatey \u0438\u0437-\u043f\u043e\u0434 Azure DevOps\" src=\"\/wp-content\/uploads\/2020\/02\/428d6a1817372e84c395188c4755fe3b.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/p>\n<p>\u041f\u0440\u043e\u0435\u043a\u0442 Chocolatey \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432\u0441\u0435\u0433\u043e 37615 \u0441\u0442\u0440\u043e\u043a C# \u043a\u043e\u0434\u0430. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0445 \u043e\u0448\u0438\u0431\u043e\u043a.<\/p>\n<h2>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438<\/h2>\n<p>\n<b>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 N1<\/b><\/p>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/w\/v3005\/\">V3005<\/a><\/noindex> The &#8216;Provider&#8217; variable is assigned to itself. CrytpoHashProviderSpecs.cs 38<\/p>\n<pre><code class=\"cs\">public abstract class CrytpoHashProviderSpecsBase : TinySpec\n{\n  ....\n  protected CryptoHashProvider Provider;\n  ....\n  public override void Context()\n  {\n    Provider = Provider = new CryptoHashProvider(FileSystem.Object);\n  }\n}<\/code><\/pre>\n<p>\n\u0410\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u0441\u0435\u0431\u0435, \u0447\u0442\u043e \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u043d\u0430 \u043c\u0435\u0441\u0442\u0435 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u044d\u0442\u0438\u0445 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043a\u0430\u043a\u0430\u044f-\u0442\u043e \u0434\u0440\u0443\u0433\u0430\u044f. \u041d\u0443 \u0438\u043b\u0438 \u044d\u0442\u043e \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0430, \u0438 \u043b\u0438\u0448\u043d\u0435\u0435 \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c.<\/p>\n<p><b>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 N2<\/b><\/p>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/w\/v3093\/\">V3093<\/a><\/noindex> [CWE-480] The &#8216;&amp;&#8217; operator evaluates both operands. Perhaps a short-circuit &#8216;&amp;&amp;&#8217; operator should be used instead. Platform.cs 64<\/p>\n<pre><code class=\"cs\">public static PlatformType get_platform()\n{\n  switch (Environment.OSVersion.Platform)\n  {\n    case PlatformID.MacOSX:\n    {\n      ....\n    }\n    case PlatformID.Unix:\n    if(file_system.directory_exists(&quot;\/Applications&quot;)\n      &amp; file_system.directory_exists(&quot;\/System&quot;)\n      &amp; file_system.directory_exists(&quot;\/Users&quot;)\n      &amp; file_system.directory_exists(&quot;\/Volumes&quot;))\n      {\n        return PlatformType.Mac;\n      }\n        else\n          return PlatformType.Linux;\n    default:\n      return PlatformType.Windows;\n  }\n}<\/code><\/pre>\n<p>\n\u041e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 <i>&amp;<\/i> \u043e\u0442 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 <i>&amp;&amp;<\/i> \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043b\u0435\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u2014 <i>false<\/i>, \u0442\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0430 \u043f\u0440\u0430\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c, \u0447\u0442\u043e \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442 \u043b\u0438\u0448\u043d\u0438\u0435 \u0432\u044b\u0437\u043e\u0432\u044b \u043c\u0435\u0442\u043e\u0434\u0430 <i>system.directory_exists<\/i>.<\/p>\n<p>\u0412 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043d\u043e\u043c \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0435 \u044d\u0442\u043e \u043c\u0435\u043b\u043a\u0438\u0439 \u043d\u0435\u0434\u043e\u0447\u0451\u0442. \u0414\u0430, \u0434\u0430\u043d\u043d\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 &amp; \u043d\u0430 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 &amp;&amp;, \u043d\u043e, \u0441 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f, \u044d\u0442\u043e \u043d\u0438 \u043d\u0430 \u0447\u0442\u043e \u043d\u0435 \u0432\u043b\u0438\u044f\u0435\u0442. \u041e\u0434\u043d\u0430\u043a\u043e, \u0432 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043f\u0443\u0442\u0430\u043d\u0438\u0446\u0430 \u043c\u0435\u0436\u0434\u0443 &amp; \u0438 &amp;&amp; \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u0430\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u043c\u0438\/\u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u043e\u0448\u0438\u0431\u043e\u043a, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/examples\/v3093\/\">\u0432\u044b\u044f\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438 V3093<\/a><\/noindex>, \u0435\u0441\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439:<\/p>\n<pre><code class=\"cs\">if ((k &lt; nct) &amp; (s[k] != 0.0))<\/code><\/pre>\n<p>\n\u0414\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0438\u043d\u0434\u0435\u043a\u0441 <i>k <\/i> \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0435\u043d, \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0430. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 <i>IndexOutOfRangeException<\/i>.<\/p>\n<p><b>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f N3, N4<\/b><\/p>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/w\/v3022\/\">V3022<\/a><\/noindex> [CWE-571] Expression &#8216;shortPrompt&#8217; is always true. InteractivePrompt.cs 101<br \/>\n\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/w\/v3022\/\">V3022<\/a><\/noindex> [CWE-571] Expression &#8216;shortPrompt&#8217; is always true. InteractivePrompt.cs 105<\/p>\n<pre><code class=\"cs\">public static string \nprompt_for_confirmation(.... bool shortPrompt = false, ....)\n{\n  ....\n  if (shortPrompt)\n  {\n    var choicePrompt = choice.is_equal_to(defaultChoice) \/\/1\n    ?\n    shortPrompt \/\/2\n    ?\n    &quot;[[{0}]{1}]&quot;.format_with(choice.Substring(0, 1).ToUpperInvariant(), \/\/3\n    choice.Substring(1,choice.Length - 1))\n    :\n    &quot;[{0}]&quot;.format_with(choice.ToUpperInvariant()) \/\/0\n    : \n    shortPrompt \/\/4\n    ? \n    &quot;[{0}]{1}&quot;.format_with(choice.Substring(0,1).ToUpperInvariant(), \/\/5\n    choice.Substring(1,choice.Length - 1)) \n    :\n    choice; \/\/0\n    ....\n  }\n  ....\n}<\/code><\/pre>\n<p>\n\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u043c\u0435\u0435\u0442 \u043c\u0435\u0441\u0442\u043e \u0431\u044b\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u043d\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0442\u0435\u0440\u043d\u0430\u0440\u043d\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435: \u0435\u0441\u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u0435, \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u043e\u0435 \u043c\u043d\u043e\u0439 \u0446\u0438\u0444\u0440\u043e\u0439 1, \u0442\u043e \u043c\u044b \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043a \u0443\u0441\u043b\u043e\u0432\u0438\u044e 2, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 <i>true<\/i>, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u0447\u043a\u0430 3. \u0415\u0441\u043b\u0438 \u0436\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 1 \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043b\u043e\u0436\u043d\u044b\u043c, \u0442\u043e \u043c\u044b \u043f\u0435\u0440\u0435\u0439\u0434\u0451\u043c \u043d\u0430 \u0441\u0442\u0440\u043e\u0447\u043a\u0443, \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u0443\u044e \u0446\u0438\u0444\u0440\u043e\u0439 4, \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0442\u043e\u0436\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 <i>true<\/i>, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0441\u0442\u0440\u043e\u0447\u043a\u0430 5. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0443\u0441\u043b\u043e\u0432\u0438\u044f, \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u043c 0, \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u044b, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0442\u043e\u0439 \u043b\u043e\u0433\u0438\u043a\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442.<\/p>\n<p><b>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 N5<\/b><\/p>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/w\/v3123\/\">V3123<\/a><\/noindex> [CWE-783] Perhaps the &#8216;?:&#8217; operator works in a different way than it was expected. Its priority is lower than priority of other operators in its condition. Options.cs 1019<\/p>\n<pre><code class=\"cs\">private static string GetArgumentName (...., string description)\n{\n  string[] nameStart;\n  if (maxIndex == 1)\n  {\n    nameStart = new string[]{&quot;{0:&quot;, &quot;{&quot;};\n  }\n  else\n  {\n    nameStart = new string[]{&quot;{&quot; + index + &quot;:&quot;};\n  }\n  for (int i = 0; i &lt; nameStart.Length; ++i) \n  {\n    int start, j = 0;\n    do \n    {\n      start = description.IndexOf (nameStart [i], j);\n    } \n    while (start &gt;= 0 &amp;&amp; j != 0 ? description [j++ - 1] == '{' : false);\n    ....\n    return maxIndex == 1 ? &quot;VALUE&quot; : &quot;VALUE&quot; + (index + 1);\n  }\n}<\/code><\/pre>\n<p>\n\u0414\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n<pre><code class=\"cs\">while (start &gt;= 0 &amp;&amp; j != 0 ? description [j++ - 1] == '{' : false)<\/code><\/pre>\n<p>\n\u0422\u0430\u043a \u043a\u0430\u043a \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <i>j <\/i> \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0440\u043e\u043a \u0432\u044b\u0448\u0435 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0443\u043b\u0451\u043c, \u0442\u0435\u0440\u043d\u0430\u0440\u043d\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440 \u0432\u0435\u0440\u043d\u0451\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <i>false<\/i>. \u0418\u0437-\u0437\u0430 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f, \u0442\u0435\u043b\u043e \u0446\u0438\u043a\u043b\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437. \u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043a\u043e\u0434\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u0442\u0430\u043a, \u043a\u0430\u043a \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442.<\/p>\n<p><b>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 N6<\/b><\/p>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/w\/v3022\/\">V3022<\/a><\/noindex> [CWE-571] Expression &#8216;installedPackageVersions.Count != 1&#8217; is always true. NugetService.cs 1405<\/p>\n<pre><code class=\"cs\">private void remove_nuget_cache_for_package(....)\n{\n  if (!config.AllVersions &amp;&amp; installedPackageVersions.Count &gt; 1)\n  {\n    const string allVersionsChoice = &quot;All versions&quot;;\n    if (installedPackageVersions.Count != 1)\n    {\n      choices.Add(allVersionsChoice);\n    }\n    ....\n  }\n  ....\n}<\/code><\/pre>\n<p>\n\u0417\u0434\u0435\u0441\u044c \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0435 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435: <i>installedPackageVersions.Count != 1<\/i>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 <i>true<\/i>. \u0427\u0430\u0441\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443 \u0432 \u043a\u043e\u0434\u0435, \u0430 \u0432 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u0443\u044e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443.<\/p>\n<p><b>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 N7<\/b><\/p>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/w\/v3001\/\">V3001<\/a><\/noindex> There are identical sub-expressions &#8216;commandArguments.contains(&quot;-apikey&quot;)&#8217; to the left and to the right of the &#8216;||&#8217; operator. ArgumentsUtility.cs 42<\/p>\n<pre><code class=\"cs\">public static bool arguments_contain_sensitive_information(string\n commandArguments)\n{\n  return commandArguments.contains(&quot;-install-arguments-sensitive&quot;)\n  || commandArguments.contains(&quot;-package-parameters-sensitive&quot;)\n  || commandArguments.contains(&quot;apikey &quot;)\n  || commandArguments.contains(&quot;config &quot;)\n  || commandArguments.contains(&quot;push &quot;)\n  || commandArguments.contains(&quot;-p &quot;)\n  || commandArguments.contains(&quot;-p=&quot;)\n  || commandArguments.contains(&quot;-password&quot;)\n  || commandArguments.contains(&quot;-cp &quot;)\n  || commandArguments.contains(&quot;-cp=&quot;)\n  || commandArguments.contains(&quot;-certpassword&quot;)\n  || commandArguments.contains(&quot;-k &quot;)\n  || commandArguments.contains(&quot;-k=&quot;)\n  || commandArguments.contains(&quot;-key &quot;)\n  || commandArguments.contains(&quot;-key=&quot;)\n  || commandArguments.contains(&quot;-apikey&quot;)\n  || commandArguments.contains(&quot;-api-key&quot;)\n  || commandArguments.contains(&quot;-apikey&quot;)\n  || commandArguments.contains(&quot;-api-key&quot;);\n}<\/code><\/pre>\n<p>\n\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0434\u0430\u043d\u043d\u044b\u0439 \u0443\u0447\u0430\u0441\u0442\u043e\u043a \u043a\u043e\u0434\u0430, \u0441\u043a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0438\u043b \u0434\u0432\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u0438 \u0437\u0430\u0431\u044b\u043b \u0438\u0445 \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0418\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 Chocolatey \u043b\u0438\u0448\u0438\u043b\u0438\u0441\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <i>apikey<\/i> \u0435\u0449\u0451 \u043f\u0430\u0440\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432. \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c \u0432\u044b\u0448\u0435, \u043c\u043e\u0433\u0443 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b:<\/p>\n<pre><code class=\"cs\">commandArguments.contains(&quot;-apikey=&quot;);\ncommandArguments.contains(&quot;-api-key=&quot;);<\/code><\/pre>\n<p>\nCopy-paste \u043e\u0448\u0438\u0431\u043a\u0438 \u0438\u043c\u0435\u044e\u0442 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0448\u0430\u043d\u0441 \u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0432 \u043b\u044e\u0431\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u0438 \u043e\u0434\u043d\u043e \u0438\u0437 \u043b\u0443\u0447\u0448\u0438\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0431\u043e\u0440\u044c\u0431\u044b \u0441 \u043d\u0438\u043c\u0438 \u2013 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0430\u043d\u0430\u043b\u0438\u0437.<\/p>\n<p>P.S. \u0418 \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u044d\u0442\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 \u0442\u044f\u0433\u043e\u0442\u0435\u0435\u0442 \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0432 \u043a\u043e\u043d\u0446\u0435 \u043c\u043d\u043e\u0433\u043e\u0441\u0442\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f :). \u0421\u043c. \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044e &quot;<noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/b\/0260\/\">\u042d\u0444\u0444\u0435\u043a\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/a><\/noindex>&quot;.<\/p>\n<p><b>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 N8<\/b><\/p>\n<p>\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430: <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/w\/v3095\/\">V3095<\/a><\/noindex> [CWE-476] The &#8216;installedPackage&#8217; object was used before it was verified against null. Check lines: 910, 917. NugetService.cs 910<\/p>\n<pre><code class=\"cs\">public virtual ConcurrentDictionary&lt;string, PackageResult&gt; get_outdated(....)\n{\n  ....\n  var pinnedPackageResult = outdatedPackages.GetOrAdd(\n    packageName, \n    new PackageResult(installedPackage, \n                      _fileSystem.combine_paths(\n                        ApplicationParameters.PackagesLocation, \n                        installedPackage.Id)));\n  ....\n  if (   installedPackage != null\n      &amp;&amp; !string.IsNullOrWhiteSpace(installedPackage.Version.SpecialVersion) \n      &amp;&amp; !config.UpgradeCommand.ExcludePrerelease)\n  {\n    ....\n  }\n  ....\n}<\/code><\/pre>\n<p>\n\u041a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430: \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442 <i>installedPackage <\/i> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0441\u044f \u043d\u0430 <i>null<\/i>. \u0414\u0430\u043d\u043d\u0430\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043d\u0430\u043c \u043e\u0431 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0434\u0432\u0443\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435: \u043b\u0438\u0431\u043e <i>installedPackage<\/i> \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u0440\u0430\u0432\u0435\u043d <i>null<\/i>, \u0447\u0442\u043e \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0438 \u0442\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u0430, \u043b\u0438\u0431\u043e \u043c\u044b \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0435\u0440\u044c\u0451\u0437\u043d\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443 \u0432 \u043a\u043e\u0434\u0435 \u2013 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043f\u043e \u043d\u0443\u043b\u0435\u0432\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0435.<\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\n\u0412\u043e\u0442 \u043c\u044b \u0438 \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u043b\u0438 \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u0448\u0430\u0433 \u2013 \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f PVS-Studio \u0441\u0442\u0430\u043b\u043e \u0435\u0449\u0451 \u043f\u0440\u043e\u0449\u0435 \u0438 \u0443\u0434\u043e\u0431\u043d\u0435\u0435. \u0422\u0430\u043a\u0436\u0435 \u0445\u043e\u0447\u0443 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e Chocolatey \u2013 \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u043f\u0430\u043a\u0435\u0442\u043d\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u043a\u043e\u0434\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0433\u043b\u043e \u0431\u044b \u0441\u0442\u0430\u0442\u044c \u0435\u0449\u0451 \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 PVS-Studio. <\/p>\n<p>\u041f\u0440\u0438\u0433\u043b\u0430\u0448\u0430\u0435\u043c <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/pvs-studio-download\/\">\u0441\u043a\u0430\u0447\u0430\u0442\u044c<\/a><\/noindex> \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c PVS-Studio. \u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043f\u043e\u0432\u044b\u0441\u0438\u0442 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u0438 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0432\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043a\u043e\u0434\u0430 \u0438 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u043c\u043d\u043e\u0433\u0438\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.viva64.com\/ru\/b\/0689\/\">\u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0443\u043b\u0435\u0432\u043e\u0433\u043e \u0434\u043d\u044f<\/a><\/noindex>. <\/p>\n<h2>P.S.<\/h2>\n<p>\n\u041f\u0435\u0440\u0435\u0434 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0435\u0439 \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c \u0421hocolatey, \u0438 \u043e\u043d\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u0435\u0451 \u043f\u0440\u0438\u043d\u044f\u043b\u0438. \u041d\u0438\u0447\u0435\u0433\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u043d\u0430\u043c\u0438 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u043d\u0435 \u0431\u044b\u043b\u043e, \u043d\u043e \u0438\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u0430\u044f \u043d\u0430\u043c\u0438 \u043e\u0448\u0438\u0431\u043a\u0430, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u0430\u044f \u0441 \u043a\u043b\u044e\u0447\u043e\u043c \u00abapi-key\u00bb.<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/company\/pvs-studio\/blog\/488204\/\"><img decoding=\"async\" alt=\"PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Chocolatey: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Chocolatey \u0438\u0437-\u043f\u043e\u0434 Azure DevOps\" src=\"\/wp-content\/uploads\/2020\/02\/c74d4036ef45d5ac086c486e845b6cac.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435\u0439 \u0441 \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u043e\u0439 \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0435\u0439, \u0442\u043e \u043f\u0440\u043e\u0448\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043f\u0435\u0440\u0435\u0432\u043e\u0434: Vladislav Stolyarov. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/company\/pvs-studio\/blog\/488204\/\">PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps<\/a><\/noindex>.<br \/>\n<br \/>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/pvs-studio\/blog\/488202\/\">habr.com<\/a> <\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 PVS-Studio \u0443\u0434\u043e\u0431\u043d\u0435\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 Chocolatey, \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0435 \u0434\u043b\u044f Windows. \u041c\u044b \u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 PVS-Studio, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0432 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0438\u0434\u0442\u0438 \u0434\u0430\u043b\u0435\u043a\u043e, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u0441\u0451 \u0442\u043e\u0433\u043e \u0436\u0435 Chocolatey. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 CI \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u0442 Azure DevOps. \u0412\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u0435\u0439 \u043d\u0430 \u0442\u0435\u043c\u0443 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":41803,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-41802","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 PVS-Studio \u0443\u0434\u043e\u0431\u043d\u0435\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 Chocolatey, \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0435 \u0434\u043b\u044f Windows. \u041c\u044b \u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 PVS-Studio, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0432 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0438\u0434\u0442\u0438 \u0434\u0430\u043b\u0435\u043a\u043e, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u0441\u0451 \u0442\u043e\u0433\u043e \u0436\u0435 Chocolatey. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 CI \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u0442 Azure DevOps. \u0412\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u0435\u0439 \u043d\u0430 \u0442\u0435\u043c\u0443 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/et\/blog\/pvs-studio-teper-v-chocolatey-proverka-chocolatey-iz-pod-azure-devops\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"et_EE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Chocolatey: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Chocolatey \u0438\u0437-\u043f\u043e\u0434 Azure DevOps | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 PVS-Studio \u0443\u0434\u043e\u0431\u043d\u0435\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 Chocolatey, \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0435 \u0434\u043b\u044f Windows. \u041c\u044b \u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 PVS-Studio, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0432 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0438\u0434\u0442\u0438 \u0434\u0430\u043b\u0435\u043a\u043e, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u0441\u0451 \u0442\u043e\u0433\u043e \u0436\u0435 Chocolatey. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 CI \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u0442 Azure DevOps. \u0412\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u0435\u0439 \u043d\u0430 \u0442\u0435\u043c\u0443 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/et\/blog\/pvs-studio-teper-v-chocolatey-proverka-chocolatey-iz-pod-azure-devops\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-02-16T17:45:52+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-16T17:45:52+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47PVS-Studio n\u00fc\u00fcd Chocolatey-s: Chocolatey kontroll Azure DevOps-ist | ProHoster","description":"Me j\u00e4tkame PVS-Studio kasutamise mugavuse suurendamist. N\u00fc\u00fcd on meie anal\u00fcsaator saadaval Chocolatey\u2019s, Windowsi pakihalduris. Usume, et see lihtsustab PVS-Studio juurutamist, eriti pilveteenustes. Et mitte liiga kaugele minna, kontrollime sama Chocolatey allika Koodi. CI s\u00fcsteemina kasutame Azure DevOps'i. Siin on loetelu teistest meie artiklitest integratsiooni teemal.","canonical_url":"https:\/\/prohoster.info\/et\/blog\/pvs-studio-teper-v-chocolatey-proverka-chocolatey-iz-pod-azure-devops","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"et_EE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Chocolatey: \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 Chocolatey \u0438\u0437-\u043f\u043e\u0434 Azure DevOps | ProHoster","og:description":"\u041c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 PVS-Studio \u0443\u0434\u043e\u0431\u043d\u0435\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 Chocolatey, \u043f\u0430\u043a\u0435\u0442\u043d\u043e\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0435 \u0434\u043b\u044f Windows. \u041c\u044b \u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u044d\u0442\u043e \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 PVS-Studio, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0432 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0438\u0434\u0442\u0438 \u0434\u0430\u043b\u0435\u043a\u043e, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432\u0441\u0451 \u0442\u043e\u0433\u043e \u0436\u0435 Chocolatey. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 CI \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u0442 Azure DevOps. \u0412\u043e\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u0435\u0439 \u043d\u0430 \u0442\u0435\u043c\u0443 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441","og:url":"https:\/\/prohoster.info\/et\/blog\/pvs-studio-teper-v-chocolatey-proverka-chocolatey-iz-pod-azure-devops","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-02-16T17:45:52+00:00","article:modified_time":"2020-02-16T17:45:52+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"41802","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 00:10:23","updated":"2022-09-27 17:40:41"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/41802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/comments?post=41802"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/41802\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media\/41803"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media?parent=41802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/categories?post=41802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/tags?post=41802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}