Issue #12671: Kill mutation for finalLocalVariable#13184
Issue #12671: Kill mutation for finalLocalVariable#13184Kevin222004 wants to merge 1 commit intocheckstyle:masterfrom
Conversation
|
Github, generate report |
|
Report generation failed on phase "make_report", |
|
Github, generate report |
|
Report generation failed on phase "make_report", |
|
Github, generate report |
|
Github, generate report |
|
Report generation failed on phase "make_report", |
|
Github, generate report |
|
Report generation failed on phase "make_report", |
|
Github, generate report |
|
Github, generate report |
|
Github, generate report |
|
@Kevin222004 what do we need to do to get this PR out of draft mode? |
|
rebased and conflict is resolved we will move forward with removal of code as we see that diff report finds nothing. |
|
I would be extremely careful removing this type of code. We are removing items from the array on a leave token in this code. This code is the only time we remove items from the array. This means we are always adding to the array, so every method, every inner class is being collected together into this one array. We have seen weird issues before because of this type of behavior and code type. If you want my approval, I would want proof that this won't harm us. I am not seeing a reset on this variable on a new file, so it seems we are even collecting items across multiple files basically making this a multi-file check it it is true. |
|
CI job for no exceptions is failing with |
|
Tests like
It is the handling of the I did a difference run with new code clearing the fields and it produced no differences. In addition, we run Checkstyle twice during our tests. Once during |
|
@rdiachenko , please help to crack this heavy puzzle. |
|
Resolved by #13814 |
Issue #12671: Kill mutation for finalLocalVariable
Diff Regression config: https://gist.githubusercontent.com/Kevin222004/6e271c2ae713051c0a30111211de5627/raw/9f34341ce6c7feabbda4bc3d59fa62df427d775d/FinalLocal.xml
Diff Regression projects: https://gist.githubusercontent.com/Kevin222004/9600f179b602d4c971bdb0a050099005/raw/360a95ed7bb60d7a0956e531199d484c4d6f6617/test-projects.properties
Report label: Regression-Aug-4-2