Documentation/Source/eric5.DataViews.CodeMetrics.html

changeset 2966
f85f686981ad
parent 2387
2d119e79ab54
equal deleted inserted replaced
2965:d133c7edd88a 2966:f85f686981ad
50 <tr> 50 <tr>
51 <td><a href="#analyze">analyze</a></td> 51 <td><a href="#analyze">analyze</a></td>
52 <td>Module function used analyze the source of a Python file.</td> 52 <td>Module function used analyze the source of a Python file.</td>
53 </tr><tr> 53 </tr><tr>
54 <td><a href="#main">main</a></td> 54 <td><a href="#main">main</a></td>
55 <td>Modules main function used when called as a script.</td> 55 <td>Module main function used when called as a script.</td>
56 </tr><tr> 56 </tr><tr>
57 <td><a href="#summarize">summarize</a></td> 57 <td><a href="#summarize">summarize</a></td>
58 <td>Module function used to collect overall statistics.</td> 58 <td>Module function used to collect overall statistics.</td>
59 </tr> 59 </tr>
60 </table> 60 </table>
180 </p><dl> 180 </p><dl>
181 <dt><i>tok</i></dt> 181 <dt><i>tok</i></dt>
182 <dd> 182 <dd>
183 the token to be processed (Token) 183 the token to be processed (Token)
184 </dd> 184 </dd>
185 </dl><dl>
186 <dt>Raises <b>ValueError</b>:</dt>
187 <dd>
188 raised to indicate an invalid indentation level
189 </dd>
185 </dl><a NAME="SourceStat.dump" ID="SourceStat.dump"></a> 190 </dl><a NAME="SourceStat.dump" ID="SourceStat.dump"></a>
186 <h4>SourceStat.dump</h4> 191 <h4>SourceStat.dump</h4>
187 <b>dump</b>(<i></i>) 192 <b>dump</b>(<i></i>)
188 <p> 193 <p>
189 Public method used to format and print the collected statistics. 194 Public method used to format and print the collected statistics.
274 <h4>Token (Constructor)</h4> 279 <h4>Token (Constructor)</h4>
275 <b>Token</b>(<i>**kw</i>) 280 <b>Token</b>(<i>**kw</i>)
276 <p> 281 <p>
277 Constructor 282 Constructor
278 </p><dl> 283 </p><dl>
279 <dt><i>**kw</i></dt> 284 <dt><i>**kw=</i></dt>
280 <dd> 285 <dd>
281 list of key, value pairs 286 list of key, value pairs
282 </dd> 287 </dd>
283 </dl> 288 </dl>
284 <div align="right"><a href="#top">Up</a></div> 289 <div align="right"><a href="#top">Up</a></div>
306 <hr /><hr /> 311 <hr /><hr />
307 <a NAME="main" ID="main"></a> 312 <a NAME="main" ID="main"></a>
308 <h2>main</h2> 313 <h2>main</h2>
309 <b>main</b>(<i></i>) 314 <b>main</b>(<i></i>)
310 <p> 315 <p>
311 Modules main function used when called as a script. 316 Module main function used when called as a script.
312 </p><p> 317 </p><p>
313 This function simply loops over all files given on the commandline 318 Loop over all files given on the command line and collect the individual
314 and collects the individual and overall source code statistics. 319 and overall source code statistics.
315 </p> 320 </p>
316 <div align="right"><a href="#top">Up</a></div> 321 <div align="right"><a href="#top">Up</a></div>
317 <hr /><hr /> 322 <hr /><hr />
318 <a NAME="summarize" ID="summarize"></a> 323 <a NAME="summarize" ID="summarize"></a>
319 <h2>summarize</h2> 324 <h2>summarize</h2>

eric ide

mercurial