Forum Post: SonarQube: Idea for rule : Check correct case of class name

  • Thread starter Thread starter cverbiest
  • Start date Start date
Status
Not open for further replies.
C

cverbiest

Guest
I'm not sure if this forum is the right place for this kind of discussion, I'm looking for a forum to propose/discuss SonarQube rules. Proposed rule : Correct class name case rule Check if the casing (uppercase/lowercase) of a class name matches the casing of the source file-name. Needed for code that is used on windows and unix/linux but is developed on a windows platform. These errors go unnoticed until the build is done on unix/linux. Alternatively : Correct casing rule The correct class name rule only checks for the name of the class. Maybe its better to make a rule that also checks other references where case matters . Using statements, class references, ..., run of external procedures.

Continue reading...
 
Status
Not open for further replies.
Back
Top