issues
Identify project blockers that may prevent unit test generation, with a prioritized report and optional suggested prompts for actionable fixes.
Instructions
Invoke Diffblue Cover to identify project issues.
This tool executes the dcover issues command to output a prioritized
list of project issues that may prevent test generation.
Args: path: Path to the dcover executable. If not provided, searches system PATH and the DIFFBLUE_COVER_CLI environment variable. working_directory: Root directory of the Java project to test. Defaults to the current working directory. dcover_timeout: Maximum execution time in seconds. Defaults to 600. Set to None for no timeout (not recommended). limit: Limit the number of issues to output. skip: Skip the first N issues from the report. prompt: If True, outputs a suggested prompt for each actionable issue. cover_json: Location of the JSON-formatted test-writing summary report. dry_run: If True, passes the '--dry-run' flag to check for readiness. args: Additional arguments to pass to dcover. Defaults to None. ctx: MCP server context for logging and progress reporting (auto-injected by FastMCP).
Returns: dict: Execution result containing: - return_code (int): Exit code (0 for success) - status (str): "success" if completed without errors - output (str): Complete stdout/stderr from dcover - command (list[str]): The exact command that was executed - working_directory (Path): Directory where command was run
Raises: ToolError: If dcover executable not found, command fails, or timeout exceeded. The error includes the partial output collected before failure.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "issues"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | The additional options to pass to dcover issues | |
| path | No | The path to the dcover executable | |
| skip | No | Skip the first N issues | |
| limit | No | Limit the number of issues to output | |
| prompt | No | Output suggested prompt for each actionable issue | |
| dry_run | No | Run preflight checks only (aliased as --preflight) | |
| cover_json | No | Path to a JSON-formatted test-writing summary report | |
| dcover_timeout | No | The maximum time in seconds to wait for dcover to create tests. | |
| working_directory | No | The directory containing the project | /app |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |