217 def analyze(filename, total): |
217 def analyze(filename, total): |
218 """ |
218 """ |
219 Module function used analyze the source of a Python file. |
219 Module function used analyze the source of a Python file. |
220 |
220 |
221 @param filename name of the Python file to be analyzed |
221 @param filename name of the Python file to be analyzed |
222 @type str |
222 @type str |
223 @param total dictionary receiving the overall code statistics |
223 @param total dictionary receiving the overall code statistics |
224 @type dict |
224 @type dict |
225 @return a statistics object with the collected code statistics |
225 @return a statistics object with the collected code statistics |
226 @rtype SourceStat |
226 @rtype SourceStat |
227 """ |
227 """ |