sevntu-checkstyle / methods-distance

GNU Lesser General Public License v3.0
5 stars 13 forks source link

Add constructor below non-constructor penalty #57

Open wilcoln opened 4 years ago

wilcoln commented 4 years ago

Some users might want constructors to be the first methods defined in class. Thus, it might be relevant to count penalty for every constructor defined below a non-constructor method.

We should come up with a reasonable coefficient for this criterion and modify the global penalty computation logic to take it into consideration.

HimanshuMahto commented 1 year ago

Hey wilcoln, I would like to fix this issue can you help me out with how to work for this as I'm currently at open source contribution.