1 Star 0 Fork 0

any3ite/codeql

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
DeadMethod.java 533 Bytes
一键复制 编辑 原始数据 按行查看 历史
Pavel Avgustinov 提交于 2018-08-30 17:48 +08:00 . Migrate Java code to separate QL repo.
public static void main(String[] args) {
// Only call the live method
liveMethod();
}
/** This method is live because it is called by main(..) */
public static void liveMethod() {
otherLiveMethod()
}
/** This method is live because it is called by a live method */
public static void otherLiveMethod() {
}
/** This method is dead because it is never called */
public static void deadMethod() {
otherDeadMethod();
}
/** This method is dead because it is only called by dead methods */
public static void otherDeadMethod() {
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/any3ite/codeql.git
git@gitee.com:any3ite/codeql.git
any3ite
codeql
codeql
main

搜索帮助