MCPcopy Create free account
hub / github.com/evernat/dead-code-detector / reportStringToString

Method reportStringToString

src/main/java/dcd/Report.java:165–169  ·  view source on GitHub ↗
(String className, MethodNode methodNode)

Source from the content-addressed store, hash-verified

163 }
164
165 void reportStringToString(String className, MethodNode methodNode) throws XMLStreamException {
166 final String msg = "Call of toString() on String in class " + className + " in method "
167 + getMethodDescription(methodNode);
168 reportWarning("stringToString", className, msg, null);
169 }
170
171 private void reportWarning(String type, String className, String msg, String msg2)
172 throws XMLStreamException {

Callers 1

Calls 2

getMethodDescriptionMethod · 0.95
reportWarningMethod · 0.95

Tested by

no test coverage detected