{"id":339945,"date":"2022-10-19T09:00:37","date_gmt":"2022-10-19T09:00:37","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=339945"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=339945","title":{"rendered":"<span>PVS-Studio 7.21: GitLab Code Quality, Unreal Engine<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/21c\/114\/5da\/21c1145da8d52b2610faa9ce4958d1cc.png\" alt=\"1000_Release_7_21_ru\/image1.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/21c\/114\/5da\/21c1145da8d52b2610faa9ce4958d1cc.png\"\/><\/p>\n<p>  <\/p>\n<p>\u0412\u044b\u0448\u0435\u043b \u043d\u043e\u0432\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 PVS-Studio \u2013 7.21. \u0412 \u044d\u0442\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0435 \u043e\u043f\u0438\u0441\u0430\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u0438 \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u043e\u0442 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0432\u044b\u0448\u0435\u0434\u0448\u0438\u0435 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f: \u0441\u0442\u0430\u0442\u044c\u0438, \u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432 \u0441 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0439.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p><strong>\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c PVS-Studio 7.21<\/strong> \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/pvs-studio.com\/ru\/pvs-studio\/download\/\">\u0442\u0443\u0442<\/a>. \u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430, \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0440\u0438\u0430\u043b \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/pvs-studio.com\/ru\/pvs-studio\/download\/#trial_form\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <\/p>\n<p>\u0418\u0442\u0430\u043a, \u0447\u0442\u043e \u0436\u0435 \u043d\u043e\u0432\u043e\u0433\u043e?<\/p>\n<p>  <\/p>\n<h2 id=\"otchyoty-pvs-studio-sovmestimye-s-gitlab-code-quality\">\u041e\u0442\u0447\u0451\u0442\u044b PVS-Studio, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0435 \u0441 GitLab Code Quality<\/h2>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/fef\/da4\/91b\/fefda491b6d12002b9088cef68259d8a.png\" alt=\"1000_Release_7_21_ru\/image2.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/fef\/da4\/91b\/fefda491b6d12002b9088cef68259d8a.png\"\/><\/p>\n<p>  <\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u044b PVS-Studio \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u0442\u0447\u0451\u0442, \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0439 \u0441 GitLab Code Quality. \u042d\u0442\u043e \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u044b GitLab. <\/p>\n<p>  <\/p>\n<p>\u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043f\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e PVS-Studio \u0432 GitLab CI\/CD <a href=\"https:\/\/pvs-studio.com\/ru\/docs\/manual\/0056\/#ID0BA78EAC23\">\u043e\u043f\u0438\u0441\u0430\u043b\u0438<\/a>, \u043a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u043e\u0442\u0447\u0451\u0442.<\/p>\n<p>  <\/p>\n<h2 id=\"bolee-tesnaya-integraciya-s-unreal-engine\">\u0411\u043e\u043b\u0435\u0435 \u0442\u0435\u0441\u043d\u0430\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 Unreal Engine<\/h2>\n<p>  <\/p>\n<p>\u041c\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 Unreal Engine. \u0412 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0441\u0440\u0430\u0437\u0443 \u0442\u0440\u0438 \u043d\u043e\u0432\u043e\u0441\u0442\u0438:<\/p>\n<p>  <\/p>\n<ol>\n<li>\u041d\u0430\u0443\u0447\u0438\u043b\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c \u0435\u0449\u0451 \u0431\u043e\u043b\u044c\u0448\u0435 \u0442\u0438\u043f\u043e\u0432, \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0445 \u0434\u043b\u044f Unreal Engine \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432. \u0425\u043e\u0440\u043e\u0448\u0438\u0445 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0439 \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u0442\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435, \u043b\u043e\u0436\u043d\u044b\u0445 \u2013 \u043c\u0435\u043d\u044c\u0448\u0435.<\/li>\n<li>\u0412 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 <a href=\"https:\/\/pvs-studio.com\/ru\/docs\/manual\/0043\/#IDFBE2B5765F\">\u043e\u043f\u0438\u0441\u0430\u043b\u0438<\/a>, \u043a\u0430\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PVS-Studio \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c Unreal Engine \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043f\u043e\u0434 Linux.<\/li>\n<li>\u0421\u0434\u0435\u043b\u0430\u043b\u0438 <a href=\"https:\/\/github.com\/EpicGames\/UnrealEngine\/pull\/9546\">pull request<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 UE-\u043f\u0440\u043e\u0435\u043a\u0442\u0430\u043c\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0442\u0430\u0439\u043c\u0430\u0443\u0442 \u0434\u043b\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0444\u0430\u0439\u043b\u043e\u0432. \u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0443\u0436\u0435 \u0437\u0430\u043a\u043e\u043c\u043c\u0438\u0447\u0435\u043d\u044b \u0432 \u043a\u043e\u0434 \u0434\u0432\u0438\u0436\u043a\u0430 \u0438 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 Unreal Engine. <\/li>\n<\/ol>\n<p>  <\/p>\n<h2 id=\"uluchshenie-krossplatformennyh-scenariev-raboty\">\u0423\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 \u0440\u0430\u0431\u043e\u0442\u044b<\/h2>\n<p>  <\/p>\n<p>\u041f\u043b\u0430\u0433\u0438\u043d PVS-Studio \u0434\u043b\u044f Visual Studio \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0444\u0430\u0439\u043b\u0430\u043c\u0438 \u043f\u043e\u0434\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 JSON (\u0440\u0430\u043d\u0435\u0435 \u0444\u043e\u0440\u043c\u0430\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0443\u0442\u0438\u043b\u0438\u0442\u0430\u0445 \u0432 Linux \u0438 macOS). \u042d\u0442\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u043e\u0434\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f\u043c\u0438. \u0412\u043d\u0435\u0434\u0440\u0438\u0442\u044c PVS-Studio \u0432 \u043a\u0440\u043e\u0441\u0441\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u0441 legacy-\u043a\u043e\u0434\u043e\u043c \u0442\u0430\u043a\u0436\u0435 \u0441\u0442\u0430\u043d\u0435\u0442 \u043b\u0435\u0433\u0447\u0435.<\/p>\n<p>  <\/p>\n<h2 id=\"novye-vozmozhnosti-podavleniya-preduprezhdeniy\">\u041d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u0434\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0439<\/h2>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430, \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442. \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u043e\u0434\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443, \u043d\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u044f \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438 \u0446\u0435\u043b\u0438\u043a\u043e\u043c. \u041e\u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0444\u0438\u043b\u044c\u0442\u0440 \u043c\u043e\u0436\u043d\u043e \u0432 <a href=\"https:\/\/pvs-studio.com\/ru\/docs\/manual\/6630\/\">.pvsconfig-\u0444\u0430\u0439\u043b\u0430\u0445<\/a> (C++, C#) \u0438\u043b\u0438 \u043f\u0440\u044f\u043c\u043e \u0432 \u043a\u043e\u0434\u0435 (\u0442\u043e\u043b\u044c\u043a\u043e C++).<\/p>\n<p>  <\/p>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440. \u0414\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 <a href=\"https:\/\/pvs-studio.com\/ru\/docs\/warnings\/v3022\/\">V3022<\/a> C# \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 PVS-Studio \u0432\u044b\u0434\u0430\u0451\u0442 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u043a\u043e\u0434\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u0442\u0438\u043d\u043d\u043e \u0438\u043b\u0438 \u043b\u043e\u0436\u043d\u043e. <\/p>\n<p>  <\/p>\n<p>\u0412\u0437\u0433\u043b\u044f\u043d\u0435\u043c \u043d\u0430 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043a\u043e\u0434\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"cs\">static void ProcessStr(String str) {   if (str == \"temp\")   {     if (str.Length != 0) \/\/ V3022 (expression is always true)       ....      if (str.Length == 0) \/\/ V3022 (expression is always false)       ....   } }<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u043c\u044b \u043d\u0435 \u0445\u043e\u0442\u0438\u043c \u0432\u044b\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0443 V3022 \u0446\u0435\u043b\u0438\u043a\u043e\u043c, \u043d\u043e \u0445\u043e\u0442\u0438\u043c \u0432\u0438\u0434\u0435\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f \u043d\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043b\u043e\u0436\u043d\u044b. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 .pvsconfig-\u0444\u0430\u0439\u043b \u0442\u0430\u043a\u043e\u0439 \u0444\u0438\u043b\u044c\u0442\u0440:<\/p>\n<p>  <\/p>\n<pre><code class=\"cs\">\/\/-V::3022::{always true}<\/code><\/pre>\n<p>  <\/p>\n<p>PVS-Studio \u043e\u0442\u0444\u0438\u043b\u044c\u0442\u0440\u0443\u0435\u0442 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f V3022, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0442\u0435\u043a\u0441\u0442 &#171;always true&#187;. \u041d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043a\u043e\u0434\u0430 \u0432\u044b\u0448\u0435 \u043f\u0435\u0440\u0432\u043e\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u043f\u0430\u0434\u0451\u0442, \u0430 \u0432\u0442\u043e\u0440\u043e\u0435 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f.<\/p>\n<p>  <\/p>\n<h2 id=\"dokumentaciya-po-faylam-konfiguracii-diagnostik-pvsconfig\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u043e \u0444\u0430\u0439\u043b\u0430\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a (.pvsconfig)<\/h2>\n<p>  <\/p>\n<p>\u0424\u0430\u0439\u043b\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a;<\/li>\n<li>\u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0438\u0437 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u043c\u0443 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0443;<\/li>\n<li>\u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f \u0438 \u0442.\u043f.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0412 \u043d\u043e\u0432\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <a href=\"https:\/\/pvs-studio.com\/ru\/docs\/manual\/6630\/\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a> \u043c\u044b \u043e\u043f\u0438\u0441\u0430\u043b\u0438 \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 .pvsconfig-\u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c\u0438 \u0432 \u0440\u0430\u0437\u043d\u043e\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438.<\/p>\n<p>  <\/p>\n<h2 id=\"novye-diagnostiki\">\u041d\u043e\u0432\u044b\u0435 \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0438<\/h2>\n<p>  <\/p>\n<p>C, C++<\/p>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/pvs-studio.com\/ru\/docs\/warnings\/v1090\/\">V1090<\/a>. The &#8216;std::uncaught_exception&#8217; function is deprecated since C++17 and is removed in C++20. Consider replacing this function with &#8216;std::uncaught_exceptions&#8217;.<\/li>\n<li><a href=\"https:\/\/pvs-studio.com\/ru\/docs\/warnings\/v1091\/\">V1091<\/a>. The pointer is cast to an integer type of a larger size. Casting pointer to a type of a larger size is an implementation-defined behavior.<\/li>\n<li><a href=\"https:\/\/pvs-studio.com\/ru\/docs\/warnings\/v1092\/\">V1092<\/a>. Recursive function call during the static\/thread_local variable initialization might occur. This may lead to undefined behavior.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>C#<\/p>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/pvs-studio.com\/ru\/docs\/warnings\/v3178\/\">V3178<\/a>. Calling method or accessing property of potentially disposed object may result in exception.<\/li>\n<li><a href=\"https:\/\/pvs-studio.com\/ru\/docs\/warnings\/v3179\/\">V3179<\/a>. Calling element access method for potentially empty collection may result in exception.<\/li>\n<li><a href=\"https:\/\/pvs-studio.com\/ru\/docs\/warnings\/v3180\/\">V3180<\/a>. The &#8216;HasFlag&#8217; method always returns &#8216;true&#8217; because the value &#8216;0&#8217; is passed as its argument.<\/li>\n<li><a href=\"https:\/\/pvs-studio.com\/ru\/docs\/warnings\/v3181\/\">V3181<\/a>. The result of &#8216;&amp;&#8217; operator is &#8216;0&#8217; because one of the operands is &#8216;0&#8217;.<\/li>\n<li><a href=\"https:\/\/pvs-studio.com\/ru\/docs\/warnings\/v3182\/\">V3182<\/a>. The result of &#8216;&amp;&#8217; operator is always &#8216;0&#8217;.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"interaktiv\">\u0418\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432<\/h2>\n<p>  <\/p>\n<p>\u0421\u0434\u0435\u043b\u0430\u043b\u0438 \u043e\u043f\u0440\u043e\u0441 &#171;\u041a\u0442\u043e \u0442\u044b \u0432 \u043c\u0438\u0440\u0435 C#&#187;. \u041f\u0440\u043e\u0439\u0442\u0438 \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e <a href=\"https:\/\/pvs-studio.com\/ru\/blog\/quest\/who_you_are_in_csharp\/\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/ba0\/d44\/4bd\/ba0d444bd24a0e0e9833af8c2e18c0af.png\" alt=\"1000_Release_7_21_ru\/image3.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/ba0\/d44\/4bd\/ba0d444bd24a0e0e9833af8c2e18c0af.png\"\/><\/p>\n<p>  <\/p>\n<p>\u041a\u0441\u0442\u0430\u0442\u0438, \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435, \u0435\u0441\u043b\u0438 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0439\u0442\u0438 \u0442\u0435\u0441\u0442 \u043d\u0435 \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 &#171;\u0422\u044b \u0441\u0431\u043e\u0440\u0449\u0438\u043a \u043c\u0443\u0441\u043e\u0440\u0430&#187;. \u0418\u043b\u0438 \u043c\u043d\u0435 \u0442\u0430\u043a \u043d\u0435 \u0432\u0435\u0437\u0451\u0442, \u0438\u043b\u0438 \u043d\u0430\u0448\u0430 C# \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0432\u0441\u0435\u0445 \u0437\u0430\u0442\u0440\u043e\u043b\u043b\u0438\u0442\u044c \u0440\u0435\u0448\u0438\u043b\u0430\u2026 \ud83d\ude42<\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u044b, \u0432\u043e\u0442 \u043e\u043d\u0438:<\/p>\n<p>  <\/p>\n<ul>\n<li><a href=\"https:\/\/pvs-studio.com\/ru\/blog\/quest\/who_you_are_in_cpp\/\">\u043e\u043f\u0440\u043e\u0441<\/a> &#171;\u041a\u0442\u043e \u0442\u044b \u0432 \u043c\u0438\u0440\u0435 C++&#187;;<\/li>\n<li><a href=\"https:\/\/quiz.pvs-studio.com\/ru\/csharp\/\">\u0438\u0433\u0440\u0430<\/a> &#171;\u041f\u043e\u0438\u0441\u043a \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u043a\u043e\u0434\u0435 \u043d\u0430 C#&#187;;<\/li>\n<li><a href=\"https:\/\/quiz.pvs-studio.com\/ru\/cpp\/\">\u0438\u0433\u0440\u0430<\/a> &#171;\u041f\u043e\u0438\u0441\u043a \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u043a\u043e\u0434\u0435 \u043d\u0430 C++&#187;. <\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"stati\">\u0421\u0442\u0430\u0442\u044c\u0438<\/h2>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043f\u0438\u0448\u0435\u0442 \u043d\u0430 C++:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0422\u043e\u043f-10 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432 \u043d\u0430 \u0421++ \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f\u0445 2019-2022 \u0433\u043e\u0434\u0430 (<a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/cpp\/0999\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>);<\/li>\n<li>\u0415\u0441\u0442\u044c \u043b\u0438 \u0436\u0438\u0437\u043d\u044c \u0431\u0435\u0437 RTTI: \u043f\u0438\u0448\u0435\u043c \u0441\u0432\u043e\u0439 dynamic_cast (<a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/cpp\/0998\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>);<\/li>\n<li>\u0411\u043e\u0440\u0435\u043c\u0441\u044f \u0441 16-\u043b\u0435\u0442\u043d\u0438\u043c \u043b\u0435\u0433\u0430\u0441\u0438-\u043a\u043e\u0434\u043e\u043c, \u0438\u043b\u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c C \u0438 C++ front-end \u0432 PVS-Studio (<a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/cpp\/0992\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>);<\/li>\n<li>\u0418\u043d\u0442\u0435\u0440\u0432\u044c\u044e \u0441 \u0414\u0436\u0435\u0439\u0441\u043e\u043d\u043e\u043c \u0422\u0435\u0440\u043d\u0435\u0440\u043e\u043c, \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0432\u0435\u0434\u0443\u0449\u0438\u0445 \u043f\u043e\u0434\u043a\u0430\u0441\u0442\u0430 &#171;CppCast&#187;: \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u0438 \u043f\u0440\u0438\u0447\u0438\u043d\u044b \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 (<a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/cpp\/0993\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>).<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043f\u0438\u0448\u0435\u0442 \u043d\u0430 C#:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u0432 C#: OrderBy.OrderBy \u0438\u043b\u0438 OrderBy.ThenBy? \u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u0435\u0435 \u0438 \u043f\u043e\u0447\u0435\u043c\u0443 (<a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/csharp\/0991\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>);<\/li>\n<li>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 List \u0432 C# (<a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/csharp\/0995\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>);<\/li>\n<li>\u0427\u0435\u043c \u043e\u043f\u0430\u0441\u043d\u044b \u0443\u044f\u0437\u0432\u0438\u043c\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438 \u043a\u0430\u043a \u0441 \u044d\u0442\u0438\u043c \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 SCA? (<a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/csharp\/0987\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>);<\/li>\n<li>\u041f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u0437\u044f\u0442\u044c\u0441\u044f \u0437\u0430 .NET MAUI? \u0411\u0443\u0434\u044c\u0442\u0435 \u0433\u043e\u0442\u043e\u0432\u044b \u043a \u043f\u0440\u0438\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f\u043c \u0441 NullReferenceException (<a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/csharp\/0996\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>).<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041f\u043e\u0438\u0441\u043a \u043e\u0448\u0438\u0431\u043e\u043a \u0432 \u043a\u043e\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0434\u0432\u0438\u0436\u043e\u043a Stride (C#): <a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/csharp\/0994\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>;<\/li>\n<li>\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u043c\u0430\u0448\u0438\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f ML.NET (C#): <a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/csharp\/0988\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>;<\/li>\n<li>\u0441\u0431\u043e\u0440\u043e\u0447\u043d\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 MSBuild (C#): <a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/csharp\/0986\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>;<\/li>\n<li>\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a \u0438 CMS Orchard Core (C#): <a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/csharp\/0982\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>;<\/li>\n<li>JavsScript-\u0434\u0432\u0438\u0436\u043e\u043a Rhino (Java): <a href=\"https:\/\/pvs-studio.com\/ru\/blog\/posts\/java\/0990\/\">\u0441\u0441\u044b\u043b\u043a\u0430<\/a>.<\/li>\n<\/ul>\n<p>  <\/p>\n<h2 id=\"doklady\">\u0414\u043e\u043a\u043b\u0430\u0434\u044b<\/h2>\n<p>  <\/p>\n<p>\u0412 \u0441\u0435\u0442\u044c \u0432\u044b\u043b\u043e\u0436\u0438\u043b\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432 \u0441 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 DotNext 2022 Spring. \u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d <a href=\"https:\/\/www.youtube.com\/c\/DotNextConf\/videos\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/a22\/7fe\/307\/a227fe30708d202fd95dbf404cbe6287.png\" alt=\"1000_Release_7_21_ru\/image4.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/a22\/7fe\/307\/a227fe30708d202fd95dbf404cbe6287.png\"\/><\/p>\n<p>  <\/p>\n<p>\u041e\u0442 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 \u0431\u044b\u043b\u043e 2 \u0434\u043e\u043a\u043b\u0430\u0434\u0430, \u0438 \u043e\u0431\u0430 \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u044b \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u041d\u0438\u043a\u0438\u0442\u0430 \u041b\u0438\u043f\u0438\u043b\u0438\u043d: SAST \u0438 SCA: \u043f\u043e\u0438\u0441\u043a \u0434\u0435\u0444\u0435\u043a\u0442\u043e\u0432 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432 \u043a\u043e\u0434\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u0435\u0433\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u0445. <a href=\"https:\/\/www.youtube.com\/watch?v=1aO4zeUUhlA&amp;t=12s&amp;ab_channel=DotNext\">\u0421\u0441\u044b\u043b\u043a\u0430<\/a>.<\/li>\n<li>\u0421\u0435\u0440\u0433\u0435\u0439 \u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432: \u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 XML-\u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u0430\u043a \u043f\u0440\u0438\u0447\u0438\u043d\u0430 \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439. <a href=\"https:\/\/www.youtube.com\/watch?v=7L21g7eedtA&amp;t=111s&amp;ab_channel=DotNext\">\u0421\u0441\u044b\u043b\u043a\u0430<\/a>.<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u0415\u0449\u0451 \u043e\u0434\u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f, \u0434\u043e\u043a\u043b\u0430\u0434\u044b \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0442\u0430\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u2013 Heisenbug 2022 Spring. \u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432 \u2013 <a href=\"https:\/\/www.youtube.com\/c\/Heisenbugconf\/videos\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/945\/e08\/39a\/945e0839a15b382e3e037b5f5c62a57f.png\" alt=\"1000_Release_7_21_ru\/image5.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/945\/e08\/39a\/945e0839a15b382e3e037b5f5c62a57f.png\"\/><\/p>\n<p>  <\/p>\n<p>\u0414\u043e\u043a\u043b\u0430\u0434\u044b \u043e\u0442 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u0421\u0435\u0440\u0433\u0435\u0439 \u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432: \u041a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. <a href=\"https:\/\/youtu.be\/ihVCwkdEqRA\">\u0421\u0441\u044b\u043b\u043a\u0430<\/a>.<\/li>\n<li>\u0421\u0435\u0440\u0433\u0435\u0439 \u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432: \u041f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043b\u0438 \u0432\u044b \u043f\u0430\u0440\u0441\u0438\u0442\u0435 XML? \u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0441 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044f\u043c\u0438. <a href=\"https:\/\/youtu.be\/1OuJkOH8aP4\">\u0421\u0441\u044b\u043b\u043a\u0430<\/a>.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/pvs-studio\/blog\/694216\/\"> https:\/\/habr.com\/ru\/company\/pvs-studio\/blog\/694216\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/post_images\/21c\/114\/5da\/21c1145da8d52b2610faa9ce4958d1cc.png\" alt=\"1000_Release_7_21_ru\/image1.png\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/21c\/114\/5da\/21c1145da8d52b2610faa9ce4958d1cc.png\"\/><\/p>\n<p>  <\/p>\n<p>\u0412\u044b\u0448\u0435\u043b \u043d\u043e\u0432\u044b\u0439 \u0440\u0435\u043b\u0438\u0437 PVS-Studio \u2013 7.21. \u0412 \u044d\u0442\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043a\u0435 \u043e\u043f\u0438\u0441\u0430\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u0430\u043d\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 \u0438 \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u043e\u0442 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0432\u044b\u0448\u0435\u0434\u0448\u0438\u0435 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f: \u0441\u0442\u0430\u0442\u044c\u0438, \u043e\u043f\u0440\u043e\u0441\u044b \u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0434\u043e\u043a\u043b\u0430\u0434\u043e\u0432 \u0441 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0439.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-339945","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/339945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=339945"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/339945\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=339945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=339945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=339945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}