pub trait CallGraphProvider {
// Required methods
fn call_count(&self, from: &str, to: &str) -> usize;
fn callees(&self, method: &str) -> HashSet<String>;
fn callers(&self, method: &str) -> HashSet<String>;
}Expand description
Call graph interface for similarity calculation
Required Methods§
Sourcefn call_count(&self, from: &str, to: &str) -> usize
fn call_count(&self, from: &str, to: &str) -> usize
Get number of calls from method1 to method2