MCPcopy Create free account

hub / github.com/FSoft-AI4Code/CodeWiki / functions

Functions699 in github.com/FSoft-AI4Code/CodeWiki

↓ 2 callersMethodcreate_documentation_metadata
Create a metadata file with documentation generation information.
codewiki/src/be/documentation_generator.py:40
↓ 2 callersFunctioncreate_fallback_models
Create fallback models chain from configuration.
codewiki/src/be/llm_services.py:133
↓ 2 callersFunctiondfs
(node)
codewiki/src/be/dependency_analyzer/topo_sort.py:214
↓ 2 callersFunctionensure_directory
Ensure directory exists, create if necessary. Args: path: Directory path mode: Directory permissions (default: 0o700 - u
codewiki/cli/utils/fs.py:13
↓ 2 callersMethodexpand_window
Args: lines: All lines of the file start: 1-based line number of the start of the viewport stop: 1-based
codewiki/src/be/agent_tools/str_replace_editor.py:345
↓ 2 callersMethodextract_code_files
Extract code files from file tree structure. Filters files based on supported extensions and excludes test/config files. Ar
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:129
↓ 2 callersMethodfail
Mark job as failed.
codewiki/cli/models/job.py:95
↓ 2 callersFunctionflake8
Run flake8 on a given file and return the output as a string
codewiki/src/be/agent_tools/str_replace_editor.py:211
↓ 2 callersFunctionformat_cluster_prompt
Format the cluster prompt with potential core components and module tree.
codewiki/src/be/prompt_template.py:331
↓ 2 callersMethodfrom_args
Create configuration from parsed arguments.
codewiki/src/config.py:139
↓ 2 callersMethodfrom_line
(cls, line: str)
codewiki/src/be/agent_tools/str_replace_editor.py:106
↓ 2 callersMethodgenerate_module_documentation
Generate documentation for all modules using dynamic programming approach.
codewiki/src/be/documentation_generator.py:157
↓ 2 callersMethodgenerate_parent_module_docs
Generate documentation for a parent module based on its children's documentation.
codewiki/src/be/documentation_generator.py:243
↓ 2 callersMethodget_absolute_path
Get absolute path for a given relative path.
codewiki/src/fe/config.py:49
↓ 2 callersFunctionget_clustering_input_token_count
Count the tokens used to decide whether a module needs clustering.
codewiki/src/be/cluster_modules.py:46
↓ 2 callersMethodget_prompt_addition
Generate prompt additions based on agent instructions.
codewiki/src/config.py:111
↓ 2 callersFunctionhandle_analyze_repo
Run the dependency analysis, write results to workspace files, and return a compact summary with file paths.
codewiki/mcp/tools/analysis.py:282
↓ 2 callersFunctionhandle_edit_doc_file
Edit an existing documentation file (str_replace, insert, or undo).
codewiki/mcp/tools/doc_writer.py:113
↓ 2 callersFunctionhandle_edit_doc_file_wrapper
(args, store)
tests/smoke_test_mcp.py:229
↓ 2 callersFunctionhandle_read_code_components
Write the source code for given component IDs to workspace files. Returns a compact JSON with file paths — no source code inline.
codewiki/mcp/tools/code_reader.py:21
↓ 2 callersFunctionhandle_write_doc_file
Create a new documentation file in the output directory.
codewiki/mcp/tools/doc_writer.py:73
↓ 2 callersFunctionhandle_write_doc_file_wrapper
(args, store)
tests/smoke_test_mcp.py:225
↓ 2 callersFunctioninitialize_globals
Initialize global variables from environment or command line args if not already set.
codewiki/src/fe/visualise_docs.py:34
↓ 2 callersFunctionis_git_repository
Check if path is inside a git repository. Searches parent directories if .git is not directly at repo_path, supporting monorepo subd
codewiki/cli/utils/repo_validator.py:136
↓ 2 callersFunctionis_project_import
(target: str, project_modules: Set[str])
codewiki/src/be/dependency_analyzer/analyzers/python.py:23
↓ 2 callersFunctionis_top_tier_model
Check if a model is considered top-tier for clustering. Args: model: Model name Returns: True if top-tier,
codewiki/cli/utils/validation.py:210
↓ 2 callersFunctionload_module_tree
Load the module tree structure from module_tree.json.
codewiki/src/fe/visualise_docs.py:54
↓ 2 callersFunctionmain
Main function to run the web application.
codewiki/src/fe/web_app.py:75
↓ 2 callersFunctionmask_api_key
Mask API key for display, showing only first and last few characters. Args: api_key: API key to mask visible_chars: Numb
codewiki/cli/utils/validation.py:232
↓ 2 callersFunctionmaybe_truncate
Truncate content and append a notice if content exceeds the specified length.
codewiki/src/be/agent_tools/str_replace_editor.py:87
↓ 2 callersMethodregister_use
Register a use statement with optional alias.
codewiki/src/be/dependency_analyzer/analyzers/php.py:51
↓ 2 callersMethodrun_module_agent
Run the per-module agent loop. Returns the updated module_tree dict.
codewiki/src/be/backend.py:49
↓ 2 callersFunctionset_cli_context
Set whether we're running in CLI context (vs web app).
codewiki/src/config.py:28
↓ 2 callersMethodstart
Mark job as started.
codewiki/cli/models/job.py:85
↓ 2 callersMethodto_dict
Convert to dictionary, excluding None values.
codewiki/cli/models/config.py:44
↓ 2 callersMethodupdate
Update progress for a module. Args: module_name: Name of the module cached: Whether the module was l
codewiki/cli/utils/progress.py:201
↓ 2 callersMethodvalidate
Validate all configuration fields. Subscription-mode providers (claude-code, codex) authenticate via the underlying CLI's OA
codewiki/cli/models/config.py:141
↓ 1 callersMethod_add_relationship
(self, callee: str, is_resolved: bool, line: int)
codewiki/src/be/dependency_analyzer/analyzers/python.py:110
↓ 1 callersMethod_add_use_relationships
Add relationships for use statements.
codewiki/src/be/dependency_analyzer/analyzers/php.py:428
↓ 1 callersFunction_agent_tool_group_for_provider
Return the caw tool group needed for a module-agent session.
codewiki/src/be/caw_backend.py:65
↓ 1 callersMethod_analyze
(self)
codewiki/src/be/dependency_analyzer/analyzers/java.py:76
↓ 1 callersMethod_analyze
(self)
codewiki/src/be/dependency_analyzer/analyzers/c.py:50
↓ 1 callersMethod_analyze
(self)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:85
↓ 1 callersMethod_analyze
Parse and analyze the PHP file.
codewiki/src/be/dependency_analyzer/analyzers/php.py:156
↓ 1 callersMethod_analyze
(self)
codewiki/src/be/dependency_analyzer/analyzers/kotlin.py:54
↓ 1 callersMethod_analyze
(self)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:75
↓ 1 callersMethod_analyze_c_file
Analyze C file using tree-sitter based analyzer. Args: file_path: Relative path to the C file content: File
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:360
↓ 1 callersMethod_analyze_code_file
Analyze a single code file based on its language. Routes to appropriate language-specific analyzer. Args: repo_
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:212
↓ 1 callersMethod_analyze_cpp_file
Analyze C++ file using tree-sitter based analyzer. Args: file_path: Relative path to the C++ file content: F
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:379
↓ 1 callersMethod_analyze_csharp_file
Analyze C# file using tree-sitter based analyzer. Args: file_path: Relative path to the C# file content: Fil
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:441
↓ 1 callersMethod_analyze_java_file
Analyze Java file using tree-sitter based analyzer. Args: file_path: Relative path to the Java file content:
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:399
↓ 1 callersMethod_analyze_javascript_file
Analyze JavaScript file using tree-sitter based AST analyzer Args: file_path: Relative path to the JavaScript file
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:307
↓ 1 callersMethod_analyze_kotlin_file
Analyze Kotlin file using tree-sitter based analyzer. Args: file_path: Relative path to the Kotlin file cont
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:420
↓ 1 callersMethod_analyze_php_file
Analyze PHP file using tree-sitter based analyzer. Args: file_path: Relative path to the PHP file content: F
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:463
↓ 1 callersMethod_analyze_python_file
Analyze Python file using Python AST analyzer. Args: file_path: Relative path to the Python file content: Fi
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:260
↓ 1 callersMethod_analyze_typescript_file
Analyze TypeScript file using tree-sitter based AST analyzer Args: file_path: Relative path to the TypeScript file
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:333
↓ 1 callersMethod_build_components_from_analysis
(self, call_graph_result: Dict)
codewiki/src/be/dependency_analyzer/ast_parser.py:63
↓ 1 callersMethod_build_file_tree
(self, repo_dir: str)
codewiki/src/be/dependency_analyzer/analysis/repo_analyzer.py:43
↓ 1 callersMethod_build_info_content
Build HTML content for repo info section. Args: metadata: Metadata dictionary Returns:
codewiki/cli/html_generator.py:173
↓ 1 callersMethod_build_resolution_indexes
Build exact/simple-name lookup indexes, both globally and per language. Resolution prefers the caller's own language partition: a name
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:585
↓ 1 callersMethod_calculate_size
(self, tree: Dict)
codewiki/src/be/dependency_analyzer/analysis/repo_analyzer.py:125
↓ 1 callersFunction_call_llm_via_azure
Call LLM via Azure OpenAI. Uses the AzureOpenAI client from the openai package with azure_endpoint, api_version, and deployment name.
codewiki/src/be/llm_services.py:261
↓ 1 callersFunction_call_llm_via_litellm
Call LLM via litellm for Bedrock/Anthropic providers. litellm handles the provider-specific API translation automatically.
codewiki/src/be/llm_services.py:228
↓ 1 callersMethod_caller_language
(self, caller_id: str)
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:704
↓ 1 callersMethod_check_keyring_available
Check if system keyring is available.
codewiki/cli/config_manager.py:54
↓ 1 callersMethod_class_has_method
(self, class_node, method_name)
codewiki/src/be/dependency_analyzer/analyzers/cpp.py:667
↓ 1 callersMethod_classify_call
Map a call target to (callee, is_resolved). Bare names check same-file definitions, then imports. Attribute calls are resolved receiv
codewiki/src/be/dependency_analyzer/analyzers/python.py:386
↓ 1 callersFunction_collect
(tree: Dict[str, Any], path: List[str])
codewiki/mcp/tools/module_tree.py:32
↓ 1 callersMethod_collect_python_modules
Dotted module paths for every Python file in the repository.
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:289
↓ 1 callersMethod_configure_backend_logging
Configure backend logger for CLI use with colored output.
codewiki/cli/adapters/doc_generator.py:76
↓ 1 callersMethod_count_files
(self, tree: Dict)
codewiki/src/be/dependency_analyzer/analysis/repo_analyzer.py:120
↓ 1 callersMethod_create_node_from_entity
Create Node object from entity data.
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:558
↓ 1 callersMethod_declares_variable
(self, variable_declaration, variable_name)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:644
↓ 1 callersMethod_deduplicate_relationships
Deduplicate call relationships based on caller-callee pairs. Removes duplicate relationships while preserving the first occurrence.
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:712
↓ 1 callersFunction_detect_changed_files
Detect files changed since the last documentation generation. Reads the commit_id from metadata.json and compares with current HEAD usin
codewiki/cli/commands/generate.py:42
↓ 1 callersFunction_detect_changes
Detect changes since last documentation generation. Returns a changes dict with affected modules, or None if no previous generation exists (f
codewiki/mcp/tools/analysis.py:28
↓ 1 callersFunction_detect_via_git
Detect changes via git. Returns None if not in a git repo or if no previous commit is recorded (so the caller can fall through to mtime). Che
codewiki/mcp/tools/analysis.py:90
↓ 1 callersFunction_detect_via_mtime
Fallback: detect changed files by comparing mtime with generation timestamp.
codewiki/mcp/tools/analysis.py:192
↓ 1 callersFunction_dotted_contains
Dotted-boundary containment: does `target` align with some segment run of `project_module`? Tolerates src-layouts where the import root differs
codewiki/src/be/dependency_analyzer/analyzers/python.py:16
↓ 1 callersMethod_dotted_project_packages
Project packages/namespaces, partitioned by language. Java and C# share the namespace-origin rule: a dotted callee qualified to a package
codewiki/src/be/dependency_analyzer/analysis/call_graph_analyzer.py:522
↓ 1 callersMethod_emit_instance_method_call
Resolve this.m()/super.m() against the enclosing class and its bases.
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:895
↓ 1 callersMethod_emit_receiver_method_call
Resolve recv.m() where recv is a simple identifier.
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:917
↓ 1 callersMethod_enclosing_member_candidates
(self, node, member_name)
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:405
↓ 1 callersMethod_extract_all_entities
(self, node, all_entities: dict, depth=0)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:64
↓ 1 callersMethod_extract_all_relationships
(self, node, all_entities: dict)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:698
↓ 1 callersMethod_extract_ambient_declaration_entity
(self, node, depth: int)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:164
↓ 1 callersMethod_extract_arrow_function_entity
Extract arrow function
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:230
↓ 1 callersMethod_extract_arrow_function_from_declaration
Extract arrow function or function expression from const/let/var declarations.
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:365
↓ 1 callersMethod_extract_base_class_name
Extract base class name from AST node.
codewiki/src/be/dependency_analyzer/analyzers/python.py:231
↓ 1 callersMethod_extract_base_classes
Extract base class names from a class declaration.
codewiki/src/be/dependency_analyzer/analyzers/php.py:558
↓ 1 callersMethod_extract_base_types_from_jsdoc
(self, type_str: str)
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:681
↓ 1 callersMethod_extract_call_relationship
Emit at most one relationship per call expression. Plain identifier calls resolve against same-file components; member calls are reso
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:794
↓ 1 callersMethod_extract_call_relationships
(self, node)
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:426
↓ 1 callersMethod_extract_class_declaration
Extract class/abstract class/interface declaration.
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:247
↓ 1 callersMethod_extract_constructor_dependencies
Extract dependencies from constructor parameters.
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:600
↓ 1 callersMethod_extract_doc_comment
Collect a ``///`` XML doc-comment block immediately preceding the declaration (skipping any attribute lists between comment and decl).
codewiki/src/be/dependency_analyzer/analyzers/csharp.py:229
↓ 1 callersMethod_extract_enum_entity
(self, node, depth: int)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:362
↓ 1 callersMethod_extract_export_statement_entity
(self, node, depth: int)
codewiki/src/be/dependency_analyzer/analyzers/typescript.py:401
↓ 1 callersMethod_extract_exported_function
Extract export function or export default function
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:350
↓ 1 callersMethod_extract_functions
(self, node)
codewiki/src/be/dependency_analyzer/analyzers/javascript.py:121
← previousnext →201–300 of 699, ranked by callers