However, this possibility is theoretical and a negative effect has never been shown.
we split by project: randomly divide the Java projects into training/validation/test groups, then place all methods from e.g.