unused code

[ʌnˈjuzd kod][ʌnˈju:zd kəud]

禁用代码,非法代码

  • Unused code ( rulesets / unusedcode . xml ) & Looks for private fields and local variables that are never read unreachable statements private methods that are never called and the like .

    使用 代码(rulesets/unusedcode.xml)&查找从未使用的私有字段和本地变量、执行不到的语句、从未调用的私有方法,等等。

  • Can scan the project unused variables and to provide analysis of XML and text reports can be provided in accordance with the pie chart shows the code statistics .

    可以扫描工程中 使用的变量,并以XML和文本方式提供分析报告,还可以按照图表方式提供饼图显示 代码统计信息。

  • The GWT compiler does a good job at reducing code size but cutting unused methods and obfuscating code to use short variable and function names but the result is still uncompressed text .

    通过去掉 调用的方法和艰涩的 代码、使用简短的变量名和方法名等方式,GWT编译器在减少代码量方面表现得非常出色,但是最后得到的代码文本仍然是未经压缩的。

  • In this example you will tackle the problem of unused imports within Java source code .

    在本例中,您将会处理Java源 代码 使用导入中所存在的问题。

  • Although unused imports do not affect runtime performance they can confuse the reader and affect the readability of the code .

    尽管 使用的导入不会影响到运行时的性能,但是它们会混淆读者的思想并影响 代码的可读性。

  • Has unused code been removed ? Have all unnecessary comments been removed ?

    没有 代码是否已经删除?所有的无用注解是否删除?

  • Remove unused code or unused features .

    删除 不用 代码或者特性。

  • On the other hand dead unused code only clutters a program and makes it harder to read and understand so delete it .

    另一方面,无效的, 废弃 代码只会使程序变得拥挤不堪,难于阅读和理解,所以还是删掉的好。