<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Makhnev Petr</title>
    <description>The latest articles on DEV Community by Makhnev Petr (@i582).</description>
    <link>https://dev.to/i582</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F501303%2Fd04e8ff4-69ca-477d-8780-c55499e60938.jpeg</url>
      <title>DEV Community: Makhnev Petr</title>
      <link>https://dev.to/i582</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/i582"/>
    <language>en</language>
    <item>
      <title>What do you think about PHP code quality metrics?</title>
      <dc:creator>Makhnev Petr</dc:creator>
      <pubDate>Fri, 30 Oct 2020 00:34:07 +0000</pubDate>
      <link>https://dev.to/i582/what-do-you-think-of-php-code-quality-metrics-cd9</link>
      <guid>https://dev.to/i582/what-do-you-think-of-php-code-quality-metrics-cd9</guid>
      <description>&lt;p&gt;At the moment, a lot of PHP code has been written and many of the projects contain a lot of legacy architecture that can be improved. One way to find architecture issues is to use code quality metrics such as Lack of Cohesion in Methods 4 or Instability.&lt;/p&gt;

&lt;p&gt;Right now, I'm developing the &lt;a href="https://github.com/i582/phpstats"&gt;analyzer&lt;/a&gt; for calculating various metrics in PHP code that could process huge codebases in a little time. At the moment, this is about 80k lines of code per second on the Core i7.&lt;/p&gt;

&lt;p&gt;Currently only supported:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Afferent couplings:&lt;/li&gt;
&lt;li&gt;Efferent couplings:&lt;/li&gt;
&lt;li&gt;Instability:&lt;/li&gt;
&lt;li&gt;Lack of Cohesion in Methods;&lt;/li&gt;
&lt;li&gt;Lack of Cohesion in Methods 4.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;However, I am very interested to know what metrics do you consider important and necessary for this kind of analyzer?&lt;/p&gt;

&lt;p&gt;Thank you for your time. 🤗&lt;/p&gt;

</description>
      <category>php</category>
      <category>codequality</category>
    </item>
  </channel>
</rss>
