(G, roots, modified_func)
| 126 | |
| 127 | |
| 128 | def update_call_graph_c(G, roots, modified_func): |
| 129 | for func_name in modified_func: |
| 130 | if func_name in G: |
| 131 | remove_edges_of_node(G, func_name, in_edges=False) |
| 132 | G.node[func_name]['num_lines'] += modified_func[func_name] |
| 133 | |
| 134 | # here roots should be constructed from the more recent commit |
| 135 | # new functions and their sizes are stored in new_func dictionary |
| 136 | _, new_func, _ = build_call_graph_c(roots, G) |
| 137 | return new_func |
| 138 | |
| 139 | |
| 140 | def get_func_ranges_c(root): |
no test coverage detected