MCPcopy Create free account
hub / github.com/LFYSec/MScan / returnLMostLoopTmp

Method returnLMostLoopTmp

src/test/resources/sideeffect/Loops.java:26–30  ·  view source on GitHub ↗
(Tree x)

Source from the content-addressed store, hash-verified

24 }
25
26 public static Tree returnLMostLoopTmp(Tree x) {
27 Tree t = x;
28 while (t.l != null) t = t.l;
29 return t;
30 }
31
32 public static Tree returnLMostLoopTwice(Tree x) {
33 while (x.l != null) x = x.l;

Callers 2

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected