Discussions

Ask a Question
Back to All

Warn on too many public methods instead of total methods?

For many of the issues, I encounter, I solve them by breaking the functions down into smaller methods, most of which are not public methods. Doing this, however, means that the function count goes up and this quickly becomes a critical issue. If it were public then I can see the issue but if it is just a private helper method does it make sense to penalize?