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

Method main

src/test/resources/dataflow/constprop/inter/DeadLoop.java:3–7  ·  view source on GitHub ↗
(String args[])

Source from the content-addressed store, hash-verified

1public class DeadLoop {
2
3 public static void main(String args[]) {
4 int x = 5;
5 int y = recursion(x);
6 int z = whileLoop(x);
7 }
8
9 public static int recursion(int x) {
10 x += 1;

Callers

nothing calls this directly

Calls 2

recursionMethod · 0.95
whileLoopMethod · 0.95

Tested by

no test coverage detected