Skip to content

迁移总结 #78

Description

@JacksonTian
gist $ ./cloc-git https://github.com/cnodejs/nodeclub.git

     194 text files.
     194 unique files.                                          
      12 files ignored.

github.com/AlDanial/cloc v 1.76  T=1.09 s (170.3 files/s, 66779.9 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
JavaScript                     125           6577          10539          34314
CSS                             11           2528            101          14147
HTML                            43            300              9           2266
LESS                             1            220             12           1085
Markdown                         2             30              0            238
JSON                             1              0              0             69
make                             1             13              1             47
YAML                             1              8              0             21
-------------------------------------------------------------------------------
SUM:                           185           9676          10662          52187
-------------------------------------------------------------------------------
gist $ ./cloc-git https://github.com/cnodejs/egg-cnode.git


     154 text files.
     154 unique files.                                          
      12 files ignored.

github.com/AlDanial/cloc v 1.76  T=1.08 s (133.7 files/s, 64530.8 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
JavaScript                      87           6306          10269          32023
CSS                             11           2528            101          14147
HTML                            38            259              9           2185
LESS                             1            221             12           1088
Markdown                         2             45              0            115
YAML                             3              7              6             94
JSON                             1              0              0             67
Dockerfile                       1              8              1              8
-------------------------------------------------------------------------------
SUM:                           144           9374          10398          49727
-------------------------------------------------------------------------------

Summary:

  • 文件数减少 41,减少 22%
  • 代码行数减少 2460 行,减少 4.7%
  • 测试代码减少 980 行,减少 39%,覆盖率高于原项目。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions