I am starting a new Java web project that will be worked on by up to 10 developers.
It will probably be hard to change once the codebase grows large, so what are the best checkstyle settings to use for methodLength and fileLength?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Off the top of my head, I’d say that methods greater than 100 lines and classes greater than 1000 lines are deserving a second look. But these should not be “hard” limits. Depending on your application, methods and classes larger than this can be justified.