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

Method main

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

Source from the content-addressed store, hash-verified

1class Example {
2
3 static void main(String[] args) {
4 int a, b, c;
5 a = 6;
6 b = addOne(a);
7 c = b - 3;
8 b = ten();
9 c = a * b;
10 }
11
12 static int addOne(int x) {
13 int y = x + 1;

Callers

nothing calls this directly

Calls 2

addOneMethod · 0.95
tenMethod · 0.95

Tested by

no test coverage detected