161
Views
8
Comments
Monolithic service module finding in AI Mentor studio

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.

UserImage.jpg
vikas sharma
Champion

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

2020-09-21 11-35-56
Sachin Waghmare

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

UserImage.jpg
Vaibhavi Paranjpe

Thanks for the solution I'll try to read about it.

UserImage.jpg
Vaibhavi Paranjpe

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 

UserImage.jpg
vikas sharma
Champion

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.

regards

UserImage.jpg
Vaibhavi Paranjpe

Thanks I'll try to implement this to reduce the finding.

2020-07-29 19-08-40
Sanjay Kumar Sahu

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

2020-09-01 10-42-42
Stefano Valente

I agree. We have some public actions because we have implemented Unit tests. Without these tests we could leave the actions private.

It's also unfortunate that this AI mentor flag does not take into account how many modules are dependant. Our monolithic module only has 4 other modules consuming coupled with these public objects.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.