Feuermagier / autograder

Automatic grading of student's Java code
MIT License
13 stars 7 forks source link

Too large try block should check if the block must be that large. #515

Open Luro02 opened 2 months ago

Luro02 commented 2 months ago

Summary

The current implementation counts the number of statements and complains if that number is larger than x.

The implementation could be made smarter by checking which statements throw which exception. Then one could better evaluate if the block could be smaller.

Lint Name

No response

Reproducer

<code>