41 <td><a href="#batchCyclomaticComplexity">batchCyclomaticComplexity</a></td> |
41 <td><a href="#batchCyclomaticComplexity">batchCyclomaticComplexity</a></td> |
42 <td>Module function to calculate the cyclomatic complexity for a batch of files.</td> |
42 <td>Module function to calculate the cyclomatic complexity for a batch of files.</td> |
43 </tr> |
43 </tr> |
44 <tr> |
44 <tr> |
45 <td><a href="#cyclomaticComplexity">cyclomaticComplexity</a></td> |
45 <td><a href="#cyclomaticComplexity">cyclomaticComplexity</a></td> |
46 <td>Private function to calculate the cyclomatic complexity of one file.</td> |
46 <td></td> |
47 </tr> |
47 </tr> |
48 <tr> |
48 <tr> |
49 <td><a href="#initBatchService">initBatchService</a></td> |
49 <td><a href="#initBatchService">initBatchService</a></td> |
50 <td>Initialize the batch service and return the entry point.</td> |
50 <td>Initialize the batch service and return the entry point.</td> |
51 </tr> |
51 </tr> |
90 <div align="right"><a href="#top">Up</a></div> |
90 <div align="right"><a href="#top">Up</a></div> |
91 <hr /> |
91 <hr /> |
92 <hr /> |
92 <hr /> |
93 <a NAME="__cyclomaticComplexity" ID="__cyclomaticComplexity"></a> |
93 <a NAME="__cyclomaticComplexity" ID="__cyclomaticComplexity"></a> |
94 <h2>__cyclomaticComplexity</h2> |
94 <h2>__cyclomaticComplexity</h2> |
95 <b>__cyclomaticComplexity</b>(<i>file, text=""</i>) |
95 <b>__cyclomaticComplexity</b>(<i>text</i>) |
96 |
96 |
97 <p> |
97 <p> |
98 Private function to calculate the cyclomatic complexity for one Python |
98 Private function to calculate the cyclomatic complexity for one Python |
99 file. |
99 file. |
100 </p> |
100 </p> |
101 <dl> |
101 <dl> |
102 |
102 |
103 <dt><i>file</i> (str)</dt> |
|
104 <dd> |
|
105 source filename |
|
106 </dd> |
|
107 <dt><i>text</i> (str)</dt> |
103 <dt><i>text</i> (str)</dt> |
108 <dd> |
104 <dd> |
109 source text |
105 source text |
110 </dd> |
106 </dd> |
111 </dl> |
107 </dl> |
190 <hr /> |
186 <hr /> |
191 <a NAME="cyclomaticComplexity" ID="cyclomaticComplexity"></a> |
187 <a NAME="cyclomaticComplexity" ID="cyclomaticComplexity"></a> |
192 <h2>cyclomaticComplexity</h2> |
188 <h2>cyclomaticComplexity</h2> |
193 <b>cyclomaticComplexity</b>(<i>file, text=""</i>) |
189 <b>cyclomaticComplexity</b>(<i>file, text=""</i>) |
194 |
190 |
195 <p> |
|
196 Private function to calculate the cyclomatic complexity of one file. |
|
197 </p> |
|
198 <dl> |
|
199 |
|
200 <dt><i>file</i> (str)</dt> |
|
201 <dd> |
|
202 source filename |
|
203 </dd> |
|
204 <dt><i>text</i> (str)</dt> |
|
205 <dd> |
|
206 source text |
|
207 </dd> |
|
208 </dl> |
|
209 <dl> |
|
210 <dt>Return:</dt> |
|
211 <dd> |
|
212 tuple containing the result dictionary |
|
213 </dd> |
|
214 </dl> |
|
215 <dl> |
|
216 <dt>Return Type:</dt> |
|
217 <dd> |
|
218 (tuple of dict) |
|
219 </dd> |
|
220 </dl> |
|
221 <div align="right"><a href="#top">Up</a></div> |
191 <div align="right"><a href="#top">Up</a></div> |
222 <hr /> |
192 <hr /> |
223 <hr /> |
193 <hr /> |
224 <a NAME="initBatchService" ID="initBatchService"></a> |
194 <a NAME="initBatchService" ID="initBatchService"></a> |
225 <h2>initBatchService</h2> |
195 <h2>initBatchService</h2> |