statistic code generator