RepoPilot

stirling-tools / stirling-pdf

Search stirling-tools/stirling-pdf

GitHub

Code

How stirling-tools/stirling-pdf is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Suggested starting pointAI
  3. Suggested starting pointAI
  4. Suggested starting pointAI
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI

Find files for a task

AI

Add a new PDF manipulation operation endpoint

  • Implement the PDF transformation logic in a service class using PdfModels and existing parser utilities
  • Add OpenAPI/Swagger annotations (@Operation, @Parameter, @ApiResponse) for automatic documentation

Add access control to a protected resource

  • Define resource type and grant scope in app/proprietary/src/main/java/stirling/software/proprietary/access/model/ResourceType.java
  • Implement authorization logic in ResourceAccessSecurity or create a custom security filter
  • Add access check annotations or method calls before sensitive operations in controllers

Extend SaaS instance linking and AI gateway functionality

  • Create a new service class extending InstanceAiGatewayService or implement new connection protocol in ConnectRequestService
  • Add new entity/repository pair in app/saas/src/main/java/stirling/software/saas/accountlink/ for persistence
  • Register new endpoint in SaaS controller (e.g., InstanceController.java) with appropriate security filters

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • No public API or start-up file could be picked out from the file names.

Code quality and hotspots

Largest source files

  • Branch points133 per file on average
  • Code issues0 errors, 4 warnings
  • Largest file2,714 lines
  • Hotspot load5 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions47 workflows
  • Tests2,159 test filesJest/Vitest · JUnit · 0.44 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: app/common/src/test/java/stirling/software/common/cluster/inprocess · app/common/src/test/java/stirling/software/common/model · app/common/src/test/java/stirling/software/common/cluster

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.