All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.squidjava.rules.squid.S00100.html Maven / Gradle / Ivy

Sharing some naming conventions is a key point to make it possible for a team to efficiently collaborate. This rule allows to check that all function/method names match a provided regular expression.

Noncompliant Code Example

With default provided regular expression: "^[a-z][a-zA-Z0-9]*$":

public void Do_Something() {...}

Compliant Solution

public void doSomething(int value) {…}
}

Exceptions

Overriding methods are excluded.

@Override
public void Do_Something() {...}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy