Well. Someone actually read the syllabus on error handling, but then decided to turn in a jigsaw puzzle with missing edges and no picture on the box for code structure. A single hardcoded password lurking in your tests is the digital equivalent of leaving your front door wide open with a welcome mat. Also, those gargantuan files? They aren’t just a “problem”—they’re a barricade to maintainability. Show up to class next time with smaller, digestible pieces or see me after class.
Error Handling:Perfect score, zero issues—finally, some good news in this stack of chaos.
Code Structure:117 issues—did you think file size limits were a suggestion? Those monoliths are nightmare fuel.
Test Coverage:Nearly flawless, just one hiccup; you’re passing but not sprinting.
Security:One critical slip with a hardcoded password—please don’t do that again; it’s like handing out your house keys.
Dependencies:Spotless record here; at least you’re not dragging in cargo containers of unused libraries.
Documentation:Flawless, which makes the code structure fail all the more confusing. Someone documented a mess well.
Areas for Improvement
(119)
critical·src/tui/login/tests.rs:80
Hardcoded password found in source code
password = "password"
In src/tui/login/tests.rs at line 80, there's a hardcoded secret. Move it to an environment variable and add the file to .gitignore if needed.
high·src/app/command_dispatch.rs
Large file (797 code lines, 821 total) — this is a real problem
797 code lines (of 821 total), threshold is 400
src/app/command_dispatch.rs has 797 lines of code (821 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/config/tests.rs
Large file (783 code lines, 882 total) — this is a real problem
783 code lines (of 882 total), threshold is 400
src/config/tests.rs has 783 lines of code (882 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/application_commands.rs
Large file (901 code lines, 1007 total) — this is a real problem
901 code lines (of 1007 total), threshold is 400
src/discord/application_commands.rs has 901 lines of code (1007 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/client/rest_actions.rs
Large file (824 code lines, 893 total) — this is a real problem
824 code lines (of 893 total), threshold is 400
src/discord/client/rest_actions.rs has 824 lines of code (893 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/client/tests.rs
Large file (1601 code lines, 1800 total) — this is a real problem
1601 code lines (of 1800 total), threshold is 400
src/discord/client/tests.rs has 1601 lines of code (1800 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/client.rs
Large file (1145 code lines, 1249 total) — this is a real problem
1145 code lines (of 1249 total), threshold is 400
src/discord/client.rs has 1145 lines of code (1249 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/events.rs
Large file (2028 code lines, 2243 total) — this is a real problem
2028 code lines (of 2243 total), threshold is 400
src/discord/events.rs has 2028 lines of code (2243 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/fingerprint.rs
Large file (840 code lines, 924 total) — this is a real problem
840 code lines (of 924 total), threshold is 400
src/discord/fingerprint.rs has 840 lines of code (924 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/gateway/parser/messages.rs
Large file (1048 code lines, 1115 total) — this is a real problem
1048 code lines (of 1115 total), threshold is 400
src/discord/gateway/parser/messages.rs has 1048 lines of code (1115 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/gateway/parser/tests.rs
Large file (4275 code lines, 4651 total) — this is a real problem
4275 code lines (of 4651 total), threshold is 400
src/discord/gateway/parser/tests.rs has 4275 lines of code (4651 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/gateway/tests.rs
Large file (1183 code lines, 1313 total) — this is a real problem
1183 code lines (of 1313 total), threshold is 400
src/discord/gateway/tests.rs has 1183 lines of code (1313 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/gateway.rs
Large file (2280 code lines, 2552 total) — this is a real problem
2280 code lines (of 2552 total), threshold is 400
src/discord/gateway.rs has 2280 lines of code (2552 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/member/state.rs
Large file (826 code lines, 928 total) — this is a real problem
826 code lines (of 928 total), threshold is 400
src/discord/member/state.rs has 826 lines of code (928 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/message/state.rs
Large file (1874 code lines, 2028 total) — this is a real problem
1874 code lines (of 2028 total), threshold is 400
src/discord/message/state.rs has 1874 lines of code (2028 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/message.rs
Large file (1226 code lines, 1387 total) — this is a real problem
1226 code lines (of 1387 total), threshold is 400
src/discord/message.rs has 1226 lines of code (1387 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/notification/state.rs
Large file (800 code lines, 862 total) — this is a real problem
800 code lines (of 862 total), threshold is 400
src/discord/notification/state.rs has 800 lines of code (862 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/request_lifecycle.rs
Large file (897 code lines, 1051 total) — this is a real problem
897 code lines (of 1051 total), threshold is 400
src/discord/request_lifecycle.rs has 897 lines of code (1051 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/rest/tests.rs
Large file (1350 code lines, 1515 total) — this is a real problem
1350 code lines (of 1515 total), threshold is 400
src/discord/rest/tests.rs has 1350 lines of code (1515 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/rest.rs
Large file (991 code lines, 1115 total) — this is a real problem
991 code lines (of 1115 total), threshold is 400
src/discord/rest.rs has 991 lines of code (1115 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/state.rs
Large file (2017 code lines, 2148 total) — this is a real problem
2017 code lines (of 2148 total), threshold is 400
src/discord/state.rs has 2017 lines of code (2148 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/verification.rs
Large file (764 code lines, 830 total) — this is a real problem
764 code lines (of 830 total), threshold is 400
src/discord/verification.rs has 764 lines of code (830 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/broadcast.rs
Large file (3127 code lines, 3426 total) — this is a real problem
3127 code lines (of 3426 total), threshold is 400
src/discord/voice/broadcast.rs has 3127 lines of code (3426 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/capture/conversion.rs
Large file (781 code lines, 858 total) — this is a real problem
781 code lines (of 858 total), threshold is 400
src/discord/voice/capture/conversion.rs has 781 lines of code (858 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/capture/encoder.rs
Large file (1128 code lines, 1286 total) — this is a real problem
1128 code lines (of 1286 total), threshold is 400
src/discord/voice/capture/encoder.rs has 1128 lines of code (1286 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/capture/linux/portal.rs
Large file (1591 code lines, 1704 total) — this is a real problem
1591 code lines (of 1704 total), threshold is 400
src/discord/voice/capture/linux/portal.rs has 1591 lines of code (1704 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/capture/linux/x11.rs
Large file (807 code lines, 886 total) — this is a real problem
807 code lines (of 886 total), threshold is 400
src/discord/voice/capture/linux/x11.rs has 807 lines of code (886 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/capture.rs
Large file (1268 code lines, 1467 total) — this is a real problem
1268 code lines (of 1467 total), threshold is 400
src/discord/voice/capture.rs has 1268 lines of code (1467 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/dave.rs
Large file (901 code lines, 986 total) — this is a real problem
901 code lines (of 986 total), threshold is 400
src/discord/voice/dave.rs has 901 lines of code (986 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/gateway.rs
Large file (1600 code lines, 1695 total) — this is a real problem
1600 code lines (of 1695 total), threshold is 400
src/discord/voice/gateway.rs has 1600 lines of code (1695 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/microphone.rs
Large file (1112 code lines, 1251 total) — this is a real problem
1112 code lines (of 1251 total), threshold is 400
src/discord/voice/microphone.rs has 1112 lines of code (1251 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/runtime.rs
Large file (1483 code lines, 1579 total) — this is a real problem
1483 code lines (of 1579 total), threshold is 400
src/discord/voice/runtime.rs has 1483 lines of code (1579 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/stream.rs
Large file (4790 code lines, 5233 total) — this is a real problem
4790 code lines (of 5233 total), threshold is 400
src/discord/voice/stream.rs has 4790 lines of code (5233 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/system_audio/linux.rs
Large file (753 code lines, 837 total) — this is a real problem
753 code lines (of 837 total), threshold is 400
src/discord/voice/system_audio/linux.rs has 753 lines of code (837 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice/tests.rs
Large file (2545 code lines, 2970 total) — this is a real problem
2545 code lines (of 2970 total), threshold is 400
src/discord/voice/tests.rs has 2545 lines of code (2970 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/discord/voice.rs
Large file (1019 code lines, 1266 total) — this is a real problem
1019 code lines (of 1266 total), threshold is 400
src/discord/voice.rs has 1019 lines of code (1266 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/input/keyboard/popups.rs
Large file (1232 code lines, 1357 total) — this is a real problem
1232 code lines (of 1357 total), threshold is 400
src/tui/input/keyboard/popups.rs has 1232 lines of code (1357 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/keybindings/mod.rs
Large file (963 code lines, 1065 total) — this is a real problem
963 code lines (of 1065 total), threshold is 400
src/tui/keybindings/mod.rs has 963 lines of code (1065 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/keybindings/runtime.rs
Large file (1129 code lines, 1259 total) — this is a real problem
1129 code lines (of 1259 total), threshold is 400
src/tui/keybindings/runtime.rs has 1129 lines of code (1259 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/keybindings/tests.rs
Large file (1310 code lines, 1455 total) — this is a real problem
1310 code lines (of 1455 total), threshold is 400
src/tui/keybindings/tests.rs has 1310 lines of code (1455 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/media/targets.rs
Large file (1085 code lines, 1203 total) — this is a real problem
1085 code lines (of 1203 total), threshold is 400
src/tui/media/targets.rs has 1085 lines of code (1203 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/media/tests.rs
Large file (2712 code lines, 3064 total) — this is a real problem
2712 code lines (of 3064 total), threshold is 400
src/tui/media/tests.rs has 2712 lines of code (3064 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/message/format.rs
Large file (937 code lines, 1049 total) — this is a real problem
937 code lines (of 1049 total), threshold is 400
src/tui/message/format.rs has 937 lines of code (1049 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/runtime/media_runtime.rs
Large file (800 code lines, 910 total) — this is a real problem
800 code lines (of 910 total), threshold is 400
src/tui/runtime/media_runtime.rs has 800 lines of code (910 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/runtime/mod.rs
Large file (754 code lines, 822 total) — this is a real problem
754 code lines (of 822 total), threshold is 400
src/tui/runtime/mod.rs has 754 lines of code (822 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/state/channels.rs
Large file (1533 code lines, 1725 total) — this is a real problem
1533 code lines (of 1725 total), threshold is 400
src/tui/state/channels.rs has 1533 lines of code (1725 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/state/composer/state.rs
Large file (2207 code lines, 2460 total) — this is a real problem
2207 code lines (of 2460 total), threshold is 400
src/tui/state/composer/state.rs has 2207 lines of code (2460 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/state/message_viewport.rs
Large file (1611 code lines, 1843 total) — this is a real problem
1611 code lines (of 1843 total), threshold is 400
src/tui/state/message_viewport.rs has 1611 lines of code (1843 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/state/navigation.rs
Large file (926 code lines, 1059 total) — this is a real problem
926 code lines (of 1059 total), threshold is 400
src/tui/state/navigation.rs has 926 lines of code (1059 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/state/popups/forum_post.rs
Large file (907 code lines, 993 total) — this is a real problem
907 code lines (of 993 total), threshold is 400
src/tui/state/popups/forum_post.rs has 907 lines of code (993 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/state/popups/message_actions.rs
Large file (988 code lines, 1057 total) — this is a real problem
988 code lines (of 1057 total), threshold is 400
src/tui/state/popups/message_actions.rs has 988 lines of code (1057 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/state/popups/mod.rs
Large file (2323 code lines, 2645 total) — this is a real problem
2323 code lines (of 2645 total), threshold is 400
src/tui/state/popups/mod.rs has 2323 lines of code (2645 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/state/popups/notification_inbox.rs
Large file (1168 code lines, 1280 total) — this is a real problem
1168 code lines (of 1280 total), threshold is 400
src/tui/state/popups/notification_inbox.rs has 1168 lines of code (1280 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/state/popups/search.rs
Large file (938 code lines, 1013 total) — this is a real problem
938 code lines (of 1013 total), threshold is 400
src/tui/state/popups/search.rs has 938 lines of code (1013 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/state/popups/user.rs
Large file (926 code lines, 1038 total) — this is a real problem
926 code lines (of 1038 total), threshold is 400
src/tui/state/popups/user.rs has 926 lines of code (1038 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/theme.rs
Large file (1041 code lines, 1131 total) — this is a real problem
1041 code lines (of 1131 total), threshold is 400
src/tui/theme.rs has 1041 lines of code (1131 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/ui/message/list.rs
Large file (1125 code lines, 1216 total) — this is a real problem
1125 code lines (of 1216 total), threshold is 400
src/tui/ui/message/list.rs has 1125 lines of code (1216 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/ui/panes/composer.rs
Large file (1118 code lines, 1207 total) — this is a real problem
1118 code lines (of 1207 total), threshold is 400
src/tui/ui/panes/composer.rs has 1118 lines of code (1207 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/ui/popups/forum_post.rs
Large file (763 code lines, 853 total) — this is a real problem
763 code lines (of 853 total), threshold is 400
src/tui/ui/popups/forum_post.rs has 763 lines of code (853 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/ui/popups/notification_inbox.rs
Large file (803 code lines, 869 total) — this is a real problem
803 code lines (of 869 total), threshold is 400
src/tui/ui/popups/notification_inbox.rs has 803 lines of code (869 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/ui/popups/profile.rs
Large file (1173 code lines, 1273 total) — this is a real problem
1173 code lines (of 1273 total), threshold is 400
src/tui/ui/popups/profile.rs has 1173 lines of code (1273 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/ui/popups.rs
Large file (873 code lines, 979 total) — this is a real problem
873 code lines (of 979 total), threshold is 400
src/tui/ui/popups.rs has 873 lines of code (979 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
high·src/tui/ui/thread_card.rs
Large file (904 code lines, 984 total) — this is a real problem
904 code lines (of 984 total), threshold is 400
src/tui/ui/thread_card.rs has 904 lines of code (984 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium
Low test-to-source ratio (22.0%)
47 test files, 325 source files
Test coverage is below average (22.0%). Consider adding more test coverage, especially for edge cases.
medium·src/app/media_adapters.rs
Large file (666 code lines, 766 total) — should probably split this
666 code lines (of 766 total), threshold is 400
src/app/media_adapters.rs has 666 lines of code (766 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/config/options.rs
Large file (570 code lines, 713 total) — should probably split this
570 code lines (of 713 total), threshold is 400
src/config/options.rs has 570 lines of code (713 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/channel/state.rs
Large file (568 code lines, 677 total) — should probably split this
568 code lines (of 677 total), threshold is 400
src/discord/channel/state.rs has 568 lines of code (677 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/commands.rs
Large file (707 code lines, 824 total) — should probably split this
707 code lines (of 824 total), threshold is 400
src/discord/commands.rs has 707 lines of code (824 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/fingerprint/tests.rs
Large file (523 code lines, 569 total) — should probably split this
523 code lines (of 569 total), threshold is 400
src/discord/fingerprint/tests.rs has 523 lines of code (569 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/gateway/parser/channels.rs
Large file (509 code lines, 551 total) — should probably split this
509 code lines (of 551 total), threshold is 400
src/discord/gateway/parser/channels.rs has 509 lines of code (551 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/gateway/parser/ready.rs
Large file (508 code lines, 577 total) — should probably split this
508 code lines (of 577 total), threshold is 400
src/discord/gateway/parser/ready.rs has 508 lines of code (577 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/permission.rs
Large file (552 code lines, 650 total) — should probably split this
552 code lines (of 650 total), threshold is 400
src/discord/permission.rs has 552 lines of code (650 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/qr_auth.rs
Large file (540 code lines, 607 total) — should probably split this
540 code lines (of 607 total), threshold is 400
src/discord/qr_auth.rs has 540 lines of code (607 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/request_lifecycle/tests.rs
Large file (684 code lines, 784 total) — should probably split this
684 code lines (of 784 total), threshold is 400
src/discord/request_lifecycle/tests.rs has 684 lines of code (784 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/rest/messages.rs
Large file (583 code lines, 642 total) — should probably split this
583 code lines (of 642 total), threshold is 400
src/discord/rest/messages.rs has 583 lines of code (642 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/thread/state.rs
Large file (704 code lines, 795 total) — should probably split this
704 code lines (of 795 total), threshold is 400
src/discord/thread/state.rs has 704 lines of code (795 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/voice/capture/encoder/macos.rs
Large file (617 code lines, 713 total) — should probably split this
617 code lines (of 713 total), threshold is 400
src/discord/voice/capture/encoder/macos.rs has 617 lines of code (713 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
Large file (738 code lines, 874 total) — should probably split this
738 code lines (of 874 total), threshold is 400
src/discord/voice/capture/encoder/windows.rs has 738 lines of code (874 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/voice/capture/linux/egl.rs
Large file (570 code lines, 610 total) — should probably split this
570 code lines (of 610 total), threshold is 400
src/discord/voice/capture/linux/egl.rs has 570 lines of code (610 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/voice/capture/windows.rs
Large file (602 code lines, 653 total) — should probably split this
602 code lines (of 653 total), threshold is 400
src/discord/voice/capture/windows.rs has 602 lines of code (653 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/voice/opus.rs
Large file (532 code lines, 606 total) — should probably split this
532 code lines (of 606 total), threshold is 400
src/discord/voice/opus.rs has 532 lines of code (606 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/voice/playback.rs
Large file (604 code lines, 704 total) — should probably split this
604 code lines (of 704 total), threshold is 400
src/discord/voice/playback.rs has 604 lines of code (704 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/discord/voice/state.rs
Large file (508 code lines, 584 total) — should probably split this
508 code lines (of 584 total), threshold is 400
src/discord/voice/state.rs has 508 lines of code (584 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/input/tests.rs
Large file (619 code lines, 671 total) — should probably split this
619 code lines (of 671 total), threshold is 400
src/tui/input/tests.rs has 619 lines of code (671 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/media/decode.rs
Large file (725 code lines, 828 total) — should probably split this
725 code lines (of 828 total), threshold is 400
src/tui/media/decode.rs has 725 lines of code (828 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/media/preview.rs
Large file (557 code lines, 608 total) — should probably split this
557 code lines (of 608 total), threshold is 400
src/tui/media/preview.rs has 557 lines of code (608 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/message/format/markdown.rs
Large file (584 code lines, 638 total) — should probably split this
584 code lines (of 638 total), threshold is 400
src/tui/message/format/markdown.rs has 584 lines of code (638 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/runtime/effects.rs
Large file (690 code lines, 792 total) — should probably split this
690 code lines (of 792 total), threshold is 400
src/tui/runtime/effects.rs has 690 lines of code (792 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/runtime/notification_audio.rs
Large file (517 code lines, 614 total) — should probably split this
517 code lines (of 614 total), threshold is 400
src/tui/runtime/notification_audio.rs has 517 lines of code (614 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/state/composer/completions.rs
Large file (569 code lines, 652 total) — should probably split this
569 code lines (of 652 total), threshold is 400
src/tui/state/composer/completions.rs has 569 lines of code (652 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/state/events.rs
Large file (617 code lines, 657 total) — should probably split this
617 code lines (of 657 total), threshold is 400
src/tui/state/events.rs has 617 lines of code (657 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/state/guilds.rs
Large file (566 code lines, 649 total) — should probably split this
566 code lines (of 649 total), threshold is 400
src/tui/state/guilds.rs has 566 lines of code (649 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/state/model.rs
Large file (638 code lines, 802 total) — should probably split this
638 code lines (of 802 total), threshold is 400
src/tui/state/model.rs has 638 lines of code (802 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/state/popups/channel_actions.rs
Large file (514 code lines, 548 total) — should probably split this
514 code lines (of 548 total), threshold is 400
src/tui/state/popups/channel_actions.rs has 514 lines of code (548 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/state/popups/options.rs
Large file (639 code lines, 692 total) — should probably split this
639 code lines (of 692 total), threshold is 400
src/tui/state/popups/options.rs has 639 lines of code (692 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/state/popups/thread_actions.rs
Large file (617 code lines, 696 total) — should probably split this
617 code lines (of 696 total), threshold is 400
src/tui/state/popups/thread_actions.rs has 617 lines of code (696 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/state/popups/thread_edit.rs
Large file (589 code lines, 666 total) — should probably split this
589 code lines (of 666 total), threshold is 400
src/tui/state/popups/thread_edit.rs has 589 lines of code (666 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/state/toast.rs
Large file (532 code lines, 609 total) — should probably split this
532 code lines (of 609 total), threshold is 400
src/tui/state/toast.rs has 532 lines of code (609 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/text.rs
Large file (550 code lines, 647 total) — should probably split this
550 code lines (of 647 total), threshold is 400
src/tui/text.rs has 550 lines of code (647 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/ui/popups/reactions.rs
Large file (716 code lines, 776 total) — should probably split this
716 code lines (of 776 total), threshold is 400
src/tui/ui/popups/reactions.rs has 716 lines of code (776 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/ui/tests.rs
Large file (645 code lines, 697 total) — should probably split this
645 code lines (of 697 total), threshold is 400
src/tui/ui/tests.rs has 645 lines of code (697 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
medium·src/tui/ui.rs
Large file (627 code lines, 704 total) — should probably split this
627 code lines (of 704 total), threshold is 400
src/tui/ui.rs has 627 lines of code (704 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/app/history_commands.rs
Large file (465 code lines, 487 total) — barely over threshold
465 code lines (of 487 total), threshold is 400
src/app/history_commands.rs has 465 lines of code (487 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/app/message_commands.rs
Large file (488 code lines, 525 total) — barely over threshold
488 code lines (of 525 total), threshold is 400
src/app/message_commands.rs has 488 lines of code (525 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/discord/gateway/parser/guilds.rs
Large file (483 code lines, 536 total) — barely over threshold
483 code lines (of 536 total), threshold is 400
src/discord/gateway/parser/guilds.rs has 483 lines of code (536 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/discord/member/list.rs
Large file (435 code lines, 502 total) — barely over threshold
435 code lines (of 502 total), threshold is 400
src/discord/member/list.rs has 435 lines of code (502 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/discord/rpc/mod.rs
Large file (409 code lines, 470 total) — barely over threshold
409 code lines (of 470 total), threshold is 400
src/discord/rpc/mod.rs has 409 lines of code (470 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/discord/voice/capture/encoder/h264.rs
Large file (436 code lines, 503 total) — barely over threshold
436 code lines (of 503 total), threshold is 400
src/discord/voice/capture/encoder/h264.rs has 436 lines of code (503 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/discord/voice/capture/macos.rs
Large file (468 code lines, 515 total) — barely over threshold
468 code lines (of 515 total), threshold is 400
src/discord/voice/capture/macos.rs has 468 lines of code (515 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/discord/voice/rtp.rs
Large file (436 code lines, 491 total) — barely over threshold
436 code lines (of 491 total), threshold is 400
src/discord/voice/rtp.rs has 436 lines of code (491 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/tui/global_push_to_talk/windows.rs
Large file (453 code lines, 500 total) — barely over threshold
453 code lines (of 500 total), threshold is 400
src/tui/global_push_to_talk/windows.rs has 453 lines of code (500 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/tui/global_push_to_talk.rs
Large file (469 code lines, 546 total) — barely over threshold
469 code lines (of 546 total), threshold is 400
src/tui/global_push_to_talk.rs has 469 lines of code (546 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/tui/keybindings/chord.rs
Large file (472 code lines, 521 total) — barely over threshold
472 code lines (of 521 total), threshold is 400
src/tui/keybindings/chord.rs has 472 lines of code (521 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/tui/media/avatar.rs
Large file (457 code lines, 504 total) — barely over threshold
457 code lines (of 504 total), threshold is 400
src/tui/media/avatar.rs has 457 lines of code (504 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/tui/message/format/components.rs
Large file (433 code lines, 449 total) — barely over threshold
433 code lines (of 449 total), threshold is 400
src/tui/message/format/components.rs has 433 lines of code (449 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/tui/state/popups/channel_switcher.rs
Large file (433 code lines, 490 total) — barely over threshold
433 code lines (of 490 total), threshold is 400
src/tui/state/popups/channel_switcher.rs has 433 lines of code (490 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/tui/state/popups/reactions.rs
Large file (447 code lines, 495 total) — barely over threshold
447 code lines (of 495 total), threshold is 400
src/tui/state/popups/reactions.rs has 447 lines of code (495 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/tui/ui/panes/channels.rs
Large file (449 code lines, 472 total) — barely over threshold
449 code lines (of 472 total), threshold is 400
src/tui/ui/panes/channels.rs has 449 lines of code (472 total). Break it into smaller, focused modules. Each file should have one clear responsibility.
low·src/tui/ui/popups/action_menu.rs
Large file (467 code lines, 532 total) — barely over threshold
467 code lines (of 532 total), threshold is 400
src/tui/ui/popups/action_menu.rs has 467 lines of code (532 total). Break it into smaller, focused modules. Each file should have one clear responsibility.