Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Javascript source code analysis ( specifically duplication checking )

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/created .js files. It's drastically improved productivity for me and I doubt there is anything as good as JSLint for the price (it's free).

That said, is there any analysis tool out there that can find repetitive or near-duplicate code blocks, the goal being to make it easier to find opportunities to consolidate large files or small/medium sized projects?

like image 630
David Avatar asked Nov 14 '22 11:11

David


1 Answers

May not be exactly what your after, but Google's Javascript optimizer is worth a look.

like image 60
Alex K. Avatar answered Jan 02 '23 04:01

Alex K.