terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.85k stars 250 forks source link

Can lizard detect duplicate code files? #206

Closed cyw3 closed 6 years ago

cyw3 commented 6 years ago

I use lizard to scan the directory of a file "highcharts.js" a nd its copy. image

And i find that the result of lizard just show the CCN of highcharts.js and have not the CCN of highcharts2.js.

After i modify the content of highcharts.js. The result have all CCN of two file.

So, Can lizard detect duplicate code files?

terryyin commented 6 years ago

Yes, lizard will not do the analysis again if the file’s MD5 hash is identical.

On 6 Dec 2017, at 10:16 PM, cyw3 notifications@github.com wrote:

I use lizard to scan the directory of a file "highcharts.js" a nd its copy. https://user-images.githubusercontent.com/11549103/33663282-4e1c96a2-daca-11e7-832b-17139a93ed6a.png And i find that the result of lizard just show the CCN of highcharts.js and have not the CCN of highcharts2.js.

After i modify the content of highcharts.js. The result have all CCN of two file.

So, Can lizard detect duplicate code files?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/terryyin/lizard/issues/206, or mute the thread https://github.com/notifications/unsubscribe-auth/AAwJYke6SgMTlE3LlRgjGe_u8wOUErApks5s9pOUgaJpZM4Q35I4.