I'm working on a Magento 2 CRUD functionality following the best practices (best described here). On the project I'm working on we are using PHPMD (php mess detector). Among other rules, we have the CBO limit set to 13 (which I understand is the default). My repository is implementing the
deleteById methods and the limit is already 12.
What would be best practice if I need to add other methods to this repository without overlapping the PHPMD CBO limit? Should I break the repository in multiple ones? If so how would a directory and file naming and structure would look?
P.S. I understand that helper classes are no longer encouraged in Magento 2.