Skip to content

DEFECT: File size violations - 9 files exceed 500 line target #617

@krystophny

Description

@krystophny

MASSIVE FILE SIZE VIOLATIONS

Multiple source files VASTLY exceed the 500 line target, some approaching 1000 line HARD LIMIT:

WORST OFFENDERS:

  1. fortplot_figure_core.f90: 957 lines (91% over target!)
  2. fortplot_raster.f90: 931 lines (86% over!)
  3. fortplot_security.f90: 790 lines (58% over!)
  4. fortplot_ascii.f90: 768 lines
  5. fortplot_colors.f90: 745 lines
  6. fortplot_zlib.f90: 720 lines
  7. fortplot_ticks.f90: 703 lines
  8. fortplot_annotations.f90: 676 lines
  9. fortplot_plotting_advanced.f90: 621 lines

REPOSITORY BLOAT:

  • 115 source files (target: 30-50)
  • 110 test files (target: 40-60)
  • Total 31,726 lines in src/ directory

IMPACT:

  • Team cannot navigate massive files
  • Mental overload causing systematic failures
  • Violates CLAUDE.md size restrictions
  • Maintenance nightmare

BLAME:

Implementation team created these god modules instead of following SRP.

ACTION REQUIRED:

  1. Break fortplot_figure_core.f90 into 3+ modules
  2. Refactor all 500+ line files IMMEDIATELY
  3. Enforce size limits in CI/CD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions