add code statistic tool