45 <td><a href="#initService">initService</a></td> |
45 <td><a href="#initService">initService</a></td> |
46 <td>Initialize the service and return the entry point.</td> |
46 <td>Initialize the service and return the entry point.</td> |
47 </tr> |
47 </tr> |
48 <tr> |
48 <tr> |
49 <td><a href="#rawCodeMetrics">rawCodeMetrics</a></td> |
49 <td><a href="#rawCodeMetrics">rawCodeMetrics</a></td> |
50 <td>Private function to calculate the raw code metrics of one file.</td> |
50 <td></td> |
51 </tr> |
51 </tr> |
52 <tr> |
52 <tr> |
53 <td><a href="#workerTask">workerTask</a></td> |
53 <td><a href="#workerTask">workerTask</a></td> |
54 <td>Module function acting as the parallel worker for the raw code metrics calculation.</td> |
54 <td>Module function acting as the parallel worker for the raw code metrics calculation.</td> |
55 </tr> |
55 </tr> |
86 <div align="right"><a href="#top">Up</a></div> |
86 <div align="right"><a href="#top">Up</a></div> |
87 <hr /> |
87 <hr /> |
88 <hr /> |
88 <hr /> |
89 <a NAME="__rawCodeMetrics" ID="__rawCodeMetrics"></a> |
89 <a NAME="__rawCodeMetrics" ID="__rawCodeMetrics"></a> |
90 <h2>__rawCodeMetrics</h2> |
90 <h2>__rawCodeMetrics</h2> |
91 <b>__rawCodeMetrics</b>(<i>file, text=""</i>) |
91 <b>__rawCodeMetrics</b>(<i>text</i>) |
92 |
92 |
93 <p> |
93 <p> |
94 Private function to calculate the raw code metrics for one Python file. |
94 Private function to calculate the raw code metrics for one Python file. |
95 </p> |
95 </p> |
96 <dl> |
96 <dl> |
97 |
97 |
98 <dt><i>file</i> (str)</dt> |
|
99 <dd> |
|
100 source filename |
|
101 </dd> |
|
102 <dt><i>text</i> (str)</dt> |
98 <dt><i>text</i> (str)</dt> |
103 <dd> |
99 <dd> |
104 source text |
100 source text |
105 </dd> |
101 </dd> |
106 </dl> |
102 </dl> |
186 <hr /> |
182 <hr /> |
187 <a NAME="rawCodeMetrics" ID="rawCodeMetrics"></a> |
183 <a NAME="rawCodeMetrics" ID="rawCodeMetrics"></a> |
188 <h2>rawCodeMetrics</h2> |
184 <h2>rawCodeMetrics</h2> |
189 <b>rawCodeMetrics</b>(<i>file, text=""</i>) |
185 <b>rawCodeMetrics</b>(<i>file, text=""</i>) |
190 |
186 |
191 <p> |
|
192 Private function to calculate the raw code metrics 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> |
|
217 <div align="right"><a href="#top">Up</a></div> |
187 <div align="right"><a href="#top">Up</a></div> |
218 <hr /> |
188 <hr /> |
219 <hr /> |
189 <hr /> |
220 <a NAME="workerTask" ID="workerTask"></a> |
190 <a NAME="workerTask" ID="workerTask"></a> |
221 <h2>workerTask</h2> |
191 <h2>workerTask</h2> |