文件名称:JavaCodeAnalyzer
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-11-09
- 文件大小:
- 73kb
- 下载次数:
- 0次
- 提 供 者:
- laud*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Java源代码分析程序
(1) JavaCodeAnalyzer类以一个Java源程序文件名和一个存储结果的文本文件名创建一个对象。如果文件不存在,或对应的扩展名不是“.java”和“.txt”,应提示文件错误;
(2) 对输入的源程序文件进行分析其中的:代码行数、注释行数和空行数。说明:行是指以回车结束的。
(3) 统计并按从多到少输出出现次数最多的5个关键字及其出现次数。
(4) 统计分析的结果输出到存储结果的文本文件中。-Java source code analysis program (1) JavaCodeAnalyzer class to a Java source file name and store the result in a text file name to create an object. If the file does not exist, or the corresponding extension other than " . Java" and " . Txt" , should prompt file error (2) the input of the source file for analysis which: code lines, comment lines and blank lines number. Descr iption: Line refers to the end with a carriage return. (3) Statistical press from more to less output of the five most frequently keywords and their occurrences. (4) Statistical analysis of the results output to store the results in a text file.
(1) JavaCodeAnalyzer类以一个Java源程序文件名和一个存储结果的文本文件名创建一个对象。如果文件不存在,或对应的扩展名不是“.java”和“.txt”,应提示文件错误;
(2) 对输入的源程序文件进行分析其中的:代码行数、注释行数和空行数。说明:行是指以回车结束的。
(3) 统计并按从多到少输出出现次数最多的5个关键字及其出现次数。
(4) 统计分析的结果输出到存储结果的文本文件中。-Java source code analysis program (1) JavaCodeAnalyzer class to a Java source file name and store the result in a text file name to create an object. If the file does not exist, or the corresponding extension other than " . Java" and " . Txt" , should prompt file error (2) the input of the source file for analysis which: code lines, comment lines and blank lines number. Descr iption: Line refers to the end with a carriage return. (3) Statistical press from more to less output of the five most frequently keywords and their occurrences. (4) Statistical analysis of the results output to store the results in a text file.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
JavaCodeAnalyzer\build\built-jar.properties
................\.....\classes\JavaCodeAnalyzer\JavaCodeAnalyzer.class
................\.....\.......\................\JavaCodeAnalyzer.java
................\.....\.......\................\Main.class
................\.....\.......\................\Main.java
................\build.xml
................\CodeTest.java
................\dist\JavaCodeAnalyzer.jar
................\....\README.TXT
................\manifest.mf
................\nbproject\build-impl.xml
................\.........\genfiles.properties
................\.........\private\config.properties
................\.........\.......\private.properties
................\.........\.......\private.xml
................\.........\project.properties
................\.........\project.xml
................\ResultsOfJaveAnalyzer.txt
................\src\JavaCodeAnalyzer\JavaCodeAnalyzer.java
................\...\................\Main.java
................\String.java
................\String.txt
................\build\classes\JavaCodeAnalyzer
................\.....\generated-sources\ap-source-output
................\.....\classes
................\.....\empty
................\.....\generated-sources
................\nbproject\private
................\src\JavaCodeAnalyzer
................\build
................\dist
................\nbproject
................\src
JavaCodeAnalyzer