Files
music_library/backlog/archive/tasks/ml-76 - Large-modules-approaching-refactoring-threshold.md
T
2026-04-20 10:02:25 +01:00

1.1 KiB

id, title, status, assignee, created_date, labels, dependencies, references, priority
id title status assignee created_date labels dependencies references priority
ML-76 Large modules approaching refactoring threshold To Do
2026-04-20 08:57
https://github.com/cloud8421/music_library/issues/99
low

Description

GitHub: created 2026-03-05 · updated 2026-03-06 · closed 2026-03-06 · not planned

Priority: Low

Description

Several modules are approaching or exceeding a reasonable size threshold and may benefit from extraction:

  • lib/music_library_web/live/artist_live/show.ex — 804 LOC
  • lib/music_library_web/components/record_components.ex — 761 LOC
  • lib/music_library_web/components/record_form.ex — 649 LOC
  • lib/music_brainz/api.ex — 564 LOC

Previously listed lib/music_library/scrobble_rules.ex was reduced from 819 to 543 LOC and no longer qualifies.

Expected behavior

Monitor these modules and consider extraction when adding new features touches them. Not urgent — only refactor when it naturally fits the work being done.

Source

From technical debt audit (2026-03-05), updated 2026-03-06.