|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.RemoteServer.EricServerCoverageRequestHandler</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.RemoteServer.EricServerCoverageRequestHandler</h1> |
|
10 <p> |
|
11 Module implementing the code coverage request handler of the eric-ide server. |
|
12 </p> |
|
13 |
|
14 <h3>Global Attributes</h3> |
|
15 <table> |
|
16 <tr><td>None</td></tr> |
|
17 </table> |
|
18 |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#EricServerCoverageRequestHandler">EricServerCoverageRequestHandler</a></td> |
|
23 <td>Class implementing the code coverage request handler of the eric-ide server.</td> |
|
24 </tr> |
|
25 </table> |
|
26 |
|
27 <h3>Functions</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 |
|
32 <hr /> |
|
33 <hr /> |
|
34 <a NAME="EricServerCoverageRequestHandler" ID="EricServerCoverageRequestHandler"></a> |
|
35 <h2>EricServerCoverageRequestHandler</h2> |
|
36 <p> |
|
37 Class implementing the code coverage request handler of the eric-ide server. |
|
38 </p> |
|
39 |
|
40 <h3>Derived from</h3> |
|
41 EricServerBaseRequestHandler |
|
42 <h3>Class Attributes</h3> |
|
43 <table> |
|
44 <tr><td>None</td></tr> |
|
45 </table> |
|
46 |
|
47 <h3>Class Methods</h3> |
|
48 <table> |
|
49 <tr><td>None</td></tr> |
|
50 </table> |
|
51 |
|
52 <h3>Methods</h3> |
|
53 <table> |
|
54 <tr> |
|
55 <td><a href="#EricServerCoverageRequestHandler.__init__">EricServerCoverageRequestHandler</a></td> |
|
56 <td>Constructor</td> |
|
57 </tr> |
|
58 <tr> |
|
59 <td><a href="#EricServerCoverageRequestHandler.__analyzeDirectory">__analyzeDirectory</a></td> |
|
60 <td>Private method to analyze files of a directory tree.</td> |
|
61 </tr> |
|
62 <tr> |
|
63 <td><a href="#EricServerCoverageRequestHandler.__analyzeFile">__analyzeFile</a></td> |
|
64 <td>Private method to analyze a single file.</td> |
|
65 </tr> |
|
66 <tr> |
|
67 <td><a href="#EricServerCoverageRequestHandler.__analyzeFiles">__analyzeFiles</a></td> |
|
68 <td>Private method to analyze a list of files.</td> |
|
69 </tr> |
|
70 <tr> |
|
71 <td><a href="#EricServerCoverageRequestHandler.__loadCoverageData">__loadCoverageData</a></td> |
|
72 <td>Private method to load the data collected by a code coverage run.</td> |
|
73 </tr> |
|
74 </table> |
|
75 |
|
76 <h3>Static Methods</h3> |
|
77 <table> |
|
78 <tr><td>None</td></tr> |
|
79 </table> |
|
80 |
|
81 |
|
82 <a NAME="EricServerCoverageRequestHandler.__init__" ID="EricServerCoverageRequestHandler.__init__"></a> |
|
83 <h4>EricServerCoverageRequestHandler (Constructor)</h4> |
|
84 <b>EricServerCoverageRequestHandler</b>(<i>server</i>) |
|
85 <p> |
|
86 Constructor |
|
87 </p> |
|
88 |
|
89 <dl> |
|
90 |
|
91 <dt><i>server</i> (EricServer)</dt> |
|
92 <dd> |
|
93 reference to the eric-ide server object |
|
94 </dd> |
|
95 </dl> |
|
96 <a NAME="EricServerCoverageRequestHandler.__analyzeDirectory" ID="EricServerCoverageRequestHandler.__analyzeDirectory"></a> |
|
97 <h4>EricServerCoverageRequestHandler.__analyzeDirectory</h4> |
|
98 <b>__analyzeDirectory</b>(<i>params</i>) |
|
99 <p> |
|
100 Private method to analyze files of a directory tree. |
|
101 </p> |
|
102 |
|
103 <dl> |
|
104 |
|
105 <dt><i>params</i> (dict)</dt> |
|
106 <dd> |
|
107 dictionary containing the request data |
|
108 </dd> |
|
109 </dl> |
|
110 <dl> |
|
111 <dt>Return:</dt> |
|
112 <dd> |
|
113 dictionary containing the reply data |
|
114 </dd> |
|
115 </dl> |
|
116 <dl> |
|
117 <dt>Return Type:</dt> |
|
118 <dd> |
|
119 dict |
|
120 </dd> |
|
121 </dl> |
|
122 <a NAME="EricServerCoverageRequestHandler.__analyzeFile" ID="EricServerCoverageRequestHandler.__analyzeFile"></a> |
|
123 <h4>EricServerCoverageRequestHandler.__analyzeFile</h4> |
|
124 <b>__analyzeFile</b>(<i>params</i>) |
|
125 <p> |
|
126 Private method to analyze a single file. |
|
127 </p> |
|
128 |
|
129 <dl> |
|
130 |
|
131 <dt><i>params</i> (dict)</dt> |
|
132 <dd> |
|
133 dictionary containing the request data |
|
134 </dd> |
|
135 </dl> |
|
136 <dl> |
|
137 <dt>Return:</dt> |
|
138 <dd> |
|
139 dictionary containing the reply data |
|
140 </dd> |
|
141 </dl> |
|
142 <dl> |
|
143 <dt>Return Type:</dt> |
|
144 <dd> |
|
145 dict |
|
146 </dd> |
|
147 </dl> |
|
148 <a NAME="EricServerCoverageRequestHandler.__analyzeFiles" ID="EricServerCoverageRequestHandler.__analyzeFiles"></a> |
|
149 <h4>EricServerCoverageRequestHandler.__analyzeFiles</h4> |
|
150 <b>__analyzeFiles</b>(<i>params</i>) |
|
151 <p> |
|
152 Private method to analyze a list of files. |
|
153 </p> |
|
154 |
|
155 <dl> |
|
156 |
|
157 <dt><i>params</i> (dict)</dt> |
|
158 <dd> |
|
159 dictionary containing the request data |
|
160 </dd> |
|
161 </dl> |
|
162 <dl> |
|
163 <dt>Return:</dt> |
|
164 <dd> |
|
165 dictionary containing the reply data |
|
166 </dd> |
|
167 </dl> |
|
168 <dl> |
|
169 <dt>Return Type:</dt> |
|
170 <dd> |
|
171 dict |
|
172 </dd> |
|
173 </dl> |
|
174 <a NAME="EricServerCoverageRequestHandler.__loadCoverageData" ID="EricServerCoverageRequestHandler.__loadCoverageData"></a> |
|
175 <h4>EricServerCoverageRequestHandler.__loadCoverageData</h4> |
|
176 <b>__loadCoverageData</b>(<i>params</i>) |
|
177 <p> |
|
178 Private method to load the data collected by a code coverage run. |
|
179 </p> |
|
180 |
|
181 <dl> |
|
182 |
|
183 <dt><i>params</i> (dict)</dt> |
|
184 <dd> |
|
185 dictionary containing the request data |
|
186 </dd> |
|
187 </dl> |
|
188 <dl> |
|
189 <dt>Return:</dt> |
|
190 <dd> |
|
191 dictionary containing the reply data |
|
192 </dd> |
|
193 </dl> |
|
194 <dl> |
|
195 <dt>Return Type:</dt> |
|
196 <dd> |
|
197 dict |
|
198 </dd> |
|
199 </dl> |
|
200 <div align="right"><a href="#top">Up</a></div> |
|
201 <hr /> |
|
202 </body></html> |