a code statistic tool