{
  "jira_key": "AN-86",
  "passed": false,
  "cycle": 0,
  "findings": [
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/AccountHealthService.cls",
      "line": 1,
      "message": "APEX-01: Class declares `without sharing`; it must declare `with sharing` or `inherited sharing`.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/AccountHealthServiceTest.cls",
      "line": 1,
      "message": "APEX-01: Test class declares `without sharing`; it must declare `with sharing` or `inherited sharing`.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "acceptance criteria",
      "file": "force-app/main/default/classes/AccountHealthService.cls",
      "line": 2,
      "message": "The required public static `status()` method returning the string `healthy` is missing. The class instead defines `run()` with no return value.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/AccountHealthServiceTest.cls",
      "line": 1,
      "message": "APEX-02: Test class is missing the `@isTest` annotation, and it contains no test method with an assertion verifying the expected `status()` result.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "acceptance criteria",
      "file": "force-app/main/default/classes/AccountHealthServiceTest.cls",
      "line": 2,
      "message": "The test class does not test `AccountHealthService.status()` or assert that it returns `healthy`.",
      "fixable": true
    },
    {
      "severity": "medium",
      "category": "standards",
      "file": "force-app/main/default/classes/AccountHealthService.cls",
      "line": 1,
      "message": "APEX-09: Add ApexDoc comments describing the public class and its public method.",
      "fixable": true
    },
    {
      "severity": "medium",
      "category": "standards",
      "file": "force-app/main/default/classes/AccountHealthServiceTest.cls",
      "line": 1,
      "message": "APEX-09: Add an ApexDoc comment describing the public test class.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/AccountHealthService.cls",
      "line": 1,
      "message": "APEX-01: class AccountHealthService uses 'without sharing' without a justification comment on the line above",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/AccountHealthServiceTest.cls",
      "line": 1,
      "message": "APEX-01: class AccountHealthServiceTest uses 'without sharing' without a justification comment on the line above",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/AccountHealthServiceTest.cls",
      "line": 1,
      "message": "APEX-02: test class AccountHealthServiceTest is missing @isTest",
      "fixable": true
    }
  ],
  "summary": "Review failed: the service has the wrong sharing declaration and method, and the test class is not an annotated test that asserts the required result.",
  "static_analysis_status": "failed",
  "notes": "No existing versions were provided. No database operations are present to assess for CRUD/FLS, bulkification, or governor-limit concerns."
}