Skip to content

迁移总结 #78

Open
Open

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

  1. JacksonTian commented on Mar 15, 2018

    @JacksonTian
    MemberAuthor

    egg-cnode

    $ cloc test/
          16 text files.
          16 unique files.                              
           0 files ignored.
    
    github.com/AlDanial/cloc v 1.76  T=1.05 s (15.2 files/s, 1698.5 lines/s)
    -------------------------------------------------------------------------------
    Language                     files          blank        comment           code
    -------------------------------------------------------------------------------
    JavaScript                      16            249             27           1511
    -------------------------------------------------------------------------------
    SUM:                            16            249             27           1511
    -------------------------------------------------------------------------------

    nodeclub:

    $ cloc ../nodeclub/test/
          34 text files.
          34 unique files.                              
           0 files ignored.
    
    github.com/AlDanial/cloc v 1.76  T=1.07 s (31.8 files/s, 2783.9 lines/s)
    -------------------------------------------------------------------------------
    Language                     files          blank        comment           code
    -------------------------------------------------------------------------------
    JavaScript                      34            351            130           2495
    -------------------------------------------------------------------------------
    SUM:                            34            351            130           2495
    -------------------------------------------------------------------------------
  2. JacksonTian commented on Mar 15, 2018

    @JacksonTian
    MemberAuthor
    • ejs-mate => egg-view-ejs
    • express => egg
    • PM2 => egg-scripts
    • mongoose => egg-mongoose
  3. lqs469 commented on Mar 15, 2018

    @lqs469
    Contributor

    会做性能方面的对比吗?

  4. JacksonTian commented on Mar 15, 2018

    @JacksonTian
    MemberAuthor

    没啥必要做性能方面的对比。有性能问题,alinode 分分钟就能修复

  5. yuu2lee4 commented on Mar 18, 2018

    @yuu2lee4

    建议根据js应用的不同领域 增加更多细分板块

  6. JacksonTian commented on Mar 18, 2018

    @JacksonTian
    MemberAuthor

    @yuu2lee4 那是运营问题。不是代码问题。

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