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

Method deadLoop

src/test/resources/deadcode/Loops.java:3–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1class Loops {
2
3 void deadLoop() {
4 int x = 1;
5 int y = 0;
6 int z = 100;
7 while (x > y) {
8 use(z);
9 }
10 dead(); // unreachable branch
11 }
12
13 void dead() {
14 }

Callers

nothing calls this directly

Calls 2

useMethod · 0.95
deadMethod · 0.95

Tested by

no test coverage detected