I am getting monolithic service module finding in AI Mentor studio which I am not sure how to solve as it is not showing any details so is there any way to solve it.
Hi Vaibhavi,
Monolithic module means size of module is big and you need to reduce its size by dividing in sub modules. You can divide modules on the basis of related business concepts.
regards
Hello @Vaibhavi Paranjpe,
You can learn in detail about different Code patterns from this documentation link.
https://success.outsystems.com/documentation/11/managing_the_applications_lifecycle/manage_technical_debt/code_analysis_patterns/
Edit : Please refer this as well where it was explained very well about this pattern.
https://www.outsystems.com/forums/discussion/74547/threshold-monolithic-service-module/#Post306210
Thanks,
Sachin
Thanks for the solution I'll try to read about it.
Hi @Vikas Sharma I believe doing it will make dependencies more as there are already many modules so is there any other way to fix this.
Thanks
Yes, definitely if number of modules will increase it may lead to cyclic dependencies as well. You need to handle this carefully. Put similar concepts in a module. Its also mentioned in the given solution suggested by AI mentor studio. So according to elements in this module you need to decide which you can extract to new one.
Thanks I'll try to implement this to reduce the finding.
Hello Vaibhavi,
If Tech debt will be less than 20%, Its better to mark it as Won't fix and solve other debts, It won't cause any performance issue. Sometimes we can't go for granularity and have to manage.
Sanjay