duplo

以前id:togeさんのところで見た、duploという、コピペされた重複行を調べるアプリでXtalのソースを検査しました。

http://sourceforge.net/projects/duplo

Configuration: 
  Number of files: 52
  Minimal block size: 4
  Minimal characters in line: 3
  Ignore preprocessor directives: 0
  Ignore same filenames: 0

Results: 
  Lines of code: 9938
  Duplicate lines of code: 20
  Total 5 duplicate block(s) found.

  Time: 1.906 seconds

9938行に対し、20行の重複ようです。

その20の重複も

#include "any.h"
#include "string.h"
namespace xtal{

こんなのばかりでした。

ちなみにLuaは重複0でした。