<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>GoLang on oinume journal</title>
    <link>https://blog-lampetty-net.web.app/categories/golang/</link>
    <description>Recent content in GoLang on oinume journal</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Sun, 30 Aug 2015 00:40:00 +0900</lastBuildDate>
    <atom:link href="https://blog-lampetty-net.web.app/categories/golang/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Detecting duplicated code in Golang with CPD and Jenkins</title>
      <link>https://blog-lampetty-net.web.app/posts/detecting-duplicated-code-in-golang/</link>
      <pubDate>Sun, 30 Aug 2015 00:40:00 +0900</pubDate>
      <guid>https://blog-lampetty-net.web.app/posts/detecting-duplicated-code-in-golang/</guid>
      <description>&lt;h2 id=&#34;cpd-copy-paste-detecor&#34;&gt;CPD (Copy Paste Detecor)&lt;/h2&gt;&#xA;&lt;p&gt;Detecting duplicated code is a good way to make source code clean. Since I couldn&#39;t find how to detect duplicated code in Golang, I sent &lt;a href=&#34;https://github.com/pmd/pmd/pull/44&#34;&gt;a pull request&lt;/a&gt; that CPD(Copy Paste Detector) is able to accept Golang. CPD is a software included in &lt;a href=&#34;https://pmd.github.io/pmd-5.3.3/&#34;&gt;PMD&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;And there is a useful Jenkins plugin, &lt;a href=&#34;https://wiki.jenkins-ci.org/display/JENKINS/DRY+Plugin&#34;&gt;DRY&lt;/a&gt;. It visualizes how much duplicated code exist. I&#39;ll show you how to make it visible with Jenkins.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
