MCPcopy
hub / github.com/qodo-ai/qodo-cover / analyze_context

Method analyze_context

cover_agent/lsp_logic/ContextHelper.py:34–47  ·  view source on GitHub ↗
(
        self,
        test_file: Path,
        context_files: List[Path],
        ai_caller: AICaller,
    )

Source from the content-addressed store, hash-verified

32 return context_files
33
34 async def analyze_context(
35 self,
36 test_file: Path,
37 context_files: List[Path],
38 ai_caller: AICaller,
39 ) -> Tuple[Path, List[Path]]:
40 if not self._lsp:
41 raise ValueError(
42 "Language server not initialized. Please call start_server() first."
43 )
44 source_file, context_files_include = await analyze_context(
45 test_file, context_files, self._args, ai_caller
46 )
47 return source_file, context_files_include

Callers 1

runFunction · 0.95

Calls 1

analyze_contextFunction · 0.90

Tested by

no test coverage detected