Java

Java

Made by DeepSource

Undocumented method found JAVA-D1001

Documentation
Minor

This method does not have any documentation.

Consider adding a documentation comment to explain its use.

While it may seem like the usage of a method is perfectly obvious, any consumers of your API may not be able to pick up on certain details.

Bad Practice

This method appears to return an address string based on its name and the return type, but it is hard to say anything further about it. We neither know if the address will be formatted in a special way nor are we given any useful information regarding the returned value.

String getAddress() {
    // ...
}

Recommended

Provide a detailed description of what the method does.

/**
 * Returns the address in 3 line format,
 * with street address on line 1, area/city on line 2
 * and state and country as well as postal code on line 3.
 */
String getAddress() {
    // ...
}