1) Magento\Test\Php\LiveCodeTest::testCodeMess
PHP Code Mess has found error(s):
/home/travis/build/magento-engcom/msi/app/code/Magento/Inventory/Controller/Adminhtml/Stock/Save.php:24 The class Save has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.
/home/travis/build/magento-engcom/msi/app/code/Magento/Inventory/Controller/Adminhtml/Stock/Save.php:75 The method execute() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.
/home/travis/build/magento-engcom/msi/app/code/Magento/InventoryApi/Test/Api/SourceRepository/ValidationTest.php:145 The method failedValidationDataProvider() has 140 lines of code. Current threshold is set to 100. Avoid really long methods.
Now we have following failed static tests
Points of refactoring:
Magento/Inventory/Controller/Adminhtml/Stock/Save.phpclass into several (move logic related to Stock creating in separate class)