Currently, CommandSchemaAnalyzer is one bloated class with about 15 checks. The corresponding tests, CommandSchemaAnalyzerTests are even more bloated. This makes maintaining and adding new checks quite difficult.
The suggestion is to refactor each check in its own separate analyzer and break the tests up correspondingly as well.
Currently,
CommandSchemaAnalyzer
is one bloated class with about 15 checks. The corresponding tests,CommandSchemaAnalyzerTests
are even more bloated. This makes maintaining and adding new checks quite difficult.The suggestion is to refactor each check in its own separate analyzer and break the tests up correspondingly as well.