亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? filter.html

?? JSP頁面代碼排錯
?? HTML
?? 第 1 頁 / 共 2 頁
字號:
<html><head>      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">   <title>Chapter&nbsp;8.&nbsp;Filter Files</title><meta name="generator" content="DocBook XSL Stylesheets V1.71.1"><link rel="start" href="index.html" title="FindBugs&#8482; Manual"><link rel="up" href="index.html" title="FindBugs&#8482; Manual"><link rel="prev" href="eclipse.html" title="Chapter&nbsp;7.&nbsp;Using the FindBugs&#8482; Eclipse plugin"><link rel="next" href="analysisprops.html" title="Chapter&nbsp;9.&nbsp;Analysis Properties"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter&nbsp;8.&nbsp;Filter Files</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="eclipse.html">Prev</a>&nbsp;</td><th width="60%" align="center">&nbsp;</th><td width="20%" align="right">&nbsp;<a accesskey="n" href="analysisprops.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="filter"></a>Chapter&nbsp;8.&nbsp;Filter Files</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="filter.html#d0e1744">1. Introduction to Filter Files</a></span></dt><dt><span class="sect1"><a href="filter.html#d0e1794">2. Types of Match clauses</a></span></dt><dt><span class="sect1"><a href="filter.html#d0e1987">3. Java element name matching</a></span></dt><dt><span class="sect1"><a href="filter.html#d0e2012">4. Caveats</a></span></dt><dt><span class="sect1"><a href="filter.html#d0e2042">5. Examples</a></span></dt><dt><span class="sect1"><a href="filter.html#d0e2095">6. Complete Example</a></span></dt></dl></div><p>Filter files may be used to include or exclude bug reports for particular classesand methods.  This chapter explains how to use filter files.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note: Planned Features"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="note.png"></td><th align="left">Planned Features</th></tr><tr><td align="left" valign="top"><p>  Filters are currently only supported by the Command Line interface.  Eventually, filter support will be added to the GUI.</p></td></tr></table></div><p></p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1744"></a>1.&nbsp;Introduction to Filter Files</h2></div></div></div><p>Conceptually, a filter matches bug instances against a set of criteria.By defining a filter, you can select bug instances for special treatment;for example, to exclude or include them in a report.</p><p>A filter file is an <a href="http://www.w3.org/XML/" target="_top">XML</a> document with a top-level <code class="literal">FindBugsFilter</code> elementwhich has some number of <code class="literal">Match</code> elements as children.  Each <code class="literal">Match</code>element represents a predicate which is applied to generated bug instances.Usually, a filter will be used to exclude bug instances.  For example:</p><pre class="screen"><code class="prompt">$ </code><span><strong class="command">findbugs -textui -exclude <em class="replaceable"><code>myExcludeFilter.xml</code></em> <em class="replaceable"><code>myApp.jar</code></em></strong></span></pre><p>However, a filter could also be used to select bug instances to specificallyreport:</p><pre class="screen"><code class="prompt">$ </code><span><strong class="command">findbugs -textui -include <em class="replaceable"><code>myIncludeFilter.xml</code></em> <em class="replaceable"><code>myApp.jar</code></em></strong></span></pre><p></p><p><code class="literal">Match</code> elements contain children, which are conjuncts of the predicate.In other words, each of the children must be true for the predicate to be true.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1794"></a>2.&nbsp;Types of Match clauses</h2></div></div></div><div class="variablelist"><dl><dt><span class="term"><code class="literal">&lt;Bug&gt;</code></span></dt><dd><p>			This element specifies a particular bug pattern or patterns to match.			The <code class="literal">pattern</code> attribute is a comma-separated list of			bug pattern types.  You can find the bug pattern types for particular			warnings by looking at the output produced by the <span><strong class="command">-xml</strong></span>			output option (the <code class="literal">type</code> attribute of <code class="literal">BugInstance</code>			elements), or from the <a href="../bugDescriptions.html" target="_top">bug			descriptions document</a>.   </p><p>   			For more coarse-grained matching, use <code class="literal">code</code> attribute. It takes   			a comma-separated list of bug abbreviations. For most-coarse grained matching use    			<code class="literal">category</code> attriute, that takes a comma separated list of bug category names:    			<code class="literal">CORRECTNESS</code>, <code class="literal">MT_CORRECTNESS</code>,    			<code class="literal">BAD_PRACTICICE</code>, <code class="literal">PERFORMANCE</code>, <code class="literal">STYLE</code>.    </p><p>   			   			If more than one of the attributes mentioned above are specified on the same    			<code class="literal">&lt;Bug&gt;</code> element, all bug patterns that match either one of specified    			pattern names, or abreviations, or categories will be matched.   </p><p>      			As a backwards compatibility measure, <code class="literal">&lt;BugPattern&gt;</code> and   			<code class="literal">&lt;BugCode&gt;</code> elements may be used instead of    			<code class="literal">&lt;Bug&gt;</code> element. Each of these uses a   			<code class="literal">name</code> attribute for specifying accepted values list. Support for these   			elements may be removed in a future release.   </p></dd><dt><span class="term"><code class="literal">&lt;Priority&gt;</code></span></dt><dd><p>			This element matches warnings with a particular priority.			The <code class="literal">value</code> attribute should be an integer value:			1 to match high-priority warnings, 2 to match medium-priority warnings,			or 3 to match low-priority warnings.		</p></dd><dt><span class="term"><code class="literal">&lt;Package&gt;</code></span></dt><dd><p> 			This element matches warnings associated with classes within the package specified 			using <code class="literal">name</code> attribute. Nested packages are not included (along the 			lines of Java import statement). However matching multiple packages can be achieved 			easily using regex name match.		</p></dd><dt><span class="term"><code class="literal">&lt;Class&gt;</code></span></dt><dd><p>			This element matches warnings associated with a particular class. The 			<code class="literal">name</code> attribute is used to specify the exact or regex match pattern 			for the class name.		</p><p>			As a backward compatibility measure, instead of element of this type, you can use			 <code class="literal">class</code> attribute on a <code class="literal">Match</code> element to specify 			 exact an class name or <code class="literal">classregex</code> attribute to specify a regular			 expression to match the class name against.		</p><p>			If the <code class="literal">Match</code> element contains neither a <code class="literal">Class</code> element, 			nor a <code class="literal">class</code> / <code class="literal">classregex</code> attribute, the predicate will apply 			to all classes. Such predicate is likely to match more bug instances than you want, unless it is 			refined further down with apropriate method or field predicates.		</p></dd><dt><span class="term"><code class="literal">&lt;Method&gt;</code></span></dt><dd><p>This element specifies a method.  The <code class="literal">name</code> is used to specify   the exact or regex match pattern for the method name.   The <code class="literal">params</code> attribute is a comma-separated list   of the types of the method's parameters.  The <code class="literal">returns</code> attribute is   the method's return type.  In <code class="literal">params</code> and <code class="literal">returns</code>, class names   must be fully qualified. (E.g., "java.lang.String" instead of just   "String".) If one of the latter attributes is specified the other is required for creating a method signature.    Note that you can provide either <code class="literal">name</code> attribute or <code class="literal">params</code>    and <code class="literal">returns</code> attributes or all three of them. This way you can provide various kinds of   name and signature based matches.   </p></dd><dt><span class="term"><code class="literal">&lt;Field&gt;</code></span></dt><dd><p>This element specifies a field. The <code class="literal">name</code> attribute is is used to specify   the exact or regex match pattern for the field name. You can also filter fields according to their signature -   use <code class="literal">type</code> attribute to specify fully qualified type of the field. You can specify eiter or both   of these attributes in order to perform name / signature based matches.   </p></dd><dt><span class="term"><code class="literal">&lt;Local&gt;</code></span></dt><dd><p>This element specifies a local variable. The <code class="literal">name</code> attribute is is used to specify   the exact or regex match pattern for the local variable name. Local variables are variables defined within a method.   </p></dd><dt><span class="term"><code class="literal">&lt;Or&gt;</code></span></dt><dd><p>   This element combines <code class="literal">Match</code> clauses as disjuncts.  I.e., you can put two   <code class="literal">Method</code> elements in an <code class="literal">Or</code> clause in order to match either method.   </p></dd></dl></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e1987"></a>3.&nbsp;Java element name matching</h2></div></div></div><p>If the <code class="literal">name</code> attribute of <code class="literal">Class</code>, <code class="literal">Method</code> or<code class="literal">Field</code> starts with the ~ character the rest of attribute content is interpreted as a Java regular expression that is matched against the names of the Java element in question. </p><p>Note that the pattern is matched against whole element name and therefore .* clauses need to be usedat pattern beginning and/or end to perform substring matching.</p><p>See <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html" target="_top"><code class="literal">java.util.regex.Pattern</code></a> documentation for pattern syntax.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2012"></a>4.&nbsp;Caveats</h2></div></div></div><p><code class="literal">Match</code> clauses can only match information that is actually contained in thebug instances.  Every bug instance has a class, so in general, excludingbugs by class will work.</p><p>Some bug instances have two (or more) classes.  For example, the DE (dropped exception)bugs report both the class containing the method where the dropped exceptionhappens, and the class which represents the type of the dropped exception.Only the <span class="emphasis"><em>first</em></span> (primary) class is matched against <code class="literal">Match</code> clauses.So, for example, if you want to suppress IC (initialization circularity)reports for classes "com.foobar.A" and "com.foobar.B", you would usetwo <code class="literal">Match</code> clauses:</p><pre class="programlisting">   &lt;Match&gt;      &lt;Class name="com.foobar.A" /&gt;      &lt;Bug code="IC" /&gt;   &lt;/Match&gt;   &lt;Match&gt;      &lt;Class name="com.foobar.B" /&gt;      &lt;Bug code="IC" /&gt;   &lt;/Match&gt;</pre><p>By explicitly matching both classes, you ensure that the IC bug instance will bematched regardless of which class involved in the circularity happens to belisted first in the bug instance.  (Of course, this approach might accidentallysupress circularities involving "com.foobar.A" or "com.foobar.B" and a thirdclass.)</p><p>Many kinds of bugs report what method they occur in.  For those bug instances,you can put <code class="literal">Method</code> clauses in the <code class="literal">Match</code> element and they should workas expected.</p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d0e2042"></a>5.&nbsp;Examples</h2></div></div></div><p>  1. Match all bug reports for a class.</p><pre class="programlisting">     &lt;Match&gt;       &lt;Class name="com.foobar.MyClass" /&gt;     &lt;/Match&gt;</pre><p></p><p>  2. Match certain tests from a class by specifying their abbreviations.</p><pre class="programlisting">     &lt;Match&gt;       &lt;Class name="com.foobar.MyClass"/ &gt;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久成人羞羞网站| 国产做a爰片久久毛片| 精品国产乱码久久| 日本黄色一区二区| 国产成人亚洲精品青草天美| 亚洲1区2区3区4区| 国产精品福利影院| 久久综合久久综合久久| 欧美日韩视频在线一区二区| 成人免费三级在线| 老司机精品视频线观看86| 亚洲综合精品自拍| 亚洲天堂a在线| 亚洲国产精品av| 精品少妇一区二区| 5566中文字幕一区二区电影| 在线观看欧美黄色| 99久久精品99国产精品| 国产成人亚洲综合a∨婷婷图片| 日韩国产在线一| 亚洲一区二区三区中文字幕在线| 中文幕一区二区三区久久蜜桃| 精品久久国产老人久久综合| 欧美一区二区免费观在线| 欧美日韩情趣电影| 在线影院国内精品| 91蜜桃免费观看视频| 国产精品一区久久久久| 国产一区二区毛片| 国产在线精品国自产拍免费| 免费的国产精品| 免费人成黄页网站在线一区二区| 亚洲成av人片在线观看无码| 亚洲一区二区在线免费看| 亚洲精品va在线观看| 一区二区在线观看视频| 亚洲一区二区三区视频在线| 亚洲在线成人精品| 亚洲精品国产a| 亚洲成人av福利| 亚洲成av人综合在线观看| 五月天激情综合| 香蕉乱码成人久久天堂爱免费| 亚洲不卡在线观看| 日韩国产欧美在线播放| 久久99精品国产.久久久久久| 久久99最新地址| 国产乱人伦偷精品视频不卡| 国产成人免费在线视频| av在线一区二区| 色屁屁一区二区| 欧美日韩激情一区二区三区| 制服丝袜成人动漫| 精品女同一区二区| 国产精品久久久久久久久图文区 | 6080亚洲精品一区二区| 7777精品伊人久久久大香线蕉| 这里是久久伊人| 精品国产不卡一区二区三区| 日本一区二区电影| 亚洲精品久久久久久国产精华液| 亚洲一区二区三区四区在线观看| 午夜免费久久看| 久久电影网电视剧免费观看| 成人性生交大片免费看视频在线 | 国产成人精品三级| 99re亚洲国产精品| 欧美精品久久天天躁| ww亚洲ww在线观看国产| 亚洲天堂精品视频| 麻豆精品精品国产自在97香蕉| 国产成人午夜电影网| 91黄色免费观看| 亚洲精品一区二区三区蜜桃下载| 国产精品乱码人人做人人爱| 亚洲资源在线观看| 精品一二线国产| 色综合久久综合网| 欧美电影免费观看高清完整版在| 欧美激情一区二区三区不卡| 亚洲情趣在线观看| 久久 天天综合| 在线视频你懂得一区| 精品国产在天天线2019| 亚洲毛片av在线| 国产精品一区二区三区乱码| 欧美中文一区二区三区| 国产亚洲精品7777| 婷婷开心久久网| 成人免费的视频| 欧美电影免费观看高清完整版在线 | 中文字幕一区二区三区蜜月 | 中文字幕欧美激情一区| 午夜电影一区二区| 懂色av一区二区三区免费看| 欧美日韩激情在线| 国产精品久久久久精k8 | 日本成人在线视频网站| 99精品国产视频| 久久在线观看免费| 首页国产丝袜综合| 91视频国产资源| 国产欧美一区二区三区鸳鸯浴| 亚洲国产精品一区二区久久恐怖片| 国产福利91精品一区二区三区| 欧美精品一卡两卡| 亚洲精品国产a久久久久久| 国产98色在线|日韩| 日韩视频免费观看高清完整版 | 99热这里都是精品| 精品国产制服丝袜高跟| 五月天精品一区二区三区| 成人av电影在线观看| 精品免费一区二区三区| 日本午夜精品视频在线观看| 欧美在线综合视频| 亚洲乱码国产乱码精品精的特点| 国产成人亚洲综合a∨婷婷| 日韩情涩欧美日韩视频| 日韩一区精品字幕| 欧美性xxxxxx少妇| 一区二区三区中文在线| 91麻豆精品在线观看| 国产精品毛片久久久久久| 国产剧情一区在线| 久久伊99综合婷婷久久伊| 免费欧美在线视频| 欧美大片一区二区三区| 美国毛片一区二区| 91精品啪在线观看国产60岁| 亚洲va欧美va国产va天堂影院| 99久久综合99久久综合网站| 久久精品亚洲精品国产欧美| 国产成人免费视频网站| 国产亚洲成aⅴ人片在线观看| 国产成人免费视频一区| 国产精品免费丝袜| 91亚洲资源网| 亚洲卡通动漫在线| 欧美性生活大片视频| 偷拍一区二区三区四区| 日韩欧美一区电影| 韩国三级在线一区| 日本一区免费视频| 99国产精品国产精品毛片| 亚洲精品乱码久久久久久黑人| 91福利在线导航| 日韩av成人高清| 久久久午夜精品理论片中文字幕| 国产成人在线看| 亚洲免费在线观看视频| 欧美精品日韩精品| 韩国三级电影一区二区| 国产精品福利一区| 欧美日韩免费视频| 日韩影院精彩在线| 精品国产一区二区三区忘忧草| 亚洲黄色性网站| 91精品国产色综合久久| 看片的网站亚洲| 日韩精品专区在线影院观看| 久久99九九99精品| 久久久久九九视频| 成人动漫视频在线| 一区二区三区免费网站| 欧美亚洲自拍偷拍| 五月天丁香久久| 精品国产髙清在线看国产毛片| 老司机午夜精品| 国产亚洲精品久| 色综合天天综合狠狠| 天天综合网 天天综合色| 日韩午夜三级在线| 懂色av噜噜一区二区三区av| 17c精品麻豆一区二区免费| 69成人精品免费视频| 麻豆精品久久久| 国产欧美精品一区二区三区四区 | 91免费版pro下载短视频| 亚洲精品欧美二区三区中文字幕| 日韩欧美在线不卡| 国产精品中文字幕日韩精品| 中文字幕在线播放不卡一区| 91福利小视频| 国产69精品久久777的优势| 亚洲尤物视频在线| 欧美大肚乱孕交hd孕妇| 国产精品99久| 一区二区三区在线高清| 日韩一区二区三区免费看| 国产成人午夜精品5599| 日本欧美一区二区| 中文字幕 久热精品 视频在线| 91同城在线观看| 日本不卡的三区四区五区| 一区2区3区在线看| 久久久午夜精品理论片中文字幕| 91极品美女在线| 不卡的电视剧免费网站有什么| 亚洲成a人片在线不卡一二三区 |