{"id":192538,"date":"2013-09-05T12:14:05","date_gmt":"2013-09-05T08:14:05","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=192538"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=192538","title":{"rendered":"<span class=\"post_title\">Code coverage \u0432 Badoo<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/f6c\/e51\/9c5\/f6ce519c58705ffb1aec73460c2be3b9.jpg\" align=\"left\"\/> \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043d\u0430\u0437\u0430\u0434 \u043c\u044b \u0443\u0441\u043a\u043e\u0440\u0438\u043b\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e code coverage \u0441 70 \u0434\u043e 2,5 \u0447\u0430\u0441\u043e\u0432. \u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043a\u0430\u043a \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0432 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0435\/\u0438\u043c\u043f\u043e\u0440\u0442\u0435 coverage. \u0410 \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043d\u0430\u0448\u0438 pull requests \u043f\u043e\u043f\u0430\u043b\u0438 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 phpunit, phpcov \u0438 php-code-coverage.<\/p>\n<p>  \u041c\u044b \u043d\u0435 \u0440\u0430\u0437 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f\u0445 \u0438 \u0432 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u044b \u00ab\u0433\u043e\u043d\u044f\u0435\u043c\u00bb \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0442\u044b\u0441\u044f\u0447 \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u043e\u0432 \u0437\u0430 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u044d\u0444\u0444\u0435\u043a\u0442 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442\u0441\u044f, \u043a\u0430\u043a \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u0437\u0430 \u0441\u0447\u0451\u0442 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438. \u0418 \u0432\u0441\u0451 \u0431\u044b \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u043e\u0434\u043d\u0430 \u0438\u0437 \u0432\u0430\u0436\u043d\u044b\u0445 \u043c\u0435\u0442\u0440\u0438\u043a \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2015 \u044d\u0442\u043e \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u043a\u043e\u0434\u0430 \u0442\u0435\u0441\u0442\u0430\u043c\u0438. <br \/>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u0435\u0433\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438, \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e. \u0411\u0435\u0437 \u043d\u0430\u0448\u0438\u0445 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439 \u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u043b \u0431\u043e\u043b\u0435\u0435 70 \u0447\u0430\u0441\u043e\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u043e\u0432. \u041f\u043e\u0441\u043b\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u044b \u0442\u0440\u0430\u0442\u0438\u043c \u0432\u0441\u0435\u0433\u043e 2,5 \u0447\u0430\u0441\u0430 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u043f\u043e \u0432\u0441\u0435\u043c \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u0430\u043c \u0438 \u0434\u0432\u0443\u043c \u043d\u0430\u0431\u043e\u0440\u0430\u043c \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u043e\u0431\u0449\u0438\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u0431\u043e\u043b\u0435\u0435 30 \u0442\u044b\u0441\u044f\u0447.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0422\u0435\u0441\u0442\u044b \u043c\u044b \u0432 Badoo \u043f\u0438\u0448\u0435\u043c \u043d\u0430 PHP, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c PHPUnit Framework \u043e\u0442 \u0421\u0435\u0431\u0430\u0441\u0442\u044c\u044f\u043d\u0430 \u0411\u0435\u0440\u0433\u043c\u0430\u043d\u0430 (Sebastian Bergmann, <a href=\"http:\/\/phpunit.de\">phpunit.de<\/a>). <br \/>  \u041f\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u0432 \u044d\u0442\u043e\u043c \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0435, \u043a\u0430\u043a \u0438 \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0434\u0440\u0443\u0433\u0438\u0445, \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f <a href=\"http:\/\/www.xdebug.org\/\">Xdebug<\/a> \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438 \u0432\u044b\u0437\u043e\u0432\u0430\u043c\u0438:<\/p>\n<pre><code class=\"php\">xdebug_start_code_coverage(); \/\/\u2026 \u0442\u0443\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u0434 \u2026 $codeCoverage = xdebug_get_code_coverage(); xdebug_stop_code_coverage(); <\/code><\/pre>\n<p>  \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u0444\u0430\u0439\u043b\u044b, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0432\u0448\u0438\u0435\u0441\u044f \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u0431\u043e\u0440\u0430 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f, \u0438 \u043d\u043e\u043c\u0435\u0440\u0430 \u0441\u0442\u0440\u043e\u043a \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u0441\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0444\u043b\u0430\u0433\u0430\u043c\u0438: \u0431\u044b\u043b \u043b\u0438 \u0432\u044b\u0437\u0432\u0430\u043d \u043a\u043e\u0434, \u043d\u0435 \u0431\u044b\u043b \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u043b \u0432\u044b\u0437\u0432\u0430\u0442\u044c\u0441\u044f. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043f\u0440\u043e \u0440\u0430\u0431\u043e\u0442\u0443 Xdebug \u0441 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043d\u0430 <a href=\"http:\/\/www.xdebug.org\/docs\/code_coverage\">\u0441\u0430\u0439\u0442\u0435<\/a> \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<p>  \u0423 \u0421\u0435\u0431\u0430\u0441\u0442\u044c\u044f\u043d\u0430 \u0411\u0435\u0440\u0433\u043c\u0430\u043d\u0430 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"https:\/\/github.com\/sebastianbergmann\/php-code-coverage\">PHP_CodeCoverage<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u0441\u0431\u043e\u0440, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0438 \u0432\u044b\u0432\u043e\u0434 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0445. \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0443\u0434\u043e\u0431\u043d\u0430, \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u0430 \u0438 \u043d\u0430\u0441 \u0432\u043f\u043e\u043b\u043d\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442. \u0423 \u043d\u0435\u0451 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u044b\u0439 \u0444\u0440\u043e\u043d\u0442\u0435\u043d\u0434 <a href=\"https:\/\/github.com\/sebastianbergmann\/phpcov\">phpcov<\/a>. <br \/>  \u041d\u043e \u0438 \u0432 \u0441\u0430\u043c \u0432\u044b\u0437\u043e\u0432 PHPUnit \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0443\u0436\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f \u0438 \u0432\u044b\u0432\u043e\u0434 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u0430\u0445:<\/p>\n<pre><code class=\"bash\"> --coverage-clover &lt;file&gt;  Generate code coverage report in Clover XML format.  --coverage-html &lt;dir&gt;     Generate code coverage report in HTML format.  --coverage-php &lt;file&gt;     Serialize PHP_CodeCoverage object to file.  --coverage-text=&lt;file&gt;    Generate code coverage report in text format. <\/code><\/pre>\n<p>  \u041e\u043f\u0446\u0438\u044f &#8212;coverage-php \u2015 \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0435: \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u0442\u043e\u043a \u043f\u043e\u0434\u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b *.cov. \u0410\u0433\u0440\u0435\u0433\u0430\u0446\u0438\u044e \u0438 \u0432\u044b\u0432\u043e\u0434 \u0432 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439 html-\u043e\u0442\u0447\u0451\u0442 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0437\u043e\u0432\u043e\u043c phpcov \u0441 \u0444\u043b\u0430\u0433\u043e\u043c &#8212;merge.<\/p>\n<pre><code class=\"bash\">--merge                 Merges PHP_CodeCoverage objects stored in .cov files. <\/code><\/pre>\n<p>  \u0412\u044b\u0445\u043e\u0434\u0438\u0442 \u0432\u0441\u0451 \u0441\u043a\u043b\u0430\u0434\u043d\u043e, \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0438 \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb. \u041d\u043e, \u0432\u0438\u0434\u0438\u043c\u043e, \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0432\u0441\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u044d\u0442\u043e\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u0441\u0430\u043c\u043e\u0433\u043e \u0430\u0432\u0442\u043e\u0440\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0438\u043d\u0430\u0447\u0435 \u0431\u044b\u0441\u0442\u0440\u043e \u0431\u044b \u0432\u0441\u043f\u043b\u044b\u043b\u0430 \u043d\u0430 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u044c \u00ab\u043d\u0435\u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u00bb \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430-\u0438\u043c\u043f\u043e\u0440\u0442\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0430\u044f \u0432 PHP_CodeCoverage. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u043f\u043e \u043f\u043e\u0440\u044f\u0434\u043a\u0443, \u0432 \u0447\u0451\u043c \u0436\u0435 \u0434\u0435\u043b\u043e.<\/p>\n<p>  \u0417\u0430 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 *.cov \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441-\u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440 <a href=\"https:\/\/github.com\/sebastianbergmann\/php-code-coverage\/blob\/3e09776b984dba56dfcd866226e0524b14b9af0c\/PHP\/CodeCoverage\/Report\/PHP.php\">PHP_CodeCoverage_Report_PHP<\/a>, \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442. \u042d\u0442\u043e \u043c\u0435\u0442\u043e\u0434 process(), \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0449\u0438\u0439 \u043d\u0430 \u0432\u0445\u043e\u0434 \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 PHP_CodeCoverage \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0438\u0439 \u0435\u0433\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 serialize(). <\/p>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b (\u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u043d \u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443), \u043b\u0438\u0431\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043c\u0435\u0442\u043e\u0434\u0430.<\/p>\n<pre><code class=\"php\">class PHP_CodeCoverage_Report_PHP {     \/**      * @param  PHP_CodeCoverage $coverage      * @param  string           $target      * @return string      *\/     public function process(PHP_CodeCoverage $coverage, $target = NULL)     {         $coverage = serialize($coverage);          if ($target !== NULL) {             return file_put_contents($target, $coverage);         } else {             return $coverage;         }     } } <\/code><\/pre>\n<p>  \u0418\u043c\u043f\u043e\u0440\u0442 \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 phpcov, \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442, \u0431\u0435\u0440\u0451\u0442 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435\u043c *.cov \u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u0435\u043b\u0430\u0435\u0442 <a href=\"https:\/\/github.com\/sebastianbergmann\/phpcov\/blob\/9fa09b40f410ee1a78df59d6007fe9e80a87ee0a\/src\/MergeCommand.php#L107\">unserialize() \u0432 \u043e\u0431\u044a\u0435\u043a\u0442<\/a>. \u041e\u0431\u044a\u0435\u043a\u0442 \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u043c\u0435\u0442\u043e\u0434 merge() \u043e\u0431\u044a\u0435\u043a\u0442\u0430 PHP_CodeCoverage, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435.<\/p>\n<pre><code class=\"php\">    protected function execute(InputInterface $input, OutputInterface $output)     {         $coverage = new PHP_CodeCoverage;          $finder = new FinderFacade(             array($input-&gt;getArgument('directory')), array(), array('*.cov')         );          foreach ($finder-&gt;findFiles() as $file) {             $coverage-&gt;merge(unserialize(file_get_contents($file)));         }          $this-&gt;handleReports($coverage, $input, $output);     } <\/code><\/pre>\n<p>  \u0421\u0430\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u043b\u0438\u044f\u043d\u0438\u044f \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442. \u042d\u0442\u043e \u0441\u043b\u0438\u044f\u043d\u0438\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u0432 array_merge() \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u043d\u044e\u0430\u043d\u0441\u0430\u043c\u0438 \u0432\u0440\u043e\u0434\u0435 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0443\u0436\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u043e\u0441\u044c, \u043b\u0438\u0431\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043e \u043a\u0430\u043a \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0444\u0438\u043b\u044c\u0442\u0440\u0430 \u0432 \u0432\u044b\u0437\u043e\u0432 phpcov (&#8212;blacklist \u0438 &#8212;whitelist).<\/p>\n<pre><code class=\"php\">     \/**      * Merges the data from another instance of PHP_CodeCoverage.      *      * @param PHP_CodeCoverage $that      *\/     public function merge(PHP_CodeCoverage $that)     {         foreach ($that-&gt;data as $file =&gt; $lines) {             if (!isset($this-&gt;data[$file])) {                 if (!$this-&gt;filter-&gt;isFiltered($file)) {                     $this-&gt;data[$file] = $lines;                 }                  continue;             }              foreach ($lines as $line =&gt; $data) {                 if ($data !== NULL) {                     if (!isset($this-&gt;data[$file][$line])) {                         $this-&gt;data[$file][$line] = $data;                     } else {                         $this-&gt;data[$file][$line] = array_unique(                           array_merge($this-&gt;data[$file][$line], $data)                         );                     }                 }             }         }          $this-&gt;tests = array_merge($this-&gt;tests, $that-&gt;getTests());     } <\/code><\/pre>\n<p>  \u0418\u043c\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0430 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0434\u0435\u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0441\u0442\u0430\u043b\u043e \u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043d\u0435 \u0434\u0430\u0432\u0430\u043b\u0430 \u043d\u0430\u043c \u0431\u044b\u0441\u0442\u0440\u043e \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435. \u041d\u0435 \u0440\u0430\u0437 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u043b\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0439 serialize \u0438 unserialize \u0432 PHP: <br \/>  <a href=\"http:\/\/stackoverflow.com\/questions\/1256949\/serialize-a-large-array-in-php\">http:\/\/stackoverflow.com\/questions\/1256949\/serialize-a-large-array-in-php<\/a>;<br \/>  <a href=\"http:\/\/habrahabr.ru\/post\/104069\">http:\/\/habrahabr.ru\/post\/104069 <\/a>\u0438 \u0442.\u0434.<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, PHP-\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 35 \u0442\u044b\u0441\u044f\u0447 \u0444\u0430\u0439\u043b\u043e\u0432, \u0444\u0430\u0439\u043b\u044b \u0441 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435\u043c \u0432\u0435\u0441\u044f\u0442 \u043d\u0435\u043c\u0430\u043b\u043e, \u043f\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0442 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442. \u041e\u0431\u0449\u0438\u0439 \u0444\u0430\u0439\u043b, \u00ab\u0441\u043c\u0435\u0440\u0436\u0435\u043d\u043d\u044b\u0439\u00bb \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u0432\u0435\u0441\u0438\u0442 \u043f\u043e\u0447\u0442\u0438 2 \u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442\u0430. \u041d\u0430 \u0442\u0430\u043a\u0438\u0445 \u043e\u0431\u044a\u0451\u043c\u0430\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 unserialize \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u0441\u0435\u0431\u044f \u0432\u043e \u0432\u0441\u0435\u0439 \u043a\u0440\u0430\u0441\u0435 \u2015 \u043c\u044b \u0436\u0434\u0430\u043b\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f \u043f\u043e \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0443\u0442\u043e\u043a.<\/p>\n<p>  \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u044b\u0439 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u2015 var_export \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 include \u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 php-code-coverage \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d <a href=\"https:\/\/github.com\/uyga\/php-code-coverage\/blob\/230e5d75df90518f6b266d88350cf85a0dd1e6d9\/PHP\/CodeCoverage\/Report\/PHPSmart.php\">\u043d\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441-\u0440\u0435\u043f\u043e\u0440\u0442\u0435\u0440<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u0435\u043b\u0430\u0435\u0442 \u044d\u043a\u0441\u043f\u043e\u0440\u0442 \u0432 \u043d\u043e\u0432\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0447\u0435\u0440\u0435\u0437 var_export:<\/p>\n<pre><code class=\"php\">class PHP_CodeCoverage_Report_PHPSmart {     \/**      * @param  PHP_CodeCoverage $coverage      * @param  string           $target      * @return string      *\/     public function process(PHP_CodeCoverage $coverage, $target = NULL)     {         $output = '&lt;?php $filter = new PHP_CodeCoverage_Filter();'             . '$filter-&gt;setBlacklistedFiles(' . var_export($coverage-&gt;filter()-&gt;getBlacklistedFiles(), 1) . ');'             . '$filter-&gt;setWhitelistedFiles(' . var_export($coverage-&gt;filter()-&gt;getWhitelistedFiles(), 1) . ');'             . '$object = new PHP_CodeCoverage(new PHP_CodeCoverage_Driver_Xdebug(), $filter); $object-&gt;setData('             . var_export($coverage-&gt;getData(), 1) . '); $object-&gt;setTests('             . var_export($coverage-&gt;getTests(), 1) . '); return $object;';          if ($target !== NULL) {             return file_put_contents($target, $output);         } else {             return $output;         }     } } <\/code><\/pre>\n<p>  \u0424\u043e\u0440\u043c\u0430\u0442 \u0444\u0430\u0439\u043b\u0430 \u043c\u044b \u0441\u043a\u0440\u043e\u043c\u043d\u043e \u043d\u0430\u0437\u0432\u0430\u043b\u0438 PHPSmart. \u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u0443 \u0444\u0430\u0439\u043b\u043e\u0432 \u0442\u0430\u043a\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u2015 *.smart.<\/p>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 PHP_CodeCoverage \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u043b \u0441\u0435\u0431\u044f \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u043d\u043e\u0432\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442, \u0431\u044b\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u0441\u0435\u0442\u0442\u0435\u0440\u044b \u0438 \u0433\u0435\u0442\u0442\u0435\u0440\u044b \u0435\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432.<br \/>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0430\u0432\u043e\u043a \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 phpunit \u0438 phpcov, \u0447\u0442\u043e\u0431\u044b \u043e\u043d\u0438 \u043d\u0430\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c, \u0438 \u043d\u0430\u0448\u0435 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u0441\u0442\u0430\u043b\u043e \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f \u0432\u0441\u0435\u0433\u043e \u0437\u0430 \u0434\u0432\u0430 \u0441 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u043e\u0439 \u0447\u0430\u0441\u0430.<br \/>  \u0412\u043e\u0442 <a href=\"https:\/\/github.com\/uyga\/phpcov\/blob\/41b52543195db5ae1ce095b0f6e77fd79a3a2140\/src\/MergeCommand.php#L113\">\u0442\u0430\u043a<\/a> \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0438\u043c\u043f\u043e\u0440\u0442:<\/p>\n<pre><code class=\"php\">    foreach ($finder-&gt;findFiles() as $file) {         $extension = pathinfo($file, PATHINFO_EXTENSION);         switch ($extension) {             case 'smart':                 $object = include($file);                 $coverage-&gt;merge($object);                 unset($object);                 break;             default:                 $coverage-&gt;merge(unserialize(file_get_contents($file)));         }     } <\/code><\/pre>\n<p>  \u041d\u0430\u0448\u0438 \u043f\u0440\u0430\u0432\u043a\u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 GitHub \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435.<br \/>  <a href=\"https:\/\/github.com\/uyga\/php-code-coverage\">github.com\/uyga\/php-code-coverage<\/a><br \/>  <a href=\"https:\/\/github.com\/uyga\/phpcov\">github.com\/uyga\/phpcov<\/a><br \/>  <a href=\"https:\/\/github.com\/uyga\/phpunit\">github.com\/uyga\/phpunit<\/a><\/p>\n<p>  \u0421\u0435\u0431\u0430\u0441\u0442\u044c\u044f\u043d\u0443 \u0411\u0435\u0440\u0433\u043c\u0430\u043d\u0443 \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u043f\u0443\u043b\u043b-\u0440\u0435\u043a\u0432\u0435\u0441\u0442\u044b \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u0430\u0432\u043e\u043a, \u043d\u0430\u0434\u0435\u044f\u0441\u044c \u0432\u0441\u043a\u043e\u0440\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0438\u0445 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044f.<br \/>  <a href=\"https:\/\/github.com\/sebastianbergmann\/phpunit\/pull\/988\">github.com\/sebastianbergmann\/phpunit\/pull\/988<\/a><br \/>  <a href=\"https:\/\/github.com\/sebastianbergmann\/phpcov\/pull\/7\">github.com\/sebastianbergmann\/phpcov\/pull\/7<\/a><br \/>  <a href=\"https:\/\/github.com\/sebastianbergmann\/php-code-coverage\/pull\/185\">github.com\/sebastianbergmann\/php-code-coverage\/pull\/185<\/a><\/p>\n<p>  \u041d\u043e \u043e\u043d \u0438\u0445 \u0437\u0430\u043a\u0440\u044b\u043b, \u0441\u043a\u0430\u0437\u0430\u0432, \u0447\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u043d\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442, \u0430 \u043d\u0430\u0448 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0432\u043e\u0435\u0433\u043e:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/a63\/ba4\/b9d\/a63ba4b9d2fef5c3c3c5920a4213a7b9.jpeg\"\/><\/p>\n<p>  \u0427\u0442\u043e \u043c\u044b \u0441 \u0440\u0430\u0434\u043e\u0441\u0442\u044c\u044e \u0438 \u0441\u0434\u0435\u043b\u0430\u043b\u0438. \u0418 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u043e\u0448\u043b\u0438 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044f, \u0437\u0430\u043c\u0435\u043d\u0438\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0432\u0448\u0438\u0439\u0441\u044f \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 *.cov.<br \/>  <a href=\"https:\/\/github.com\/sebastianbergmann\/php-code-coverage\/pull\/186\">github.com\/sebastianbergmann\/php-code-coverage\/pull\/186<\/a><br \/>  <a href=\"https:\/\/github.com\/sebastianbergmann\/phpcov\/pull\/8\">github.com\/sebastianbergmann\/phpcov\/pull\/8<\/a><br \/>  <a href=\"https:\/\/github.com\/sebastianbergmann\/phpunit\/pull\/989\">github.com\/sebastianbergmann\/phpunit\/pull\/989<\/a><\/p>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a\u0430\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e\u043c\u043e\u0433\u043b\u0430 \u043d\u0430\u043c \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u0441\u0431\u043e\u0440 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f \u043f\u043e\u0447\u0442\u0438 \u0432 30(!) \u0440\u0430\u0437. \u041e\u043d\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u0430 \u043d\u0430\u043c \u0433\u043e\u043d\u044f\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u044b \u0434\u043b\u044f \u043f\u043e\u0434\u0441\u0447\u0451\u0442\u0430 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f, \u043d\u043e \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0434\u0432\u0430 \u043d\u0430\u0431\u043e\u0440\u0430 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432. \u041d\u0430 \u0432\u0440\u0435\u043c\u044f \u0438\u043c\u043f\u043e\u0440\u0442\u0430-\u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u0438 \u043c\u0435\u0440\u0436\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u044d\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0435 \u043f\u043e\u0432\u043b\u0438\u044f\u043b\u043e.<\/p>\n<p>  P.S.:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/cdf\/8f7\/78c\/cdf8f778ca29745659d3823725bddeb6.png\"\/><\/p>\n<p>  \u0418\u043b\u044c\u044f \u0410\u0433\u0435\u0435\u0432,<br \/>  QA Lead    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/company\/badoo\/blog\/192538\/\"> http:\/\/habrahabr.ru\/company\/badoo\/blog\/192538\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/f6c\/e51\/9c5\/f6ce519c58705ffb1aec73460c2be3b9.jpg\" align=\"left\"\/> \u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043d\u0430\u0437\u0430\u0434 \u043c\u044b \u0443\u0441\u043a\u043e\u0440\u0438\u043b\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e code coverage \u0441 70 \u0434\u043e 2,5 \u0447\u0430\u0441\u043e\u0432. \u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043a\u0430\u043a \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0432 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0435\/\u0438\u043c\u043f\u043e\u0440\u0442\u0435 coverage. \u0410 \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043d\u0430\u0448\u0438 pull requests \u043f\u043e\u043f\u0430\u043b\u0438 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 phpunit, phpcov \u0438 php-code-coverage.<\/p>\n<p>  \u041c\u044b \u043d\u0435 \u0440\u0430\u0437 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u043d\u0430 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u044f\u0445 \u0438 \u0432 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u044b \u00ab\u0433\u043e\u043d\u044f\u0435\u043c\u00bb \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0442\u044b\u0441\u044f\u0447 \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u043e\u0432 \u0437\u0430 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u044d\u0444\u0444\u0435\u043a\u0442 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442\u0441\u044f, \u043a\u0430\u043a \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u0437\u0430 \u0441\u0447\u0451\u0442 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438. \u0418 \u0432\u0441\u0451 \u0431\u044b \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u043e\u0434\u043d\u0430 \u0438\u0437 \u0432\u0430\u0436\u043d\u044b\u0445 \u043c\u0435\u0442\u0440\u0438\u043a \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u2015 \u044d\u0442\u043e \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u043a\u043e\u0434\u0430 \u0442\u0435\u0441\u0442\u0430\u043c\u0438. <br \/>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c, \u043a\u0430\u043a \u0435\u0433\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0432 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438, \u0430\u0433\u0440\u0435\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e. \u0411\u0435\u0437 \u043d\u0430\u0448\u0438\u0445 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0439 \u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u043b \u0431\u043e\u043b\u0435\u0435 70 \u0447\u0430\u0441\u043e\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u043e\u0432. \u041f\u043e\u0441\u043b\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u044b \u0442\u0440\u0430\u0442\u0438\u043c \u0432\u0441\u0435\u0433\u043e 2,5 \u0447\u0430\u0441\u0430 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u043a\u0440\u044b\u0442\u0438\u0435 \u043f\u043e \u0432\u0441\u0435\u043c \u044e\u043d\u0438\u0442-\u0442\u0435\u0441\u0442\u0430\u043c \u0438 \u0434\u0432\u0443\u043c \u043d\u0430\u0431\u043e\u0440\u0430\u043c \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u043e\u0431\u0449\u0438\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u0431\u043e\u043b\u0435\u0435 30 \u0442\u044b\u0441\u044f\u0447.  <\/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-192538","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/192538","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=192538"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/192538\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=192538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=192538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=192538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}