Hi Yegor,

I have used @checkstyle ExecutableStatementCount (50 lines) for this.