-
Hello, Please can you explain to me this logic and where is the file implementing it? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
CPD works the same way for all languages:
Your main concern is really as to how the code is tokenized, and how strictly you retain the code; for instance, are you looking for exact copy-pastes (exact variable and function names), or not. Some languages (specially Java), support several flags to control these, but not all languages do this to the same extent. Matlab itself support no additional flag, only has the built-in support to ignore comments and snippets of code within |
Beta Was this translation helpful? Give feedback.
CPD works the same way for all languages:
Your main concern is really as to how the code is tokenized, and how strictly you retain the code; for instance, are you looking for exact copy-pastes (exact variable and function names), or not. Some languages (specially Java), support several flags to control these, but not all languages do this to the same extent.
Matlab itself support no additional flag, only has the built-in support to ignore commen…