<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>BioErrorLog</author_name>
  <author_url>https://blog.hatena.ne.jp/BioErrorLog/</author_url>
  <blog_title>BioErrorLog Tech Blog</blog_title>
  <blog_url>https://www.bioerrorlog.work/</blog_url>
  <categories>
    <anon>shell</anon>
    <anon>Git</anon>
    <anon>生産性</anon>
  </categories>
  <description>プログラムのソースコードレポジトリの行数を計測する方法の備忘録です。 はじめに ソースコードの行数をカウントする コマンドで行数をカウントする ツールで行数をカウントする おわりに 参考 はじめに ソースコードを読みながら、ふとそのレポジトリ全体の行数を知りたくなったときがありました。 やり方の備忘録を残します。 The English translation of this post is here. ソースコードの行数をカウントする コマンドで行数をカウントする 下記コマンドで、gitレポジトリ全体の行数をパッと計測できます。 git ls-files | xargs wc -l git …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.bioerrorlog.work%2Fentry%2Fcount-source-code-lines&quot; title=&quot;ソースコードの行数をカウントする - BioErrorLog Tech Blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/B/BioErrorLog/20241113/20241113144120.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-11-13 14:41:52</published>
  <title>ソースコードの行数をカウントする</title>
  <type>rich</type>
  <url>https://www.bioerrorlog.work/entry/count-source-code-lines</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
