• Home
  • Raw
  • Download

Lines Matching refs:code

17 <p>The Android {@code lint} tool is a static code analysis tool that checks your Android project so…
18 <p>For more information on running {@code lint}, see <a href="{@docRoot}tools/debugging/improving-w…
24 For example, you can issue the following command to scan the Java and XML files under the {@code my…
27code lint} to check for a specific issue. For example, you can run the following command to scan t…
30code lint} detects. For example, you can run the following command to scan the {@code myproject} d…
35 <p>Table 1 describes the command-line options for {@code lint}.</p>
48 <td><nobr><code>--disable &lt;list&gt;</code></nobr></td>
50 <td>The <code>&lt;list&gt;</code> must be a comma-separated list of {@code lint} issue IDs or categ…
54 <td><nobr><code>--enable &lt;list&gt;</code></nobr></td>
55 <td>Check for all the default issues supported by {@code lint} as well as the specifically enabled …
56 <td>The <code>&lt;list&gt;</code> must be a comma-separated list of {@code lint} issue IDs or categ…
60 <td><nobr><code>--check &lt;list&gt;</code></nobr></td>
62 <td>The <code>&lt;list&gt;</code> must be a comma-separated list of {@code lint} issue IDs or categ…
66 <td><nobr><code>-w</code> or <code>--nowarn</code></nobr></td>
72 <td><nobr><code>-Wall</code></nobr></td>
78 <td><nobr><code>-Werror</code></nobr></td>
84 <td><nobr><code>--config &lt;filename&gt;</code></nobr></td>
85 <td>Use the specified configuration file to determine if issues are enabled or disabled for {@code
86 <td>If the project contains a {@code lint.xml} file, the {@code lint.xml} file will be used as the …
91 <td><nobr><code>--html &lt;filename&gt;</code></nobr></td>
93 …e specified in the argument. The HTML output includes code snippets of the source code where {@cod…
97 <td><nobr><code>--url &lt;filepath&gt;=&lt;url&gt;</code></nobr></td>
98 …TML output, replace a local path prefix <code>&lt;filepath&gt;</code> with a url prefix <code>&lt;…
99code --url} option only applies when you are generating an HTML report with the {@code --html} opt…
103 <td><nobr><code>--simplehtml &lt;filename&gt;</code></nobr></td>
109 <td><nobr><code>--xml &lt;filename&gt;</code></nobr></td>
115 <td><nobr><code>--fullpath</code></nobr></td>
116 <td>Show the full file paths in the {@code lint} checking results.</td>
121 <td><nobr><code>--showall</code></nobr></td>
127 <td><nobr><code>--nolines</code></nobr></td>
128 <td>Don't include code snippets from the source files in the output.</td>
133 <td><nobr><code>--exitcode</code></nobr></td>
134 <td>Set the exit code to 1 if errors are found.</td>
139 <td><nobr><code>--quiet</code></nobr></td>
146 <td><nobr><code>--help</code></nobr></td>
147 <td>List the command-line arguments supported by the {@code lint} tool.</td>
148 <td>Use {@code --help &lt;topic&gt;} to see help information for a specific topic, such as "suppres…
152 <td><nobr><code>--list</code></nobr></td>
153 <td>List the ID and short description for issues that can be checked by {@code lint}</td>
158 <td><nobr><code>--show</code></nobr></td>
159 <td>List the ID and verbose description for issues that can be checked by {@code lint}</td>
160 <td>Use {@code --show &lt;ids&gt;} to see descriptions for a specific list of {@code lint} issue ID…
164 <td><nobr><code>--version</code></nobr></td>
165 <td>Show the {@code lint} version</td>
175 <LI>To disable lint checking for a specific Java class or method, use the <code>@SuppressLint</code
176 …e lint checking for specific sections of your XML file, use the <code>tools:ignore</code> attribut…