{
  "jira_key": "AN-91",
  "passed": false,
  "cycle": 0,
  "findings": [
    {
      "severity": "high",
      "category": "requirements",
      "file": "force-app/main/default/classes/InvoiceReminderService.cls",
      "line": 1,
      "message": "The class is declared `without sharing`, not `with sharing` as required. It also lacks the required no-argument `dueStatus` method returning `\"due\"`.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "requirements",
      "file": "force-app/main/default/classes/InvoiceReminderServiceTest.cls",
      "line": 1,
      "message": "The test class does not meet the acceptance criteria: it is not annotated `@isTest` and contains no test asserting that `InvoiceReminderService.dueStatus()` returns `\"due\"`.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/InvoiceReminderService.cls",
      "line": 1,
      "message": "APEX-01: Declare the class `with sharing` or `inherited sharing`; `without sharing` is not authorized.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/InvoiceReminderServiceTest.cls",
      "line": 1,
      "message": "APEX-01: Declare the class `with sharing` or `inherited sharing`; `without sharing` is not authorized.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/InvoiceReminderServiceTest.cls",
      "line": 1,
      "message": "APEX-02: Annotate the test class with `@isTest` and add a test method with a meaningful assertion verifying the expected result.",
      "fixable": true
    },
    {
      "severity": "medium",
      "category": "standards",
      "file": "force-app/main/default/classes/InvoiceReminderService.cls",
      "line": 1,
      "message": "APEX-09: Add ApexDoc comments for the public class and public method, documenting purpose and the method's return value.",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/InvoiceReminderService.cls",
      "line": 1,
      "message": "APEX-01: class InvoiceReminderService uses 'without sharing' without a justification comment on the line above",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/InvoiceReminderServiceTest.cls",
      "line": 1,
      "message": "APEX-01: class InvoiceReminderServiceTest uses 'without sharing' without a justification comment on the line above",
      "fixable": true
    },
    {
      "severity": "high",
      "category": "standards",
      "file": "force-app/main/default/classes/InvoiceReminderServiceTest.cls",
      "line": 1,
      "message": "APEX-02: test class InvoiceReminderServiceTest is missing @isTest",
      "fixable": true
    }
  ],
  "summary": "The generated Apex files do not implement the requested service or test, and violate sharing, test annotation/assertion, and ApexDoc requirements.",
  "static_analysis_status": "failed",
  "notes": "Reviewed the four generated metadata files and the supplied static-analysis results. No existing repository versions were provided."
}