Re: SonarCloud detecting duplicate code in PR

2022-10-20 Thread Daniel Watford
Hi Aditya, Setting an exclusion in .sonarcloud.properties resolved the problem for me: > sonar.exclusions=themes/common-theme/webapp/common-theme/js/jquery/**/* No more duplicates detected on my PR. Thanks for the suggestion. Dan. On Mon, 17 Oct 2022 at 07:53, Aditya Sharma wrote: > Hello

Re: SonarCloud detecting duplicate code in PR

2022-10-17 Thread Aditya Sharma
Hello Daniel, > Can anyone confirm that the detected duplication is unrelated to the PR, or > help me figure out what I might have misunderstood? That's strange, but yes the duplications detected are indeed from unrelated changes. > Do we have a way to prevent SonarCloud from checking sources

SonarCloud detecting duplicate code in PR

2022-10-04 Thread Daniel Watford
Hello, I've pushed PR549 (https://github.com/apache/ofbiz-framework/pull/549) which is flagged as failing SonarCloud's Code Analysis on account of duplicated code. As far as I can tell, the SonarCloud is detecting duplication within the javascript files which are not maintained by the OFBiz