(root)
| 105 | |
| 106 | |
| 107 | def get_func_ranges_c(root): |
| 108 | func_names, func_ranges = [], [] |
| 109 | for func_node in root.findall('./srcml:function', namespaces=ns): |
| 110 | |
| 111 | func_name, start_line, end_line = handle_function(func_node) |
| 112 | if not (func_name and start_line and end_line): |
| 113 | continue |
| 114 | |
| 115 | func_ranges.append([start_line, end_line]) |
| 116 | func_names.append(func_name) |
| 117 | return func_names, func_ranges |
nothing calls this directly
no test coverage detected