Javascript source code analysis ( specifically duplication checking )

后端 未结 3 373
眼角桃花
眼角桃花 2021-01-13 02:23

Partial duplicate of this

Notes: I already use JSLint extensively via a tool I wrote that scans in intervals my current project directory for recently updated/create

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-13 02:54

    You may want to have a look at jsinspect.

    jsinspect ./src
    

    It will print a list of code blocks that are either identical or structurally very similar.

    And there's also jscpd.

提交回复
热议问题