UPCM - Unused Private Class Member

An unused class member might indicate a logical flaw in the program. The class declaration has to be reconsidered in order to determine the need of the unused member(s).

Wrong

class UPCM {
    private int bad_attr;
    private int good_attr;
    private void bad_oper () {
        // do something...;
    }

    private void good_oper1 () {
        good_attr = 10;
    }
    public void good_oper2() {
        good_oper1();
    }
}

Tip: Examine the programm. If this member is unnecessary, remove it (or at least comment it out).