B
B
besimpl2018-01-01 21:00:36
JavaScript
besimpl, 2018-01-01 21:00:36

What are the means of finding duplicate code in a project for JS (or in general)?

There is a large frontend project on React.js. It needs to be refactored. How to find duplicate code in a project? That is, methods in different components that do the same thing. Methods that are almost the same (that is, the logic of work is absolutely the same, but the methods are called differently and call different functions). Well, maybe there are some other goodies for refactoring?
Found a few other interesting resources.
Codacy
Codecov
DeepScan
CodeFactor
Maybe someone used it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
w96k, 2018-01-02
@w96k

Popular option for high-level languages: https://codeclimate.com/

S
spravo, 2018-01-02
@spravo

sonarqube

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question