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></td> |
46 <td>Private function to calculate the cyclomatic complexity of one file.</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> |
184 <div align="right"><a href="#top">Up</a></div> |
184 <div align="right"><a href="#top">Up</a></div> |
185 <hr /> |
185 <hr /> |
186 <hr /> |
186 <hr /> |
187 <a NAME="cyclomaticComplexity" ID="cyclomaticComplexity"></a> |
187 <a NAME="cyclomaticComplexity" ID="cyclomaticComplexity"></a> |
188 <h2>cyclomaticComplexity</h2> |
188 <h2>cyclomaticComplexity</h2> |
189 <b>cyclomaticComplexity</b>(<i>file, text=""</i>) |
189 <b>cyclomaticComplexity</b>(<i>file, text="", </i>) |
190 |
190 |
|
191 <p> |
|
192 Private function to calculate the cyclomatic complexity of one file. |
|
193 </p> |
|
194 <dl> |
|
195 |
|
196 <dt><i>file</i> (str)</dt> |
|
197 <dd> |
|
198 source filename |
|
199 </dd> |
|
200 <dt><i>text</i> (str)</dt> |
|
201 <dd> |
|
202 source text |
|
203 </dd> |
|
204 </dl> |
|
205 <dl> |
|
206 <dt>Return:</dt> |
|
207 <dd> |
|
208 tuple containing the result dictionary |
|
209 </dd> |
|
210 </dl> |
|
211 <dl> |
|
212 <dt>Return Type:</dt> |
|
213 <dd> |
|
214 (tuple of dict) |
|
215 </dd> |
|
216 </dl> |
191 <div align="right"><a href="#top">Up</a></div> |
217 <div align="right"><a href="#top">Up</a></div> |
192 <hr /> |
218 <hr /> |
193 <hr /> |
219 <hr /> |
194 <a NAME="initBatchService" ID="initBatchService"></a> |
220 <a NAME="initBatchService" ID="initBatchService"></a> |
195 <h2>initBatchService</h2> |
221 <h2>initBatchService</h2> |