Detect duplicate logic
655
Views
6
Comments
New
Service Studio

It would be amazing if we could have a system to detect duplicate logic (especially aggregates and SQL) so that it can be refactored to reusable code.

That would be a great help indeed.

Maybe on Architecture Dashboard, it seems a good place to put this.

There is an idea for Source Code Analysis tool. Having SCA, it will help with finding duplicates and many more. 

I would recommend to vote for Souce Code Analysis feature.

Great Idea!

This would help a lot to identify duplicates and create encapsulations.

2021-05-20 17-43-29
Rui Quintino

Hey everyone! just pointing that there is a duplicated code finding available in Architecture Dashboard, specifically targeting logic. Hope you can find it useful!

You can read more about it on these links:
https://www.outsystems.com/whats-new/architecture-dashboard-guided-refactoring/
https://success.outsystems.com/Documentation/11/Managing_the_Applications_Lifecycle/Manage_technical_debt/Code_Analysis_Patterns#duplicated-code

(went GA in May 2021)

Hi Rquintino, maybe it is time then to mark this idea as implemented?