⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datamining.html

📁 JSP页面代码排错
💻 HTML
📖 第 1 页 / 共 3 页
字号:
24	jdk1.6.0-b41	"Thu Jun 16 03:19:22 EDT 2005"	15972	959619	0	0	0	0	1253	82	125325	jdk1.6.0-b42	"Fri Jun 24 03:38:54 EDT 2005"	15966	958581	3	0	1	2	1250	82	125326	jdk1.6.0-b43	"Thu Jul 14 03:09:34 EDT 2005"	16041	960544	5	11	15	8	1230	85	124627	jdk1.6.0-b44	"Thu Jul 21 03:05:54 EDT 2005"	16041	960547	0	0	0	0	1246	108	124628	jdk1.6.0-b45	"Thu Jul 28 03:26:10 EDT 2005"	16037	960606	19	0	2	0	1244	108	126329	jdk1.6.0-b46	"Thu Aug 04 03:02:48 EDT 2005"	15936	951355	13	1	1	32	1230	110	124430	jdk1.6.0-b47	"Thu Aug 11 03:18:56 EDT 2005"	15964	952387	163	8	7	20	1217	143	138831	jdk1.6.0-b48	"Thu Aug 18 08:10:40 EDT 2005"	15970	953421	0	0	0	0	1388	170	138832	jdk1.6.0-b49	"Thu Aug 25 03:24:38 EDT 2005"	16048	958940	1	11	1	0	1387	170	139933	jdk1.6.0-b50	"Thu Sep 01 01:52:40 EDT 2005"	16287	974937	19	27	16	7	1376	171	142234	jdk1.6.0-b51	"Thu Sep 08 01:55:36 EDT 2005"	16362	979377	1	15	3	0	1419	194	143535	jdk1.6.0-b52	"Thu Sep 15 02:04:08 EDT 2005"	16477	979399	0	0	1	1	1433	197	143336	jdk1.6.0-b53	"Thu Sep 22 02:00:28 EDT 2005"	16019	957900	13	12	16	20	1397	199	142237	jdk1.6.0-b54	"Thu Sep 29 01:54:34 EDT 2005"	16019	957900	0	0	0	0	1422	235	142238	jdk1.6.0-b55	"Thu Oct 06 01:54:14 EDT 2005"	16051	959014	1	4	7	0	1415	235	142039	jdk1.6.0-b56	"Thu Oct 13 01:54:12 EDT 2005"	16211	970835	6	8	37	0	1383	242	139740	jdk1.6.0-b57	"Thu Oct 20 01:55:26 EDT 2005"	16279	971627	0	0	0	0	1397	279	139741	jdk1.6.0-b58	"Thu Oct 27 01:56:30 EDT 2005"	16283	971945	0	1	1	0	1396	279	139742	jdk1.6.0-b59	"Thu Nov 03 01:56:58 EST 2005"	16232	972193	6	0	5	0	1392	280	139843	jdk1.6.0-b60	"Thu Nov 10 01:54:18 EST 2005"	16235	972346	0	0	0	0	1398	285	139844	jdk1.6.0-b61	"Thu Nov 17 01:58:42 EST 2005"	16202	971134	2	0	4	0	1394	285	1396</pre></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="incrementalhistory"></a>2.2.&nbsp;Incremental history maintenance</h3></div></div></div><p>If db.xml contains the results of running findbugs over builds b12 - b60, we can update db.xml to include the results of analyzing b61 with the commands:</p><pre class="screen">computeBugHistory -output db.xml db.xml jdk1.6.0-b61/jre/lib/rt.xml</pre></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="antexample"></a>3.&nbsp;Ant example</h2></div></div></div><p>Here is a complete ant script example for both running findbugs and running a chain of data-mining tools afterward:</p><pre class="screen">&lt;project name="analyze_asm_util" default="findbugs"&gt;   &lt;!-- findbugs task definition --&gt;   &lt;property name="findbugs.home" value="/Users/ben/Documents/workspace/findbugs/findbugs" /&gt;   &lt;property name="jvmargs" value="-server -Xss1m -Xmx800m -Duser.language=en -Duser.region=EN -Dfindbugs.home=${findbugs.home}" /&gt;	&lt;path id="findbugs.lib"&gt;      &lt;fileset dir="${findbugs.home}/lib"&gt;         &lt;include name="findbugs-ant.jar"/&gt;      &lt;/fileset&gt;   &lt;/path&gt;      &lt;taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask"&gt;      &lt;classpath refid="findbugs.lib" /&gt;   &lt;/taskdef&gt;   &lt;taskdef name="computeBugHistory" classname="edu.umd.cs.findbugs.anttask.ComputeBugHistoryTask"&gt;      &lt;classpath refid="findbugs.lib" /&gt;   &lt;/taskdef&gt;   &lt;taskdef name="setBugDatabaseInfo" classname="edu.umd.cs.findbugs.anttask.SetBugDatabaseInfoTask"&gt;      &lt;classpath refid="findbugs.lib" /&gt;   &lt;/taskdef&gt;   &lt;taskdef name="mineBugHistory" classname="edu.umd.cs.findbugs.anttask.MineBugHistoryTask"&gt;      &lt;classpath refid="findbugs.lib" /&gt;   &lt;/taskdef&gt;   &lt;!-- findbugs task definition --&gt;   &lt;target name="findbugs"&gt;      &lt;antcall target="analyze" /&gt;      &lt;antcall target="mine" /&gt;   &lt;/target&gt;   &lt;!-- analyze task --&gt;   &lt;target name="analyze"&gt;      &lt;!-- run findbugs against asm-util --&gt;      &lt;findbugs home="${findbugs.home}"                output="xml:withMessages"                timeout="90000000"                reportLevel="experimental"                workHard="true"                effort="max"                adjustExperimental="true"                jvmargs="${jvmargs}"                failOnError="true"                outputFile="out.xml"                projectName="Findbugs"                debug="false"&gt;         &lt;class location="asm-util-3.0.jar" /&gt;      &lt;/findbugs&gt;   &lt;/target&gt;   &lt;target name="mine"&gt;      &lt;!-- Set info to the latest analysis --&gt;      &lt;setBugDatabaseInfo home="${findbugs.home}"      	                  withMessages="true"      	                  name="asm-util-3.0.jar"      	                  input="out.xml"      	                  output="out-rel.xml"/&gt;      &lt;!-- Checking if history file already exists (out-hist.xml) --&gt;      &lt;condition property="mining.historyfile.available"&gt;         &lt;available file="out-hist.xml"/&gt;      &lt;/condition&gt;      &lt;condition property="mining.historyfile.notavailable"&gt;         &lt;not&gt;            &lt;available file="out-hist.xml"/&gt;         &lt;/not&gt;      &lt;/condition&gt;      &lt;!-- this target is executed if the history file do not exist (first run) --&gt;      &lt;antcall target="history-init"&gt;        &lt;param name="data.file" value="out-rel.xml" /&gt;        &lt;param name="hist.file" value="out-hist.xml" /&gt;      &lt;/antcall&gt;      &lt;!-- else this one is executed --&gt;      &lt;antcall target="history"&gt;        &lt;param name="data.file"         value="out-rel.xml" /&gt;        &lt;param name="hist.file"         value="out-hist.xml" /&gt;        &lt;param name="hist.summary.file" value="out-hist.txt" /&gt;      &lt;/antcall&gt;   &lt;/target&gt;   &lt;!-- Initializing history file --&gt;   &lt;target name="history-init" if="mining.historyfile.notavailable"&gt;      &lt;copy file="${data.file}" tofile="${hist.file}" /&gt;   &lt;/target&gt;   &lt;!-- Computing bug history --&gt;   &lt;target name="history" if="mining.historyfile.available"&gt;      &lt;!-- Merging ${data.file} into ${hist.file} --&gt;      &lt;computeBugHistory home="${findbugs.home}"      	                 withMessages="true"      	                 output="${hist.file}"&gt;      	  &lt;dataFile name="${hist.file}"/&gt;      	  &lt;dataFile name="${data.file}"/&gt;      &lt;/computeBugHistory&gt;      &lt;!-- Compute history into ${hist.summary.file} --&gt;      &lt;mineBugHistory home="${findbugs.home}"      	              formatDates="true"                      noTabs="true"      	              input="${hist.file}"      	              output="${hist.summary.file}"/&gt;   &lt;/target&gt;&lt;/project&gt;</pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rejarForAnalysis.html">Prev</a>&nbsp;</td><td width="20%" align="center">&nbsp;</td><td width="40%" align="right">&nbsp;<a accesskey="n" href="license.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&nbsp;11.&nbsp;Using rejarForAnalysis&nbsp;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&nbsp;Chapter&nbsp;13.&nbsp;License</td></tr></table></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -