pub fn is_test_code(path: &Path, function_name: &str) -> bool
Detect if code is test-related based on path and function name