Constant Variable Should Be Final (CVSBFV)

Description:

CVSBFV detects if local variables that never get their values changed must be declared final. When you explicitly declare them like this, a reader of the source code gets some information about how the variable is supposed to be used.

Example:

void func () {
    int var1 = 10;
    int var2 = 20; 
    var1 = var2;
    System.out.println(attr1);
}