(G, roots, modified_func, env=None)
| 372 | |
| 373 | |
| 374 | def update_call_graph_java(G, roots, modified_func, env=None): |
| 375 | for fid in modified_func: |
| 376 | if fid in G: |
| 377 | remove_edges_of_node(G, fid, in_edges=False) |
| 378 | G.node[fid]['num_lines'] += modified_func[fid] |
| 379 | |
| 380 | # here roots should be constructed from the more recent commit |
| 381 | # new functions and their sizes are stored in new_func dictionary |
| 382 | _, new_func, _, _ = build_call_graph_java(roots, G, env=env) |
| 383 | return new_func |
| 384 | |
| 385 | |
| 386 | def get_func_ranges_java(root): |
no test coverage detected