Executive summary
shahzadahamad/Instant scores 31 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 14 and is rated Critical. Its Code Coverage dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 1 No automated tests finding(s) in Code Coverage and to resolve the 1 No tests found finding(s) in Test Distribution, and if Production Readiness rose to 70, the score would rise from 31 to about 45.
124 findings are critical: 43 in Dependency Vulnerabilities, 40 in Keyboard semantics, 34 in Forms & labels, four in Text alternatives, two in Circular Imports and one in Code Coverage.
Watchdog couldn't measure 5 dimensions in this code, among them Internal API Consistency, Navigability and Platform End-of-Life, so they are left out of the score. The product code is 27,770 lines, which would take an estimated 0.2 person-years, around €26,000, to rebuild.
If Production Readiness rose from 14 to 70, the lowest score rated Strong, the score would rise from 31 to about 45.
New since the last survey: 82 findings
- Cyclomatic Complexity · SelectAspectRatio.SelectAspectRatioAndUplaod::handleInputChange (cyclomatic 24) Frontend/src/components/create-post/SelectAspectRatio.tsx
- Cognitive Complexity · SelectAspectRatio.SelectAspectRatioAndUplaod::handleInputChange (cognitive 39) Frontend/src/components/create-post/SelectAspectRatio.tsx
- Cognitive Complexity · PostModal.PostModal::timeSince (cognitive 19) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Dependency Hygiene · Deprecated: uuid Backend/package.json
- Dependency Hygiene · Deprecated: eslint Backend/package.json
- Dependency Hygiene · Deprecated: @fortawesome/react-fontawesome Frontend/package.json
- Dependency Hygiene · Deprecated: @nextui-org/modal Frontend/package.json
- Dependency Hygiene · Deprecated: @nextui-org/react Frontend/package.json
- Dependency Hygiene · Deprecated: react-beautiful-dnd Frontend/package.json
- Dependency Hygiene · Deprecated: recharts Frontend/package.json
- Dependency Hygiene · Deprecated: @types/date-fns Frontend/package.json
- Dependency Hygiene · Deprecated: eslint Frontend/package.json
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Dependency Vulnerabilities · REDACTED
- Large Files · Frontend/src/components/common/PostViewModal/PostModal.tsx: 1557 lines of code Frontend/src/components/common/PostViewModal/PostModal.tsx
- Large Files · Frontend/src/components/chats/ChatInbox.tsx: 498 lines of code Frontend/src/components/chats/ChatInbox.tsx
- Large Files · Frontend/src/components/calls/VideoAudioCall.tsx: 442 lines of code Frontend/src/components/calls/VideoAudioCall.tsx
- Large Files · Frontend/src/components/common/Sidebar.tsx: 422 lines of code Frontend/src/components/common/Sidebar.tsx
- Large Files · Frontend/src/components/home/Posts.tsx: 413 lines of code Frontend/src/components/home/Posts.tsx
- Large Files · Frontend/src/components/chats/ChatDetials.tsx: 408 lines of code Frontend/src/components/chats/ChatDetials.tsx
- Incompleteness & stubs · Both branches are identical — the condition decides nothing Frontend/src/components/chats/message-type/SharePostMessage.tsx
- Incompleteness & stubs · Both branches are identical — the condition decides nothing Frontend/src/components/notification/NotificationDetials.tsx
- Incompleteness & stubs · Both branches are identical — the condition decides nothing Frontend/src/components/post/PostSingle.tsx
- Incompleteness & stubs · Both branches are identical — the condition decides nothing Frontend/src/components/reel/ReelsDetials.tsx
- Incompleteness & stubs · Both branches are identical — the condition decides nothing Frontend/src/components/user-profiles/UserProfileDetials.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/authentication/SignInForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/authentication/SignInForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/music/AddMusicForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/music/MusicAction.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/music/MusicDetialsTable.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/music/MusicDetialsTable.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/post/PostDetialsTable.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/post/PostDetialsTable.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/subscription/SubscriptionActions.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/subscription/SubscriptionActions.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/subscription/SubscriptionActions.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/subscription/SubscriptionDetials.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/subscription/SubscriptionDetials.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/users/UserDetialsTable.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/admin/users/UserDetialsTable.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/ForgotPasswordForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/ForgotPasswordForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/GoogleAuth.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/OtpForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/OtpForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/ResetPasswordForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/ResetPasswordForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/ResetPasswordForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/SignInForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/SignInForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/SignUpForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/SignUpForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/SignUpForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/SignUpForm.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/authentication/SignUpForm.tsx
- Visual & motion safety · Animation without a prefers-reduced-motion guard Frontend/src/components/calls/VideoAudioCall.tsx
- Visual & motion safety · Animation without a prefers-reduced-motion guard Frontend/src/components/calls/VideoAudioCall.tsx
- Visual & motion safety · Animation without a prefers-reduced-motion guard Frontend/src/components/chats/AudioRecoding.tsx
- Visual & motion safety · Focus outline removed inline Frontend/src/components/chats/ChatDetials.tsx
Fixed since the last survey: 468 findings
- Cyclomatic Complexity · SelectAspectRatio.SelectAspectRatioAndUplaod (cyclomatic 42) Frontend/src/components/create-post/SelectAspectRatio.tsx
- Cognitive Complexity · SelectAspectRatio.SelectAspectRatioAndUplaod (cognitive 58) Frontend/src/components/create-post/SelectAspectRatio.tsx
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Code Duplication · Duplicated block (28 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModalActions.tsx
- Code Duplication · Duplicated block with local edits (28 matched lines × 2 locations) Frontend/src/components/explore/ExploreDetials.tsx
- Code Duplication · Duplicated block (27 lines × 2 locations) Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx
- Code Duplication · Duplicated block (27 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (27 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (25 lines × 2 locations) Frontend/src/components/create-post/CreatePostFormSubmit.tsx
- Code Duplication · Duplicated block (23 lines × 2 locations) Backend/src/infrastructure/controllers/admin/authentication/refreshTokenAdminController.ts
- Code Duplication · Duplicated block (22 lines × 3 locations) Backend/src/infrastructure/controllers/admin/authentication/authenticateAdminController.ts
- Code Duplication · Duplicated block (22 lines × 2 locations) Frontend/src/components/admin/music/AddMusicForm.tsx
- Code Duplication · Duplicated block (21 lines × 2 locations) Frontend/src/components/authentication/ResetPasswordForm.tsx
- Code Duplication · Duplicated block (20 lines × 2 locations) Backend/src/application/repositories/user/implements/postRepository.ts
- Code Duplication · Duplicated block (20 lines × 2 locations) Backend/src/application/useCases/user/chat/fileMessage.ts
- Code Duplication · Duplicated block (20 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (19 lines × 3 locations) Backend/src/application/repositories/user/implements/notificationRepository.ts
- Code Duplication · Duplicated block (19 lines × 2 locations) Backend/src/infrastructure/controllers/admin/music/getMusicDataController.ts
- Code Duplication · Duplicated block (19 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (18 lines × 3 locations) Backend/src/application/repositories/admin/implements/musicRepository.ts
- Code Duplication · Duplicated block (18 lines × 2 locations) Backend/src/infrastructure/controllers/user/post/commentPostController.ts
- Code Duplication · Duplicated block (18 lines × 2 locations) Backend/src/infrastructure/controllers/user/post/explorePostController.ts
- Code Duplication · Duplicated block (18 lines × 2 locations) Frontend/src/components/admin/common/Sidebar.tsx
- Code Duplication · Duplicated block (18 lines × 2 locations) Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx
- Code Duplication · Duplicated block with local edits (18 matched lines × 2 locations) Frontend/src/components/authentication/OtpForm.tsx
- Code Duplication · Duplicated block with local edits (18 matched lines × 2 locations) Frontend/src/components/create-post/ChangePost.tsx
- Code Duplication · Duplicated block (18 lines × 2 locations) Frontend/src/components/home/Posts.tsx
- Code Duplication · Duplicated block (18 lines × 3 locations) Frontend/src/components/profile/ProfilePostSection.tsx
- Code Duplication · Duplicated block (18 lines × 2 locations) Frontend/src/components/ui/dropdown-menu.tsx
- Code Duplication · Duplicated block (17 lines × 2 locations) Backend/src/application/useCases/user/post/editPost.ts
- Code Duplication · Duplicated block (17 lines × 2 locations) Backend/src/infrastructure/controllers/admin/admin/getAdminDataController.ts
- Code Duplication · Duplicated block with local edits (17 matched lines × 2 locations) Backend/src/infrastructure/controllers/admin/post/getPostDataAdminController.ts
- Code Duplication · Duplicated block (17 lines × 4 locations) Backend/src/infrastructure/controllers/user/post/checkingHasUserLikedPostController.ts
- Code Duplication · Duplicated block (17 lines × 2 locations) Backend/src/infrastructure/controllers/user/post/getLikedPostDataController.ts
- Code Duplication · Duplicated block (17 lines × 2 locations) Backend/src/infrastructure/controllers/user/post/reelsController.ts
- Code Duplication · Duplicated block (17 lines × 4 locations) Backend/src/infrastructure/controllers/user/user/acceptRequestUserController.ts
- Code Duplication · Duplicated block (17 lines × 5 locations) Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx
- Code Duplication · Duplicated block (17 lines × 2 locations) Frontend/src/components/chats/ChatMessageHeader.tsx
- Code Duplication · Duplicated block (17 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (17 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (17 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (17 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block with local edits (16 matched lines × 2 locations) REDACTED
- Code Duplication · Duplicated block (16 lines × 2 locations) Backend/src/application/useCases/user/user/removeUser.ts
- Code Duplication · Duplicated block (16 lines × 3 locations) Backend/src/infrastructure/controllers/admin/music/listAndUnlistMuciAdminController.ts
- Code Duplication · Duplicated block (16 lines × 3 locations) Backend/src/infrastructure/controllers/user/authentication/forgotPasswordController.ts
- Code Duplication · Duplicated block (16 lines × 4 locations) Backend/src/infrastructure/controllers/user/chat/getIndividualChatDataController.ts
- Code Duplication · Duplicated block (16 lines × 6 locations) Backend/src/infrastructure/controllers/user/chat/getSingleChatData.ts
- Code Duplication · Duplicated block with local edits (16 matched lines × 2 locations) Backend/src/infrastructure/controllers/user/post/likeOrUnlikeCommentController.ts
- Code Duplication · Duplicated block with local edits (16 matched lines × 2 locations) Backend/src/infrastructure/controllers/user/post/reportPostController.ts
- Code Duplication · Duplicated block with local edits (16 matched lines × 2 locations) Backend/src/infrastructure/controllers/user/search/removeController.ts
- Code Duplication · Duplicated block (16 lines × 2 locations) Frontend/src/components/admin/music/MusicDetialsTable.tsx
- Code Duplication · Duplicated block (16 lines × 2 locations) Frontend/src/components/admin/post/PostDetialsTable.tsx
- Code Duplication · Duplicated block (16 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (16 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (16 lines × 2 locations) Frontend/src/components/ui/select.tsx
- Code Duplication · Duplicated block with local edits (15 matched lines × 2 locations) Backend/src/infrastructure/controllers/user/chat/getChatListController.ts
- Code Duplication · Duplicated block with local edits (15 matched lines × 2 locations) Backend/src/infrastructure/controllers/user/music/getCreatePostMusicDataController.ts
- Code Duplication · Duplicated block with local edits (15 matched lines × 2 locations) Backend/src/infrastructure/controllers/user/search/searchController.ts
- Code Duplication · Duplicated block with local edits (15 matched lines × 2 locations) Backend/src/infrastructure/controllers/user/user/cretePostGetUserDataController.ts
- Code Duplication · Duplicated block (15 lines × 4 locations) Frontend/src/components/admin/music/AddMusicForm.tsx
- Code Duplication · Duplicated block (15 lines × 4 locations) Frontend/src/components/chats/message-type/SharePostMessage.tsx
- Code Duplication · Duplicated block (15 lines × 2 locations) Frontend/src/components/chats/message-type/TextMessage.tsx
- Code Duplication · Duplicated block (14 lines × 3 locations) Backend/src/application/repositories/user/implements/friendsRepository.ts
- Code Duplication · Duplicated block (14 lines × 3 locations) Backend/src/application/useCases/admin/music/listAndUnlistMusicByAdmin.ts
- Code Duplication · Duplicated block (14 lines × 2 locations) REDACTED
- Code Duplication · Duplicated block (14 lines × 2 locations) Backend/src/infrastructure/controllers/admin/admin/getDashboardDataController.ts
- Code Duplication · Duplicated block (14 lines × 2 locations) Frontend/src/components/admin/music/AddMusicForm.tsx
- Code Duplication · Duplicated block (14 lines × 2 locations) Frontend/src/components/admin/profile/AdminProfileDetials.tsx
- Code Duplication · Duplicated block (14 lines × 2 locations) Frontend/src/components/chats/ChatInbox.tsx
- Code Duplication · Duplicated block (14 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (14 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx
- Code Duplication · Duplicated block (13 lines × 2 locations) Backend/src/application/providers/awsS3Storage.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) Backend/src/application/providers/nodeMailer.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) Backend/src/application/repositories/user/implements/chatRepository.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) Backend/src/application/repositories/user/implements/commentRepository.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) Backend/src/application/repositories/user/implements/likeRepository.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) Backend/src/application/repositories/user/implements/notificationRepository.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) Backend/src/application/repositories/user/implements/postRepository.ts
- Code Duplication · Duplicated block (13 lines × 16 locations) Backend/src/application/useCases/admin/admin/getDashboardData.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) Backend/src/application/useCases/user/user/followingAndFollower.ts
- Code Duplication · Duplicated block (13 lines × 3 locations) Backend/src/infrastructure/controllers/user/post/checkingHasUserLikedCommentController.ts
- Code Duplication · Duplicated block (13 lines × 10 locations) Backend/src/infrastructure/controllers/user/post/deletePostController.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) Frontend/src/components/admin/subscription/SubscriptionDetials.tsx
- Code Duplication · Duplicated block (13 lines × 2 locations) Frontend/src/components/create-post/ChangePost.tsx
- Code Duplication · Duplicated block (12 lines × 2 locations) Backend/src/application/repositories/user/implements/commentRepository.ts
- Code Duplication · Duplicated block (12 lines × 3 locations) Backend/src/application/repositories/user/implements/friendsRepository.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) Backend/src/application/repositories/user/implements/postRepository.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) Backend/src/application/repositories/user/implements/userRepository.ts
- Code Duplication · Duplicated block (12 lines × 4 locations) Backend/src/application/useCases/user/user/followUser.ts
- Code Duplication · Duplicated block with local edits (12 matched lines × 2 locations) Backend/src/infrastructure/controllers/admin/admin/editAdminController.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) Backend/src/infrastructure/controllers/admin/admin/editAdminPasswordController.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) Backend/src/infrastructure/controllers/admin/music/createMusicController.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) Backend/src/infrastructure/controllers/admin/subscription/createSubscriptionController.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) Backend/src/infrastructure/controllers/user/user/checkUserByUsernameController.ts
- Code Duplication · Duplicated block (12 lines × 3 locations) Frontend/src/apis/api/userApi.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) Frontend/src/components/admin/post/PostDetialsTable.tsx
- Code Duplication · Duplicated block (12 lines × 2 locations) Frontend/src/components/authentication/OtpForm.tsx
- Code Duplication · Duplicated block (12 lines × 2 locations) Frontend/src/components/authentication/SignUpForm.tsx
- Code Duplication · Duplicated block (12 lines × 4 locations) Frontend/src/components/calls/CallModal.tsx
Rebuild cost: about €26,000 · Estimate
| Cost to rebuild | €8,600 to €43,000, for 144 to 457 hours of work, about 0.2 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 31. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Medium: 27,770 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 Backend.src.application.providers.awsS3Storage | 2 Backend.src.application.providers.nodeMailer | 3 Backend.src.application.providers.passwordHasher | 4 Backend.src.application.providers.tokenManager | 5 Backend.src.application.repositories.admin.implements.adminRepository | 6 Backend.src.application.repositories.admin.implements.musicRepository | 7 Backend.src.application.repositories.user.implements.chatRepository | 8 Backend.src.application.repositories.user.implements.commentRepository | 9 Backend.src.application.repositories.user.implements.friendsRepository | 10 Backend.src.application.repositories.user.implements.likeRepository | 11 Backend.src.application.repositories.user.implements.messageRepository | 12 Backend.src.application.repositories.user.implements.notificationRepository | 13 Backend.src.application.repositories.user.implements.otpRepository | 14 Backend.src.application.repositories.user.implements.paymentRepository | 15 Backend.src.application.repositories.user.implements.postRepository | 16 Backend.src.application.repositories.user.implements.searchHistoryRepository | 17 Backend.src.application.repositories.user.implements.userMoreDataRepository | 18 Backend.src.infrastructure.controllers.interfaces.IControllerHandler | 19 Backend.src.infrastructure.database.models.subscription | 20 Backend.src.infrastructure.database.models.userModel | 21 Backend.src.application.interface.post | 22 Backend.src.application.repositories.admin.implements.subscriptionRepository | 23 Backend.src.application.repositories.user.implements.userRepository | 24 Backend.src.application.useCases.user.post.deleteCommentOrReply | 25 Backend.src.application.useCases.user.post.likeOrUnlikeComment | 26 Backend.src.application.useCases.user.post.loadingPagePost | 27 Backend.src.application.repositories.user.implements.storyRepository | 28 Backend.src.application.useCases.admin.admin.getDashboardData | 29 Backend.src.application.useCases.user.authentication.googleAuthenticateUser | 30 Backend.src.application.useCases.user.authentication.otpSend | 31 Backend.src.application.useCases.user.chat.fileMessage | 32 Backend.src.application.useCases.user.chat.sendShareMessaege | 33 Backend.src.application.useCases.user.post.commentPost | 34 Backend.src.application.useCases.user.post.createPost | 35 Backend.src.application.useCases.user.post.deletePost | 36 Backend.src.application.useCases.user.post.getLikedPostData | 37 Backend.src.application.useCases.user.post.replyComment | 38 Backend.src.application.useCases.user.post.userPostData | 39 Backend.src.application.useCases.user.user.updateUserData | 40 Frontend.src.types.profile.profile |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Backend.src.application.providers.awsS3Storage | ||||||||||||||||||||||||||||||||||||||||
| 2 Backend.src.application.providers.nodeMailer | ||||||||||||||||||||||||||||||||||||||||
| 3 Backend.src.application.providers.passwordHasher | ||||||||||||||||||||||||||||||||||||||||
| 4 Backend.src.application.providers.tokenManager | ||||||||||||||||||||||||||||||||||||||||
| 5 Backend.src.application.repositories.admin.implements.adminRepository | ||||||||||||||||||||||||||||||||||||||||
| 6 Backend.src.application.repositories.admin.implements.musicRepository | ||||||||||||||||||||||||||||||||||||||||
| 7 Backend.src.application.repositories.user.implements.chatRepository | ||||||||||||||||||||||||||||||||||||||||
| 8 Backend.src.application.repositories.user.implements.commentRepository | ||||||||||||||||||||||||||||||||||||||||
| 9 Backend.src.application.repositories.user.implements.friendsRepository | ||||||||||||||||||||||||||||||||||||||||
| 10 Backend.src.application.repositories.user.implements.likeRepository | ||||||||||||||||||||||||||||||||||||||||
| 11 Backend.src.application.repositories.user.implements.messageRepository | ||||||||||||||||||||||||||||||||||||||||
| 12 Backend.src.application.repositories.user.implements.notificationRepository | ||||||||||||||||||||||||||||||||||||||||
| 13 Backend.src.application.repositories.user.implements.otpRepository | ||||||||||||||||||||||||||||||||||||||||
| 14 Backend.src.application.repositories.user.implements.paymentRepository | ||||||||||||||||||||||||||||||||||||||||
| 15 Backend.src.application.repositories.user.implements.postRepository | ||||||||||||||||||||||||||||||||||||||||
| 16 Backend.src.application.repositories.user.implements.searchHistoryRepository | ||||||||||||||||||||||||||||||||||||||||
| 17 Backend.src.application.repositories.user.implements.userMoreDataRepository | ||||||||||||||||||||||||||||||||||||||||
| 18 Backend.src.infrastructure.controllers.interfaces.IControllerHandler | ||||||||||||||||||||||||||||||||||||||||
| 19 Backend.src.infrastructure.database.models.subscription | ||||||||||||||||||||||||||||||||||||||||
| 20 Backend.src.infrastructure.database.models.userModel | ||||||||||||||||||||||||||||||||||||||||
| 21 Backend.src.application.interface.post | 3 | |||||||||||||||||||||||||||||||||||||||
| 22 Backend.src.application.repositories.admin.implements.subscriptionRepository | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 Backend.src.application.repositories.user.implements.userRepository | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 Backend.src.application.useCases.user.post.deleteCommentOrReply | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 25 Backend.src.application.useCases.user.post.likeOrUnlikeComment | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 26 Backend.src.application.useCases.user.post.loadingPagePost | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 27 Backend.src.application.repositories.user.implements.storyRepository | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 Backend.src.application.useCases.admin.admin.getDashboardData | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 29 Backend.src.application.useCases.user.authentication.googleAuthenticateUser | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 30 Backend.src.application.useCases.user.authentication.otpSend | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 31 Backend.src.application.useCases.user.chat.fileMessage | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 32 Backend.src.application.useCases.user.chat.sendShareMessaege | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 33 Backend.src.application.useCases.user.post.commentPost | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 34 Backend.src.application.useCases.user.post.createPost | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 35 Backend.src.application.useCases.user.post.deletePost | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 36 Backend.src.application.useCases.user.post.getLikedPostData | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 37 Backend.src.application.useCases.user.post.replyComment | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 38 Backend.src.application.useCases.user.post.userPostData | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 39 Backend.src.application.useCases.user.user.updateUserData | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 40 Frontend.src.types.profile.profile | 1 |
21→20 Backend.src.application.interface.post uses Backend.src.infrastructure.database.models.userModel✕
- Connections
- 3 pairs of types, where a type in Backend.src.application.interface.post uses a type in Backend.src.infrastructure.database.models.userModel.
- The types involved
Backend.src.application.interface.post.IFriendsWithUserData→Backend.src.infrastructure.database.models.userModel.IUserBackend.src.application.interface.post.IPostWithUserData→Backend.src.infrastructure.database.models.userModel.IUserBackend.src.application.interface.post.IpostWithUserData→Backend.src.infrastructure.database.models.userModel.IUser
- Direction
- Backend.src.application.interface.post uses Backend.src.infrastructure.database.models.userModel, so a change to Backend.src.infrastructure.database.models.userModel can break Backend.src.application.interface.post, while a change to Backend.src.application.interface.post can't break Backend.src.infrastructure.database.models.userModel.
- Position
- Below the diagonal: Backend.src.application.interface.post uses a module listed above it, which is the healthy direction.
22→19 Backend.src.application.repositories.admin.implements.subscriptionRepository uses Backend.src.infrastructure.database.models.subscription✕
- Connections
- 1 pair of types, where a type in Backend.src.application.repositories.admin.implements.subscriptionRepository uses a type in Backend.src.infrastructure.database.models.subscription.
- The types involved
Backend.src.application.repositories.admin.implements.subscriptionRepository.SubscriptionRepository→Backend.src.infrastructure.database.models.subscription.ISubscription
- Direction
- Backend.src.application.repositories.admin.implements.subscriptionRepository uses Backend.src.infrastructure.database.models.subscription, so a change to Backend.src.infrastructure.database.models.subscription can break Backend.src.application.repositories.admin.implements.subscriptionRepository, while a change to Backend.src.application.repositories.admin.implements.subscriptionRepository can't break Backend.src.infrastructure.database.models.subscription.
- Position
- Below the diagonal: Backend.src.application.repositories.admin.implements.subscriptionRepository uses a module listed above it, which is the healthy direction.
23→20 Backend.src.application.repositories.user.implements.userRepository uses Backend.src.infrastructure.database.models.userModel✕
- Connections
- 1 pair of types, where a type in Backend.src.application.repositories.user.implements.userRepository uses a type in Backend.src.infrastructure.database.models.userModel.
- The types involved
Backend.src.application.repositories.user.implements.userRepository.UserRepository→Backend.src.infrastructure.database.models.userModel.IUser
- Direction
- Backend.src.application.repositories.user.implements.userRepository uses Backend.src.infrastructure.database.models.userModel, so a change to Backend.src.infrastructure.database.models.userModel can break Backend.src.application.repositories.user.implements.userRepository, while a change to Backend.src.application.repositories.user.implements.userRepository can't break Backend.src.infrastructure.database.models.userModel.
- Position
- Below the diagonal: Backend.src.application.repositories.user.implements.userRepository uses a module listed above it, which is the healthy direction.
24→8 Backend.src.application.useCases.user.post.deleteCommentOrReply uses Backend.src.application.repositories.user.implements.commentRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deleteCommentOrReply uses a type in Backend.src.application.repositories.user.implements.commentRepository.
- The types involved
Backend.src.application.useCases.user.post.deleteCommentOrReply.DeleteCommentOrReply→Backend.src.application.repositories.user.implements.commentRepository.CommentRepository
- Direction
- Backend.src.application.useCases.user.post.deleteCommentOrReply uses Backend.src.application.repositories.user.implements.commentRepository, so a change to Backend.src.application.repositories.user.implements.commentRepository can break Backend.src.application.useCases.user.post.deleteCommentOrReply, while a change to Backend.src.application.useCases.user.post.deleteCommentOrReply can't break Backend.src.application.repositories.user.implements.commentRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deleteCommentOrReply uses a module listed above it, which is the healthy direction.
24→10 Backend.src.application.useCases.user.post.deleteCommentOrReply uses Backend.src.application.repositories.user.implements.likeRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deleteCommentOrReply uses a type in Backend.src.application.repositories.user.implements.likeRepository.
- The types involved
Backend.src.application.useCases.user.post.deleteCommentOrReply.DeleteCommentOrReply→Backend.src.application.repositories.user.implements.likeRepository.LikeRepository
- Direction
- Backend.src.application.useCases.user.post.deleteCommentOrReply uses Backend.src.application.repositories.user.implements.likeRepository, so a change to Backend.src.application.repositories.user.implements.likeRepository can break Backend.src.application.useCases.user.post.deleteCommentOrReply, while a change to Backend.src.application.useCases.user.post.deleteCommentOrReply can't break Backend.src.application.repositories.user.implements.likeRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deleteCommentOrReply uses a module listed above it, which is the healthy direction.
24→12 Backend.src.application.useCases.user.post.deleteCommentOrReply uses Backend.src.application.repositories.user.implements.notificationRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deleteCommentOrReply uses a type in Backend.src.application.repositories.user.implements.notificationRepository.
- The types involved
Backend.src.application.useCases.user.post.deleteCommentOrReply.DeleteCommentOrReply→Backend.src.application.repositories.user.implements.notificationRepository.NotificationRepository
- Direction
- Backend.src.application.useCases.user.post.deleteCommentOrReply uses Backend.src.application.repositories.user.implements.notificationRepository, so a change to Backend.src.application.repositories.user.implements.notificationRepository can break Backend.src.application.useCases.user.post.deleteCommentOrReply, while a change to Backend.src.application.useCases.user.post.deleteCommentOrReply can't break Backend.src.application.repositories.user.implements.notificationRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deleteCommentOrReply uses a module listed above it, which is the healthy direction.
24→15 Backend.src.application.useCases.user.post.deleteCommentOrReply uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deleteCommentOrReply uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.user.post.deleteCommentOrReply.DeleteCommentOrReply→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.user.post.deleteCommentOrReply uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.user.post.deleteCommentOrReply, while a change to Backend.src.application.useCases.user.post.deleteCommentOrReply can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deleteCommentOrReply uses a module listed above it, which is the healthy direction.
25→8 Backend.src.application.useCases.user.post.likeOrUnlikeComment uses Backend.src.application.repositories.user.implements.commentRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.likeOrUnlikeComment uses a type in Backend.src.application.repositories.user.implements.commentRepository.
- The types involved
Backend.src.application.useCases.user.post.likeOrUnlikeComment.LikeOrUnlikeComment→Backend.src.application.repositories.user.implements.commentRepository.CommentRepository
- Direction
- Backend.src.application.useCases.user.post.likeOrUnlikeComment uses Backend.src.application.repositories.user.implements.commentRepository, so a change to Backend.src.application.repositories.user.implements.commentRepository can break Backend.src.application.useCases.user.post.likeOrUnlikeComment, while a change to Backend.src.application.useCases.user.post.likeOrUnlikeComment can't break Backend.src.application.repositories.user.implements.commentRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.likeOrUnlikeComment uses a module listed above it, which is the healthy direction.
25→10 Backend.src.application.useCases.user.post.likeOrUnlikeComment uses Backend.src.application.repositories.user.implements.likeRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.likeOrUnlikeComment uses a type in Backend.src.application.repositories.user.implements.likeRepository.
- The types involved
Backend.src.application.useCases.user.post.likeOrUnlikeComment.LikeOrUnlikeComment→Backend.src.application.repositories.user.implements.likeRepository.LikeRepository
- Direction
- Backend.src.application.useCases.user.post.likeOrUnlikeComment uses Backend.src.application.repositories.user.implements.likeRepository, so a change to Backend.src.application.repositories.user.implements.likeRepository can break Backend.src.application.useCases.user.post.likeOrUnlikeComment, while a change to Backend.src.application.useCases.user.post.likeOrUnlikeComment can't break Backend.src.application.repositories.user.implements.likeRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.likeOrUnlikeComment uses a module listed above it, which is the healthy direction.
25→12 Backend.src.application.useCases.user.post.likeOrUnlikeComment uses Backend.src.application.repositories.user.implements.notificationRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.likeOrUnlikeComment uses a type in Backend.src.application.repositories.user.implements.notificationRepository.
- The types involved
Backend.src.application.useCases.user.post.likeOrUnlikeComment.LikeOrUnlikeComment→Backend.src.application.repositories.user.implements.notificationRepository.NotificationRepository
- Direction
- Backend.src.application.useCases.user.post.likeOrUnlikeComment uses Backend.src.application.repositories.user.implements.notificationRepository, so a change to Backend.src.application.repositories.user.implements.notificationRepository can break Backend.src.application.useCases.user.post.likeOrUnlikeComment, while a change to Backend.src.application.useCases.user.post.likeOrUnlikeComment can't break Backend.src.application.repositories.user.implements.notificationRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.likeOrUnlikeComment uses a module listed above it, which is the healthy direction.
25→15 Backend.src.application.useCases.user.post.likeOrUnlikeComment uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.likeOrUnlikeComment uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.user.post.likeOrUnlikeComment.LikeOrUnlikeComment→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.user.post.likeOrUnlikeComment uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.user.post.likeOrUnlikeComment, while a change to Backend.src.application.useCases.user.post.likeOrUnlikeComment can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.likeOrUnlikeComment uses a module listed above it, which is the healthy direction.
26→9 Backend.src.application.useCases.user.post.loadingPagePost uses Backend.src.application.repositories.user.implements.friendsRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.loadingPagePost uses a type in Backend.src.application.repositories.user.implements.friendsRepository.
- The types involved
Backend.src.application.useCases.user.post.loadingPagePost.LoadingPagePost→Backend.src.application.repositories.user.implements.friendsRepository.FriendsRepository
- Direction
- Backend.src.application.useCases.user.post.loadingPagePost uses Backend.src.application.repositories.user.implements.friendsRepository, so a change to Backend.src.application.repositories.user.implements.friendsRepository can break Backend.src.application.useCases.user.post.loadingPagePost, while a change to Backend.src.application.useCases.user.post.loadingPagePost can't break Backend.src.application.repositories.user.implements.friendsRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.loadingPagePost uses a module listed above it, which is the healthy direction.
26→10 Backend.src.application.useCases.user.post.loadingPagePost uses Backend.src.application.repositories.user.implements.likeRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.loadingPagePost uses a type in Backend.src.application.repositories.user.implements.likeRepository.
- The types involved
Backend.src.application.useCases.user.post.loadingPagePost.LoadingPagePost→Backend.src.application.repositories.user.implements.likeRepository.LikeRepository
- Direction
- Backend.src.application.useCases.user.post.loadingPagePost uses Backend.src.application.repositories.user.implements.likeRepository, so a change to Backend.src.application.repositories.user.implements.likeRepository can break Backend.src.application.useCases.user.post.loadingPagePost, while a change to Backend.src.application.useCases.user.post.loadingPagePost can't break Backend.src.application.repositories.user.implements.likeRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.loadingPagePost uses a module listed above it, which is the healthy direction.
26→15 Backend.src.application.useCases.user.post.loadingPagePost uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.loadingPagePost uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.user.post.loadingPagePost.LoadingPagePost→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.user.post.loadingPagePost uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.user.post.loadingPagePost, while a change to Backend.src.application.useCases.user.post.loadingPagePost can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.loadingPagePost uses a module listed above it, which is the healthy direction.
26→17 Backend.src.application.useCases.user.post.loadingPagePost uses Backend.src.application.repositories.user.implements.userMoreDataRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.loadingPagePost uses a type in Backend.src.application.repositories.user.implements.userMoreDataRepository.
- The types involved
Backend.src.application.useCases.user.post.loadingPagePost.LoadingPagePost→Backend.src.application.repositories.user.implements.userMoreDataRepository.UserMoreDataRepository
- Direction
- Backend.src.application.useCases.user.post.loadingPagePost uses Backend.src.application.repositories.user.implements.userMoreDataRepository, so a change to Backend.src.application.repositories.user.implements.userMoreDataRepository can break Backend.src.application.useCases.user.post.loadingPagePost, while a change to Backend.src.application.useCases.user.post.loadingPagePost can't break Backend.src.application.repositories.user.implements.userMoreDataRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.loadingPagePost uses a module listed above it, which is the healthy direction.
27→21 Backend.src.application.repositories.user.implements.storyRepository uses Backend.src.application.interface.post✕
- Connections
- 1 pair of types, where a type in Backend.src.application.repositories.user.implements.storyRepository uses a type in Backend.src.application.interface.post.
- The types involved
Backend.src.application.repositories.user.implements.storyRepository.StoryRepository→Backend.src.application.interface.post.StoryData
- Direction
- Backend.src.application.repositories.user.implements.storyRepository uses Backend.src.application.interface.post, so a change to Backend.src.application.interface.post can break Backend.src.application.repositories.user.implements.storyRepository, while a change to Backend.src.application.repositories.user.implements.storyRepository can't break Backend.src.application.interface.post.
- Position
- Below the diagonal: Backend.src.application.repositories.user.implements.storyRepository uses a module listed above it, which is the healthy direction.
28→9 Backend.src.application.useCases.admin.admin.getDashboardData uses Backend.src.application.repositories.user.implements.friendsRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.admin.admin.getDashboardData uses a type in Backend.src.application.repositories.user.implements.friendsRepository.
- The types involved
Backend.src.application.useCases.admin.admin.getDashboardData.GetDashboardData→Backend.src.application.repositories.user.implements.friendsRepository.FriendsRepository
- Direction
- Backend.src.application.useCases.admin.admin.getDashboardData uses Backend.src.application.repositories.user.implements.friendsRepository, so a change to Backend.src.application.repositories.user.implements.friendsRepository can break Backend.src.application.useCases.admin.admin.getDashboardData, while a change to Backend.src.application.useCases.admin.admin.getDashboardData can't break Backend.src.application.repositories.user.implements.friendsRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.admin.admin.getDashboardData uses a module listed above it, which is the healthy direction.
28→14 Backend.src.application.useCases.admin.admin.getDashboardData uses Backend.src.application.repositories.user.implements.paymentRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.admin.admin.getDashboardData uses a type in Backend.src.application.repositories.user.implements.paymentRepository.
- The types involved
Backend.src.application.useCases.admin.admin.getDashboardData.GetDashboardData→Backend.src.application.repositories.user.implements.paymentRepository.PaymentRepository
- Direction
- Backend.src.application.useCases.admin.admin.getDashboardData uses Backend.src.application.repositories.user.implements.paymentRepository, so a change to Backend.src.application.repositories.user.implements.paymentRepository can break Backend.src.application.useCases.admin.admin.getDashboardData, while a change to Backend.src.application.useCases.admin.admin.getDashboardData can't break Backend.src.application.repositories.user.implements.paymentRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.admin.admin.getDashboardData uses a module listed above it, which is the healthy direction.
28→15 Backend.src.application.useCases.admin.admin.getDashboardData uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.admin.admin.getDashboardData uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.admin.admin.getDashboardData.GetDashboardData→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.admin.admin.getDashboardData uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.admin.admin.getDashboardData, while a change to Backend.src.application.useCases.admin.admin.getDashboardData can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.admin.admin.getDashboardData uses a module listed above it, which is the healthy direction.
28→23 Backend.src.application.useCases.admin.admin.getDashboardData uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.admin.admin.getDashboardData uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.admin.admin.getDashboardData.GetDashboardData→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.admin.admin.getDashboardData uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.admin.admin.getDashboardData, while a change to Backend.src.application.useCases.admin.admin.getDashboardData can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.admin.admin.getDashboardData uses a module listed above it, which is the healthy direction.
29→3 Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses Backend.src.application.providers.passwordHasher✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses a type in Backend.src.application.providers.passwordHasher.
- The types involved
Backend.src.application.useCases.user.authentication.googleAuthenticateUser.GoogleAuthenticateUser→Backend.src.application.providers.passwordHasher.PasswordHasher
- Direction
- Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses Backend.src.application.providers.passwordHasher, so a change to Backend.src.application.providers.passwordHasher can break Backend.src.application.useCases.user.authentication.googleAuthenticateUser, while a change to Backend.src.application.useCases.user.authentication.googleAuthenticateUser can't break Backend.src.application.providers.passwordHasher.
- Position
- Below the diagonal: Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses a module listed above it, which is the healthy direction.
29→4 Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses Backend.src.application.providers.tokenManager✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses a type in Backend.src.application.providers.tokenManager.
- The types involved
Backend.src.application.useCases.user.authentication.googleAuthenticateUser.GoogleAuthenticateUser→Backend.src.application.providers.tokenManager.TokenManager
- Direction
- Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses Backend.src.application.providers.tokenManager, so a change to Backend.src.application.providers.tokenManager can break Backend.src.application.useCases.user.authentication.googleAuthenticateUser, while a change to Backend.src.application.useCases.user.authentication.googleAuthenticateUser can't break Backend.src.application.providers.tokenManager.
- Position
- Below the diagonal: Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses a module listed above it, which is the healthy direction.
29→23 Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.authentication.googleAuthenticateUser.GoogleAuthenticateUser→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.authentication.googleAuthenticateUser, while a change to Backend.src.application.useCases.user.authentication.googleAuthenticateUser can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.authentication.googleAuthenticateUser uses a module listed above it, which is the healthy direction.
30→2 Backend.src.application.useCases.user.authentication.otpSend uses Backend.src.application.providers.nodeMailer✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.authentication.otpSend uses a type in Backend.src.application.providers.nodeMailer.
- The types involved
Backend.src.application.useCases.user.authentication.otpSend.OtpSend→Backend.src.application.providers.nodeMailer.EmailService
- Direction
- Backend.src.application.useCases.user.authentication.otpSend uses Backend.src.application.providers.nodeMailer, so a change to Backend.src.application.providers.nodeMailer can break Backend.src.application.useCases.user.authentication.otpSend, while a change to Backend.src.application.useCases.user.authentication.otpSend can't break Backend.src.application.providers.nodeMailer.
- Position
- Below the diagonal: Backend.src.application.useCases.user.authentication.otpSend uses a module listed above it, which is the healthy direction.
30→3 Backend.src.application.useCases.user.authentication.otpSend uses Backend.src.application.providers.passwordHasher✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.authentication.otpSend uses a type in Backend.src.application.providers.passwordHasher.
- The types involved
Backend.src.application.useCases.user.authentication.otpSend.OtpSend→Backend.src.application.providers.passwordHasher.PasswordHasher
- Direction
- Backend.src.application.useCases.user.authentication.otpSend uses Backend.src.application.providers.passwordHasher, so a change to Backend.src.application.providers.passwordHasher can break Backend.src.application.useCases.user.authentication.otpSend, while a change to Backend.src.application.useCases.user.authentication.otpSend can't break Backend.src.application.providers.passwordHasher.
- Position
- Below the diagonal: Backend.src.application.useCases.user.authentication.otpSend uses a module listed above it, which is the healthy direction.
30→13 Backend.src.application.useCases.user.authentication.otpSend uses Backend.src.application.repositories.user.implements.otpRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.authentication.otpSend uses a type in Backend.src.application.repositories.user.implements.otpRepository.
- The types involved
Backend.src.application.useCases.user.authentication.otpSend.OtpSend→Backend.src.application.repositories.user.implements.otpRepository.OtpRepository
- Direction
- Backend.src.application.useCases.user.authentication.otpSend uses Backend.src.application.repositories.user.implements.otpRepository, so a change to Backend.src.application.repositories.user.implements.otpRepository can break Backend.src.application.useCases.user.authentication.otpSend, while a change to Backend.src.application.useCases.user.authentication.otpSend can't break Backend.src.application.repositories.user.implements.otpRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.authentication.otpSend uses a module listed above it, which is the healthy direction.
30→23 Backend.src.application.useCases.user.authentication.otpSend uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.authentication.otpSend uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.authentication.otpSend.OtpSend→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.authentication.otpSend uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.authentication.otpSend, while a change to Backend.src.application.useCases.user.authentication.otpSend can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.authentication.otpSend uses a module listed above it, which is the healthy direction.
31→1 Backend.src.application.useCases.user.chat.fileMessage uses Backend.src.application.providers.awsS3Storage✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.chat.fileMessage uses a type in Backend.src.application.providers.awsS3Storage.
- The types involved
Backend.src.application.useCases.user.chat.fileMessage.FileMessage→Backend.src.application.providers.awsS3Storage.AwsS3Storage
- Direction
- Backend.src.application.useCases.user.chat.fileMessage uses Backend.src.application.providers.awsS3Storage, so a change to Backend.src.application.providers.awsS3Storage can break Backend.src.application.useCases.user.chat.fileMessage, while a change to Backend.src.application.useCases.user.chat.fileMessage can't break Backend.src.application.providers.awsS3Storage.
- Position
- Below the diagonal: Backend.src.application.useCases.user.chat.fileMessage uses a module listed above it, which is the healthy direction.
31→7 Backend.src.application.useCases.user.chat.fileMessage uses Backend.src.application.repositories.user.implements.chatRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.chat.fileMessage uses a type in Backend.src.application.repositories.user.implements.chatRepository.
- The types involved
Backend.src.application.useCases.user.chat.fileMessage.FileMessage→Backend.src.application.repositories.user.implements.chatRepository.ChatRepository
- Direction
- Backend.src.application.useCases.user.chat.fileMessage uses Backend.src.application.repositories.user.implements.chatRepository, so a change to Backend.src.application.repositories.user.implements.chatRepository can break Backend.src.application.useCases.user.chat.fileMessage, while a change to Backend.src.application.useCases.user.chat.fileMessage can't break Backend.src.application.repositories.user.implements.chatRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.chat.fileMessage uses a module listed above it, which is the healthy direction.
31→11 Backend.src.application.useCases.user.chat.fileMessage uses Backend.src.application.repositories.user.implements.messageRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.chat.fileMessage uses a type in Backend.src.application.repositories.user.implements.messageRepository.
- The types involved
Backend.src.application.useCases.user.chat.fileMessage.FileMessage→Backend.src.application.repositories.user.implements.messageRepository.MessageRepository
- Direction
- Backend.src.application.useCases.user.chat.fileMessage uses Backend.src.application.repositories.user.implements.messageRepository, so a change to Backend.src.application.repositories.user.implements.messageRepository can break Backend.src.application.useCases.user.chat.fileMessage, while a change to Backend.src.application.useCases.user.chat.fileMessage can't break Backend.src.application.repositories.user.implements.messageRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.chat.fileMessage uses a module listed above it, which is the healthy direction.
31→23 Backend.src.application.useCases.user.chat.fileMessage uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.chat.fileMessage uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.chat.fileMessage.FileMessage→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.chat.fileMessage uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.chat.fileMessage, while a change to Backend.src.application.useCases.user.chat.fileMessage can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.chat.fileMessage uses a module listed above it, which is the healthy direction.
32→7 Backend.src.application.useCases.user.chat.sendShareMessaege uses Backend.src.application.repositories.user.implements.chatRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.chat.sendShareMessaege uses a type in Backend.src.application.repositories.user.implements.chatRepository.
- The types involved
Backend.src.application.useCases.user.chat.sendShareMessaege.SendShareMessaege→Backend.src.application.repositories.user.implements.chatRepository.ChatRepository
- Direction
- Backend.src.application.useCases.user.chat.sendShareMessaege uses Backend.src.application.repositories.user.implements.chatRepository, so a change to Backend.src.application.repositories.user.implements.chatRepository can break Backend.src.application.useCases.user.chat.sendShareMessaege, while a change to Backend.src.application.useCases.user.chat.sendShareMessaege can't break Backend.src.application.repositories.user.implements.chatRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.chat.sendShareMessaege uses a module listed above it, which is the healthy direction.
32→11 Backend.src.application.useCases.user.chat.sendShareMessaege uses Backend.src.application.repositories.user.implements.messageRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.chat.sendShareMessaege uses a type in Backend.src.application.repositories.user.implements.messageRepository.
- The types involved
Backend.src.application.useCases.user.chat.sendShareMessaege.SendShareMessaege→Backend.src.application.repositories.user.implements.messageRepository.MessageRepository
- Direction
- Backend.src.application.useCases.user.chat.sendShareMessaege uses Backend.src.application.repositories.user.implements.messageRepository, so a change to Backend.src.application.repositories.user.implements.messageRepository can break Backend.src.application.useCases.user.chat.sendShareMessaege, while a change to Backend.src.application.useCases.user.chat.sendShareMessaege can't break Backend.src.application.repositories.user.implements.messageRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.chat.sendShareMessaege uses a module listed above it, which is the healthy direction.
32→15 Backend.src.application.useCases.user.chat.sendShareMessaege uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.chat.sendShareMessaege uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.user.chat.sendShareMessaege.SendShareMessaege→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.user.chat.sendShareMessaege uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.user.chat.sendShareMessaege, while a change to Backend.src.application.useCases.user.chat.sendShareMessaege can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.chat.sendShareMessaege uses a module listed above it, which is the healthy direction.
32→23 Backend.src.application.useCases.user.chat.sendShareMessaege uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.chat.sendShareMessaege uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.chat.sendShareMessaege.SendShareMessaege→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.chat.sendShareMessaege uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.chat.sendShareMessaege, while a change to Backend.src.application.useCases.user.chat.sendShareMessaege can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.chat.sendShareMessaege uses a module listed above it, which is the healthy direction.
33→8 Backend.src.application.useCases.user.post.commentPost uses Backend.src.application.repositories.user.implements.commentRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.commentPost uses a type in Backend.src.application.repositories.user.implements.commentRepository.
- The types involved
Backend.src.application.useCases.user.post.commentPost.CommentPost→Backend.src.application.repositories.user.implements.commentRepository.CommentRepository
- Direction
- Backend.src.application.useCases.user.post.commentPost uses Backend.src.application.repositories.user.implements.commentRepository, so a change to Backend.src.application.repositories.user.implements.commentRepository can break Backend.src.application.useCases.user.post.commentPost, while a change to Backend.src.application.useCases.user.post.commentPost can't break Backend.src.application.repositories.user.implements.commentRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.commentPost uses a module listed above it, which is the healthy direction.
33→12 Backend.src.application.useCases.user.post.commentPost uses Backend.src.application.repositories.user.implements.notificationRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.commentPost uses a type in Backend.src.application.repositories.user.implements.notificationRepository.
- The types involved
Backend.src.application.useCases.user.post.commentPost.CommentPost→Backend.src.application.repositories.user.implements.notificationRepository.NotificationRepository
- Direction
- Backend.src.application.useCases.user.post.commentPost uses Backend.src.application.repositories.user.implements.notificationRepository, so a change to Backend.src.application.repositories.user.implements.notificationRepository can break Backend.src.application.useCases.user.post.commentPost, while a change to Backend.src.application.useCases.user.post.commentPost can't break Backend.src.application.repositories.user.implements.notificationRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.commentPost uses a module listed above it, which is the healthy direction.
33→15 Backend.src.application.useCases.user.post.commentPost uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.commentPost uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.user.post.commentPost.CommentPost→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.user.post.commentPost uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.user.post.commentPost, while a change to Backend.src.application.useCases.user.post.commentPost can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.commentPost uses a module listed above it, which is the healthy direction.
33→23 Backend.src.application.useCases.user.post.commentPost uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.commentPost uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.post.commentPost.CommentPost→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.post.commentPost uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.post.commentPost, while a change to Backend.src.application.useCases.user.post.commentPost can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.commentPost uses a module listed above it, which is the healthy direction.
34→1 Backend.src.application.useCases.user.post.createPost uses Backend.src.application.providers.awsS3Storage✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.createPost uses a type in Backend.src.application.providers.awsS3Storage.
- The types involved
Backend.src.application.useCases.user.post.createPost.CreatePost→Backend.src.application.providers.awsS3Storage.AwsS3Storage
- Direction
- Backend.src.application.useCases.user.post.createPost uses Backend.src.application.providers.awsS3Storage, so a change to Backend.src.application.providers.awsS3Storage can break Backend.src.application.useCases.user.post.createPost, while a change to Backend.src.application.useCases.user.post.createPost can't break Backend.src.application.providers.awsS3Storage.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.createPost uses a module listed above it, which is the healthy direction.
34→12 Backend.src.application.useCases.user.post.createPost uses Backend.src.application.repositories.user.implements.notificationRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.createPost uses a type in Backend.src.application.repositories.user.implements.notificationRepository.
- The types involved
Backend.src.application.useCases.user.post.createPost.CreatePost→Backend.src.application.repositories.user.implements.notificationRepository.NotificationRepository
- Direction
- Backend.src.application.useCases.user.post.createPost uses Backend.src.application.repositories.user.implements.notificationRepository, so a change to Backend.src.application.repositories.user.implements.notificationRepository can break Backend.src.application.useCases.user.post.createPost, while a change to Backend.src.application.useCases.user.post.createPost can't break Backend.src.application.repositories.user.implements.notificationRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.createPost uses a module listed above it, which is the healthy direction.
34→15 Backend.src.application.useCases.user.post.createPost uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.createPost uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.user.post.createPost.CreatePost→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.user.post.createPost uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.user.post.createPost, while a change to Backend.src.application.useCases.user.post.createPost can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.createPost uses a module listed above it, which is the healthy direction.
34→23 Backend.src.application.useCases.user.post.createPost uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.createPost uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.post.createPost.CreatePost→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.post.createPost uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.post.createPost, while a change to Backend.src.application.useCases.user.post.createPost can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.createPost uses a module listed above it, which is the healthy direction.
35→1 Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.providers.awsS3Storage✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deletePost uses a type in Backend.src.application.providers.awsS3Storage.
- The types involved
Backend.src.application.useCases.user.post.deletePost.DeletePost→Backend.src.application.providers.awsS3Storage.AwsS3Storage
- Direction
- Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.providers.awsS3Storage, so a change to Backend.src.application.providers.awsS3Storage can break Backend.src.application.useCases.user.post.deletePost, while a change to Backend.src.application.useCases.user.post.deletePost can't break Backend.src.application.providers.awsS3Storage.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deletePost uses a module listed above it, which is the healthy direction.
35→8 Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.commentRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deletePost uses a type in Backend.src.application.repositories.user.implements.commentRepository.
- The types involved
Backend.src.application.useCases.user.post.deletePost.DeletePost→Backend.src.application.repositories.user.implements.commentRepository.CommentRepository
- Direction
- Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.commentRepository, so a change to Backend.src.application.repositories.user.implements.commentRepository can break Backend.src.application.useCases.user.post.deletePost, while a change to Backend.src.application.useCases.user.post.deletePost can't break Backend.src.application.repositories.user.implements.commentRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deletePost uses a module listed above it, which is the healthy direction.
35→10 Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.likeRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deletePost uses a type in Backend.src.application.repositories.user.implements.likeRepository.
- The types involved
Backend.src.application.useCases.user.post.deletePost.DeletePost→Backend.src.application.repositories.user.implements.likeRepository.LikeRepository
- Direction
- Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.likeRepository, so a change to Backend.src.application.repositories.user.implements.likeRepository can break Backend.src.application.useCases.user.post.deletePost, while a change to Backend.src.application.useCases.user.post.deletePost can't break Backend.src.application.repositories.user.implements.likeRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deletePost uses a module listed above it, which is the healthy direction.
35→11 Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.messageRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deletePost uses a type in Backend.src.application.repositories.user.implements.messageRepository.
- The types involved
Backend.src.application.useCases.user.post.deletePost.DeletePost→Backend.src.application.repositories.user.implements.messageRepository.MessageRepository
- Direction
- Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.messageRepository, so a change to Backend.src.application.repositories.user.implements.messageRepository can break Backend.src.application.useCases.user.post.deletePost, while a change to Backend.src.application.useCases.user.post.deletePost can't break Backend.src.application.repositories.user.implements.messageRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deletePost uses a module listed above it, which is the healthy direction.
35→12 Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.notificationRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deletePost uses a type in Backend.src.application.repositories.user.implements.notificationRepository.
- The types involved
Backend.src.application.useCases.user.post.deletePost.DeletePost→Backend.src.application.repositories.user.implements.notificationRepository.NotificationRepository
- Direction
- Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.notificationRepository, so a change to Backend.src.application.repositories.user.implements.notificationRepository can break Backend.src.application.useCases.user.post.deletePost, while a change to Backend.src.application.useCases.user.post.deletePost can't break Backend.src.application.repositories.user.implements.notificationRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deletePost uses a module listed above it, which is the healthy direction.
35→15 Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deletePost uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.user.post.deletePost.DeletePost→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.user.post.deletePost, while a change to Backend.src.application.useCases.user.post.deletePost can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deletePost uses a module listed above it, which is the healthy direction.
35→23 Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.deletePost uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.post.deletePost.DeletePost→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.post.deletePost uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.post.deletePost, while a change to Backend.src.application.useCases.user.post.deletePost can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.deletePost uses a module listed above it, which is the healthy direction.
36→9 Backend.src.application.useCases.user.post.getLikedPostData uses Backend.src.application.repositories.user.implements.friendsRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.getLikedPostData uses a type in Backend.src.application.repositories.user.implements.friendsRepository.
- The types involved
Backend.src.application.useCases.user.post.getLikedPostData.GetLikedPostData→Backend.src.application.repositories.user.implements.friendsRepository.FriendsRepository
- Direction
- Backend.src.application.useCases.user.post.getLikedPostData uses Backend.src.application.repositories.user.implements.friendsRepository, so a change to Backend.src.application.repositories.user.implements.friendsRepository can break Backend.src.application.useCases.user.post.getLikedPostData, while a change to Backend.src.application.useCases.user.post.getLikedPostData can't break Backend.src.application.repositories.user.implements.friendsRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.getLikedPostData uses a module listed above it, which is the healthy direction.
36→10 Backend.src.application.useCases.user.post.getLikedPostData uses Backend.src.application.repositories.user.implements.likeRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.getLikedPostData uses a type in Backend.src.application.repositories.user.implements.likeRepository.
- The types involved
Backend.src.application.useCases.user.post.getLikedPostData.GetLikedPostData→Backend.src.application.repositories.user.implements.likeRepository.LikeRepository
- Direction
- Backend.src.application.useCases.user.post.getLikedPostData uses Backend.src.application.repositories.user.implements.likeRepository, so a change to Backend.src.application.repositories.user.implements.likeRepository can break Backend.src.application.useCases.user.post.getLikedPostData, while a change to Backend.src.application.useCases.user.post.getLikedPostData can't break Backend.src.application.repositories.user.implements.likeRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.getLikedPostData uses a module listed above it, which is the healthy direction.
36→15 Backend.src.application.useCases.user.post.getLikedPostData uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.getLikedPostData uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.user.post.getLikedPostData.GetLikedPostData→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.user.post.getLikedPostData uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.user.post.getLikedPostData, while a change to Backend.src.application.useCases.user.post.getLikedPostData can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.getLikedPostData uses a module listed above it, which is the healthy direction.
36→23 Backend.src.application.useCases.user.post.getLikedPostData uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.getLikedPostData uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.post.getLikedPostData.GetLikedPostData→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.post.getLikedPostData uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.post.getLikedPostData, while a change to Backend.src.application.useCases.user.post.getLikedPostData can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.getLikedPostData uses a module listed above it, which is the healthy direction.
37→8 Backend.src.application.useCases.user.post.replyComment uses Backend.src.application.repositories.user.implements.commentRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.replyComment uses a type in Backend.src.application.repositories.user.implements.commentRepository.
- The types involved
Backend.src.application.useCases.user.post.replyComment.ReplyComment→Backend.src.application.repositories.user.implements.commentRepository.CommentRepository
- Direction
- Backend.src.application.useCases.user.post.replyComment uses Backend.src.application.repositories.user.implements.commentRepository, so a change to Backend.src.application.repositories.user.implements.commentRepository can break Backend.src.application.useCases.user.post.replyComment, while a change to Backend.src.application.useCases.user.post.replyComment can't break Backend.src.application.repositories.user.implements.commentRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.replyComment uses a module listed above it, which is the healthy direction.
37→12 Backend.src.application.useCases.user.post.replyComment uses Backend.src.application.repositories.user.implements.notificationRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.replyComment uses a type in Backend.src.application.repositories.user.implements.notificationRepository.
- The types involved
Backend.src.application.useCases.user.post.replyComment.ReplyComment→Backend.src.application.repositories.user.implements.notificationRepository.NotificationRepository
- Direction
- Backend.src.application.useCases.user.post.replyComment uses Backend.src.application.repositories.user.implements.notificationRepository, so a change to Backend.src.application.repositories.user.implements.notificationRepository can break Backend.src.application.useCases.user.post.replyComment, while a change to Backend.src.application.useCases.user.post.replyComment can't break Backend.src.application.repositories.user.implements.notificationRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.replyComment uses a module listed above it, which is the healthy direction.
37→15 Backend.src.application.useCases.user.post.replyComment uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.replyComment uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.user.post.replyComment.ReplyComment→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.user.post.replyComment uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.user.post.replyComment, while a change to Backend.src.application.useCases.user.post.replyComment can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.replyComment uses a module listed above it, which is the healthy direction.
37→23 Backend.src.application.useCases.user.post.replyComment uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.replyComment uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.post.replyComment.ReplyComment→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.post.replyComment uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.post.replyComment, while a change to Backend.src.application.useCases.user.post.replyComment can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.replyComment uses a module listed above it, which is the healthy direction.
38→1 Backend.src.application.useCases.user.post.userPostData uses Backend.src.application.providers.awsS3Storage✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.userPostData uses a type in Backend.src.application.providers.awsS3Storage.
- The types involved
Backend.src.application.useCases.user.post.userPostData.UserPostData→Backend.src.application.providers.awsS3Storage.AwsS3Storage
- Direction
- Backend.src.application.useCases.user.post.userPostData uses Backend.src.application.providers.awsS3Storage, so a change to Backend.src.application.providers.awsS3Storage can break Backend.src.application.useCases.user.post.userPostData, while a change to Backend.src.application.useCases.user.post.userPostData can't break Backend.src.application.providers.awsS3Storage.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.userPostData uses a module listed above it, which is the healthy direction.
38→9 Backend.src.application.useCases.user.post.userPostData uses Backend.src.application.repositories.user.implements.friendsRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.userPostData uses a type in Backend.src.application.repositories.user.implements.friendsRepository.
- The types involved
Backend.src.application.useCases.user.post.userPostData.UserPostData→Backend.src.application.repositories.user.implements.friendsRepository.FriendsRepository
- Direction
- Backend.src.application.useCases.user.post.userPostData uses Backend.src.application.repositories.user.implements.friendsRepository, so a change to Backend.src.application.repositories.user.implements.friendsRepository can break Backend.src.application.useCases.user.post.userPostData, while a change to Backend.src.application.useCases.user.post.userPostData can't break Backend.src.application.repositories.user.implements.friendsRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.userPostData uses a module listed above it, which is the healthy direction.
38→15 Backend.src.application.useCases.user.post.userPostData uses Backend.src.application.repositories.user.implements.postRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.userPostData uses a type in Backend.src.application.repositories.user.implements.postRepository.
- The types involved
Backend.src.application.useCases.user.post.userPostData.UserPostData→Backend.src.application.repositories.user.implements.postRepository.PostRepository
- Direction
- Backend.src.application.useCases.user.post.userPostData uses Backend.src.application.repositories.user.implements.postRepository, so a change to Backend.src.application.repositories.user.implements.postRepository can break Backend.src.application.useCases.user.post.userPostData, while a change to Backend.src.application.useCases.user.post.userPostData can't break Backend.src.application.repositories.user.implements.postRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.userPostData uses a module listed above it, which is the healthy direction.
38→23 Backend.src.application.useCases.user.post.userPostData uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.post.userPostData uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.post.userPostData.UserPostData→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.post.userPostData uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.post.userPostData, while a change to Backend.src.application.useCases.user.post.userPostData can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.post.userPostData uses a module listed above it, which is the healthy direction.
39→1 Backend.src.application.useCases.user.user.updateUserData uses Backend.src.application.providers.awsS3Storage✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.user.updateUserData uses a type in Backend.src.application.providers.awsS3Storage.
- The types involved
Backend.src.application.useCases.user.user.updateUserData.UpdateUserData→Backend.src.application.providers.awsS3Storage.AwsS3Storage
- Direction
- Backend.src.application.useCases.user.user.updateUserData uses Backend.src.application.providers.awsS3Storage, so a change to Backend.src.application.providers.awsS3Storage can break Backend.src.application.useCases.user.user.updateUserData, while a change to Backend.src.application.useCases.user.user.updateUserData can't break Backend.src.application.providers.awsS3Storage.
- Position
- Below the diagonal: Backend.src.application.useCases.user.user.updateUserData uses a module listed above it, which is the healthy direction.
39→17 Backend.src.application.useCases.user.user.updateUserData uses Backend.src.application.repositories.user.implements.userMoreDataRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.user.updateUserData uses a type in Backend.src.application.repositories.user.implements.userMoreDataRepository.
- The types involved
Backend.src.application.useCases.user.user.updateUserData.UpdateUserData→Backend.src.application.repositories.user.implements.userMoreDataRepository.UserMoreDataRepository
- Direction
- Backend.src.application.useCases.user.user.updateUserData uses Backend.src.application.repositories.user.implements.userMoreDataRepository, so a change to Backend.src.application.repositories.user.implements.userMoreDataRepository can break Backend.src.application.useCases.user.user.updateUserData, while a change to Backend.src.application.useCases.user.user.updateUserData can't break Backend.src.application.repositories.user.implements.userMoreDataRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.user.updateUserData uses a module listed above it, which is the healthy direction.
39→20 Backend.src.application.useCases.user.user.updateUserData uses Backend.src.infrastructure.database.models.userModel✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.user.updateUserData uses a type in Backend.src.infrastructure.database.models.userModel.
- The types involved
Backend.src.application.useCases.user.user.updateUserData.UpdateUserData→Backend.src.infrastructure.database.models.userModel.IUser
- Direction
- Backend.src.application.useCases.user.user.updateUserData uses Backend.src.infrastructure.database.models.userModel, so a change to Backend.src.infrastructure.database.models.userModel can break Backend.src.application.useCases.user.user.updateUserData, while a change to Backend.src.application.useCases.user.user.updateUserData can't break Backend.src.infrastructure.database.models.userModel.
- Position
- Below the diagonal: Backend.src.application.useCases.user.user.updateUserData uses a module listed above it, which is the healthy direction.
39→23 Backend.src.application.useCases.user.user.updateUserData uses Backend.src.application.repositories.user.implements.userRepository✕
- Connections
- 1 pair of types, where a type in Backend.src.application.useCases.user.user.updateUserData uses a type in Backend.src.application.repositories.user.implements.userRepository.
- The types involved
Backend.src.application.useCases.user.user.updateUserData.UpdateUserData→Backend.src.application.repositories.user.implements.userRepository.UserRepository
- Direction
- Backend.src.application.useCases.user.user.updateUserData uses Backend.src.application.repositories.user.implements.userRepository, so a change to Backend.src.application.repositories.user.implements.userRepository can break Backend.src.application.useCases.user.user.updateUserData, while a change to Backend.src.application.useCases.user.user.updateUserData can't break Backend.src.application.repositories.user.implements.userRepository.
- Position
- Below the diagonal: Backend.src.application.useCases.user.user.updateUserData uses a module listed above it, which is the healthy direction.
40→21 Frontend.src.types.profile.profile uses Backend.src.application.interface.post✕
- Connections
- 1 pair of types, where a type in Frontend.src.types.profile.profile uses a type in Backend.src.application.interface.post.
- The types involved
Frontend.src.types.profile.profile.PostData→Backend.src.application.interface.post.CustomFilter
- Direction
- Frontend.src.types.profile.profile uses Backend.src.application.interface.post, so a change to Backend.src.application.interface.post can break Frontend.src.types.profile.profile, while a change to Frontend.src.types.profile.profile can't break Backend.src.application.interface.post.
- Position
- Below the diagonal: Frontend.src.types.profile.profile uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 74 | High / Critical |
| A05:2025 — Injection | 18 | Medium |
Roadmap
First, establish a CI workflow that builds and runs tests on every push or pull request to ensure immediate feedback. Next, address the lack of automated testing by resolving the single code coverage gap and adding missing tests to improve distribution. Finally, clean up dependencies by removing nine deprecated packages and updating eight outdated npm packages, starting with package.json.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No automated tests finding(s) in Code Coverage. | +14.1 pts | Low | Code Coverage |
| Resolve the 1 No tests found finding(s) in Test Distribution. | +14.1 pts | Low | Test Distribution |
| Resolve the 9 Deprecated finding(s) in Dependency Hygiene — start with package.json (9). | +11.4 pts | Low | Dependency Hygiene |
| Resolve the 8 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (8). | +10.7 pts | Low | Dependency Hygiene |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +2.6 pts | Medium | CI/CD gates |
| Adopt pino (or winston) and log at meaningful points in the services you run. | +2.6 pts | Medium | Observability |
| Run what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing. | +2.6 pts | Medium | Security & performance tooling |
| Add tests that import the unreached modules (directly or through their public entry). | +2.6 pts | Medium | Test Coverage |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| Frontend/src/components/chats/ChatDetials.tsx | 5.9 | Mixed | Cyclomatic Complexity: ChatDetials.ChatDetials (cyclomatic 61) |
| Frontend/package.json | 6.1 | Mixed | Dependency Hygiene: Deprecated: @fortawesome/react-fontawesome |
| REDACTED | 6.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| Backend/package.json | 6.9 | Mixed | Dependency Hygiene: Deprecated: uuid |
| Frontend/src/components/common/PostViewModal/PostModal.tsx | 7.1 | Mixed | Cyclomatic Complexity: PostModal.PostModal (cyclomatic 165) |
| Frontend/src/components/calls/VideoAudioCall.tsx | 7.4 | Mixed | Cyclomatic Complexity: VideoAudioCall.VideoAudioCall (cyclomatic 68) |
| Frontend/src/components/chats/ChatInbox.tsx | 7.4 | Mixed | Cyclomatic Complexity: ChatInbox.ChatsInbox (cyclomatic 66) |
| Frontend/src/components/home/Posts.tsx | 7.4 | Mixed | Cyclomatic Complexity: Posts.Posts (cyclomatic 63) |
| Frontend/src/components/common/FollowDetialsModal.tsx | 7.4 | Mixed | Cyclomatic Complexity: FollowDetialsModal.FollowDetialsModal (cyclomatic 62) |
| Frontend/src/components/reel/ReelsDetials.tsx | 7.4 | Mixed | Cyclomatic Complexity: ReelsDetials.ReelsDetials (cyclomatic 56) |
| Frontend/src/components/notification/NotificationDetials.tsx | 7.4 | Mixed | Cyclomatic Complexity: NotificationDetials.NotificationDetials (cyclomatic 47) |
| Frontend/src/components/create-post/CreatePostBody.tsx | 7.4 | Mixed | Cyclomatic Complexity: CreatePostBody.CreatePostBody (cyclomatic 45) |
| Frontend/src/components/admin/post/PostDetialsTable.tsx | 7.4 | Mixed | Cyclomatic Complexity: PostDetialsTable.PostDetialsTable (cyclomatic 38) |
| Frontend/src/components/search/SearchDetials.tsx | 7.4 | Mixed | Cyclomatic Complexity: SearchDetials.SearchDetials (cyclomatic 38) |
| Frontend/src/components/user-profiles/UserProfileDetials.tsx | 7.4 | Mixed | Cyclomatic Complexity: UserProfileDetials.UserProfileDetials (cyclomatic 37) |
| Frontend/src/components/admin/music/MusicDetialsTable.tsx | 7.4 | Mixed | Cyclomatic Complexity: MusicDetialsTable.MusicDetialsTable (cyclomatic 36) |
| Frontend/src/components/create-post/ChangePost.tsx | 7.4 | Mixed | Cyclomatic Complexity: ChangePost.ChangePost (cyclomatic 34) |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 78 of 82 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 82 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 535 of 608 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 288 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: it declares a published package (Backend/package.json), but no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published package.json's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check's reader does not cover the language this repository's product is written in, so it had nothing of the product to read. That is a gap in this analyzer's language reach — not a finding about this repository.
- D44 Platform End-of-Life — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a Dockerfile) is simply not read here yet.
- AC2 Forms & labels — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 63 further occurrence(s) are not listed individually; the score already reflects all 103.
- AC4 Keyboard semantics — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 97 further occurrence(s) are not listed individually; the score already reflects all 137.
- AC6 Visual & motion safety — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 22 further occurrence(s) are not listed individually; the score already reflects all 62.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DevServer (dev). the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Arm two tells a construction that PRODUCES a measurement from one that merely passes it along, and this repository's frontend does not compute that fact. A measurement built independently in two places would not appear above.
- R10 Code Duplication — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 196 further occurrence(s) are not listed individually; the score already reflects all 236.
- R11 Import Boundaries — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 105 further occurrence(s) are not listed individually; the score already reflects all 145.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP make no call through a named logger, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- C4 Data Retention: This control is scored from in-repo evidence only — its real-world effectiveness, exercised only at runtime, is outside a static scan.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
40 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was PostModal.PostModal at 165.
What to do
- Bring the 1 body over 120 down to 120 or less in Cyclomatic Complexity — start with PostModal.PostModal (cyclomatic 165). — Refactoring it lifts Cyclomatic Complexity from 2.0 to about 2.6/10.
- Stand up a CI pipeline, then gate Cyclomatic Complexity in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
47 method(s) exceeded the cognitive complexity threshold of 15; the worst was ChatInbox.ChatsInbox at 116.
What to do
- Bring the 5 bodies over 60 down to 60 or less in Cognitive Complexity — start with ChatInbox.ChatsInbox (cognitive 116), VideoAudioCall.VideoAudioCall (cognitive 95), Posts.Posts (cognitive 92). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 5 together lifts Cognitive Complexity from 2.0 to about 3.8/10, projected with the scoring formula itself and assuming each lands exactly at 60; a cleaner split scores higher.
- Stand up a CI pipeline, then gate Cognitive Complexity in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
47 god class(es) detected.
What to do
- Resolve the 45 FunctionTooLong finding(s) in God Classes — start with Sidebar.tsx (2), SignInForm.tsx (2), PostModal.tsx. — One of this dimension's main actionable groups (45 warning-level).
- Resolve the 1 ClassTooLong finding(s) in God Classes — start with PostModal.tsx. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 FileTooLong finding(s) in God Classes — start with PostModal.tsx. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate God Classes in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D5 · Coupling
2 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence.
D6 · Cohesion (LCOM4)
0 of 3 classes have LCOM4 above 3.
D8 · Code Coverage
No automated tests — no test code was found in this repository.
What to do
- Resolve the 1 No automated tests finding(s) in Code Coverage. — One of this dimension's main actionable groups (1 issue-level).
- Stand up a CI pipeline, then gate Code Coverage in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
No test suite found.
What to do
- Resolve the 1 No tests found finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
D12 · Dependency Hygiene
61 outdated direct production npm dependency(ies) of 68 graded, 0 pinning defect(s), across 2 package.json (2 of them the product) and 2 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 8 direct dependency(ies) — production, development or optional — are marked DEPRECATED by their publisher (the registry's per-version mark, or the lockfile's copy of it when the registry could not be asked); deprecated transitive packages are listed but not charged. Whether any is UNMAINTAINED is not graded — the registry publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
What to do
- Resolve the 9 Deprecated finding(s) in Dependency Hygiene — start with package.json (9). — One of this dimension's main actionable groups (9 warning-level).
- Resolve the 8 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (8). — One of this dimension's main actionable groups (8 recommendation-level).
- Stand up a CI pipeline, then gate Dependency Hygiene in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 68 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 68 production dependency(ies) this repository's committed lockfile resolves, across 2 product package.json manifest(s). Its 39 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. This repository publishes itself under ISC, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 27770 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The root README is clear and complete for a project: it states what Instant is ('a dynamic social media platform'), lists features with bolded headings (user profiles/verification, post management, live chat/calls, notifications, friend suggestions, story management, admin panel), shows the tech stack, and gives installation steps. The Frontend README is an internal directory README and does not qualify as repository-level documentation.
What to do
- Improve Documentation Quality — currently 8.0/10. — The root README is clear and complete for a project: it states what Instant is ('a dynamic social media platform'), lists features with bolded headings (user profiles/verification, post management, live chat/calls, notifications, friend suggestions, story management, admin panel), shows the tech stack, and gives installation steps. The Frontend README is an internal directory README and does not qualify as repository-level documentation.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
2 of 2 build units (npm) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
18 finding(s): 0 critical, 0 high, 18 medium, 0 low.
What to do
- Resolve the 11 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (9), REDACTED, REDACTED. — One of this dimension's main actionable groups (11 warning-level).
- Resolve the 7 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (7 warning-level).
D30 · Dependency Vulnerabilities
74 finding(s): 10 critical, 33 high, 23 medium, 8 low.
What to do
- Resolve the 33 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (33). — One of this dimension's main actionable groups (33 issue-level).
- Resolve the 21 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (21). — One of this dimension's main actionable groups (21 warning-level).
- Resolve the 10 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (10). — One of this dimension's main actionable groups (10 issue-level).
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 111 of the 435 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
Strongest change-coupling: ChatDetials.tsx↔ChatInbox.tsx 73%; SignInForm.tsx↔SignUpForm.tsx 70%; App.tsx↔SignInForm.tsx 60%
What to do
- Resolve the 1 Change coupling finding(s) in Change Coupling — start with ChatDetials.tsx. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Change coupling clique finding(s) in Change Coupling — start with App.tsx. — One of this dimension's main actionable groups (1 warning-level).
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AC1 · Text alternatives
- Video with no captions <track> offers no captions. This player's source is set at runtime, so there is no caption file to author here: give the player a way to carry captions — accept a track/captions URL alongside the media and render a <track kind="captions"> when one is supplied — and capture that asset wherever the media enters the product (upload, import or generation). (×14) — Frontend/src/components/admin/post/PostDetialsTable.tsx:157, Frontend/src/components/admin/post/PostDetialsTable.tsx:243, Frontend/src/components/chats/ChatDetials.tsx:359, …
- An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative. (×4) — Frontend/src/components/common/FollowDetialsModal.tsx:144, Frontend/src/components/common/FriendSuggetion.tsx:90, Frontend/src/components/notification/NotificationDetials.tsx:175, …
What to do
- Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video.
AC2 · Forms & labels
- This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label htmlFor>, a wrapping <label>, or aria-label. (×16) — Frontend/src/components/admin/authentication/SignInForm.tsx:74, Frontend/src/components/admin/authentication/SignInForm.tsx:82, Frontend/src/components/admin/music/MusicDetialsTable.tsx:242, …
- This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed. (×2) — Frontend/src/components/admin/music/AddMusicForm.tsx:341, Frontend/src/components/admin/music/MusicDetialsTable.tsx:343
- A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one). (×5) — Frontend/src/components/admin/music/MusicDetialsTable.tsx:250, Frontend/src/components/admin/post/PostDetialsTable.tsx:183, Frontend/src/components/admin/profile/AdminProfileDetials.tsx:145, …
- This UI-library field component is named only by a placeholder — a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed. (×4) — Frontend/src/components/admin/music/MusicDetialsTable.tsx:258, Frontend/src/components/admin/post/PostDetialsTable.tsx:191, Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:111, …
- This <video> carries a click handler, which makes it a control, but it has no text, aria-label or labelled child (the icon-only case), so assistive tech has no name to announce for it. Note that switching it to <button type="button"> — the right fix for its keyboard operability — does not give it a name either: an icon-only button still needs one. Add visible text or an aria-label. — Frontend/src/components/admin/post/PostDetialsTable.tsx:243
- This <label> has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label htmlFor="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id. (×5) — Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:82, Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:111, Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:140, …
- This control has no associated label. Add a <label htmlFor> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. (×7) — Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:86, Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:115, Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:144, …
What to do
- Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
AC3 · Page structure
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="root">, so there is no content here to wrap — render the <main> from the component mounted into it. — Frontend/index.html:2
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics
- A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler. (×37) — Frontend/src/components/admin/authentication/SignInForm.tsx:89, Frontend/src/components/admin/common/Sidebar.tsx:74, Frontend/src/components/admin/common/Sidebar.tsx:137, …
- A click handler on a plain element with no role and no tabindex: even where another element's key handler can reach it, assistive tech can neither focus it nor announce what it is. Use a <button>, or add role + tabIndex={0}. (×3) — Frontend/src/components/chats/ChatDetials.tsx:347, Frontend/src/components/chats/ChatDetials.tsx:427, Frontend/src/components/chats/ChatDetials.tsx:430
What to do
- Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC5 · ARIA correctness
AC6 · Visual & motion safety
- <input> takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2). (×27) — Frontend/src/components/admin/authentication/SignInForm.tsx:74, Frontend/src/components/admin/authentication/SignInForm.tsx:82, Frontend/src/components/admin/music/AddMusicForm.tsx:302, …
- <button> takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2). (×8) — Frontend/src/components/admin/music/MusicDetialsTable.tsx:250, Frontend/src/components/admin/post/PostDetialsTable.tsx:183, Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:103, …
- <select> takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2). (×2) — Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx:91, Frontend/src/components/admin/subscription/SubscriptionActions.tsx:126
- <div> moves — its `animate-spin` utility runs with no motion-safe:/motion-reduce: variant — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:. (×2) — Frontend/src/components/calls/VideoAudioCall.tsx:347, Frontend/src/components/calls/VideoAudioCall.tsx:418
- <div> moves — its inline style sets `transition: width 100ms linear` — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:. — Frontend/src/components/chats/AudioRecoding.tsx:143
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement
- No accessibility enforcement found — no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 132 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y, then assert with your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) in tests, then gate axe/pa11y/Lighthouse in CI.
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX6 · Interface segregation
- `IPostRepository` declares 23 required operations: `createPost`, `getAllPostCount`, `findUserPostData`, `findUserTaggedPosts`, `findLikedPostData`, `handleLikes`, `updateCommentCount`, `findPostById`, `findPostByIdWithUserData`, `findPostByIdWithUserData1`, `deletePost`, `getUserPostCount`, `updatePost`, `reportPost`, `archiveToggle`, `findUserArchivedPost`, `findUserReelsPost`, `findReelById`, `findPostsOfFriendAndNonWatched`, `findPostsOfNonFriendAndNonWatched`, `findPostOfWatched`, `findPostOfFollowedUserWached`, `getPostData`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — Backend/src/application/repositories/user/interfaces/IPostRepository.ts:4
- `IUserRepository` declares 21 required operations: `findById`, `findById1`, `findByEmail`, `findByUsernameAndEmail`, `findByUsername`, `findByUsernameEdit`, `createUser`, `getAllUsers`, `findUsersByUserIds`, `userPasswordChange`, `updateUser`, `getUserData`, `blockAndUnBlockUser`, `find10UserBySearch`, `findUsers`, `findUserDataWithIdInArray`, `changeUserOnlineStatus`, `updateVerification`, `setVerificationStatusFalse`, `findSearchUsers`, `findUsersByIds`. Counted over its REQUIRED operations — a method signature or a function-typed property with no `?`, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don't use (the Interface-Segregation 'I' in SOLID). Split it into focused role-interfaces. — Backend/src/application/repositories/user/interfaces/IUserRepository.ts:5
What to do
- Split fat interfaces into focused role-interfaces so clients depend only on what they use.
AX7 · Slice cohesion
C1 · Data Protection
What to do
- Strengthen data-at-rest protection: vault your keys (AWS KMS / Secrets Manager, Azure Key Vault, GCP KMS / Secret Manager, HashiCorp Vault) and encrypt the most sensitive columns (typeorm-encrypted, prisma-field-encryption, mongoose-field-encryption or MongoDB CSFLE) — partial coverage still leaves gaps.
- Enforce HTTPS (serve through https.createServer / NestJS httpsOptions, or redirect plain HTTP with express-sslify behind your TLS terminator) so data in transit is always encrypted.
C2 · Access Controls
- Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) — this is NOT a claim that endpoints are unprotected. What's missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can't be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect.
What to do
- Name the access rules — roles/permissions declared once (a @Roles/@Permissions decorator with its guard, a CASL ability, a casbin model, or Supabase CREATE POLICY) and consulted where access is checked, so the rule set is reviewable and testable on its own.
C4 · Data Retention
- A retention mechanism is present, but the data-lifecycle is not yet complete — missing: a scheduled purge / cleanup job (a cron task that deletes rows past their retention — purgeExpired… / deleteOld…), a documented retention period / data-expiry.
What to do
- Complete the data-lifecycle story: an expiry limit (a declared maximum age for the stored data — a retention-age setting, or a store-level TTL where your storage offers one), a scheduled purge/cleanup job that enforces it, and a documented retention period covering the personal data.
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- `adminAuthMiddleware` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — Backend/src/infrastructure/middlewares/adminAuthMiddleware.ts:8
- The `if` and its `else` contain the same statements, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body. (×5) — Frontend/src/components/chats/message-type/SharePostMessage.tsx:24, Frontend/src/components/notification/NotificationDetials.tsx:139, Frontend/src/components/post/PostSingle.tsx:42, …
What to do
- Remove the dead code that still moves this score: delete dead if(false) branches and either do the real async work or drop the async keyword from fake-async functions.
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 1 of 2 project(s) that lack one — worth up to 1 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
What to do
- Start a test surface where your build system looks for one (tests/, test/, spec/, or your ecosystem's test source set) — the separation follows from putting the first tests in the right place.
M4 · Documentation accuracy
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P10 · Library API & versioning
P2 · Observability
- No logging call was found in the 431 JavaScript/TypeScript production file(s) this check read across 2 module(s). Each was searched for its ecosystem's logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named `log`/`logger` (or ending in `Logger`/`_logger`) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.
What to do
- Adopt pino (or winston) and log at meaningful points in the services you run.
- Consider OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) and a health-check endpoint (@godaddy/terminus or a /health route) for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Run what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY'S PIPELINE FILES. What was read: every file under `.github/workflows/`, `.forgejo/workflows/`, `.gitea/workflows/`, `.azuredevops/` and `.azure-pipelines/`, plus `.gitlab-ci*` and `azure-pipelines*` — with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab's `when: manual`, CircleCI's `type: approval`, an Azure `ManualValidation@` task or an `approvals:` block, a Jenkins `input` step, a `uses:` step naming an approval action, an `environment:` paired with `reviewers` / `required_reviewers` / `protection` / `wait-timer` / `deployment_branch_policy`, a draft-release step, a `workflow_dispatch` promotion, or a release-event gate. ★ What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy — all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release.
What to do
- Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
PF3 · Async & latency hygiene
R1 · Type Safety
R10 · Code Duplication
- 52 duplicated blocks under Frontend/src/components/ have copies in at least two of the sibling directories admin, authentication, calls, chats, common, create-post (+9 more sibling(s) not listed) — 42 of them are reported below, and 10 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 52 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 52 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 52 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — Frontend/src/components/common/PostViewModal/PostEditModal.tsx:20
- 19 duplicated blocks under Backend/src/infrastructure/controllers/user/ have copies in at least two of the sibling directories authentication, chat, music, post, search, story (+1 more sibling(s) not listed) — 16 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 19 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 19 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 19 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — Backend/src/infrastructure/controllers/user/post/checkingHasUserLikedPostController.ts:9
- 14 duplicated blocks under Frontend/src/components/admin/ have copies in at least two of the sibling directories dashboard, music, post, subscription, users — 13 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 14 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 14 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 14 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — Frontend/src/components/admin/music/MusicDetialsTable.tsx:30
- 10 duplicated blocks under Backend/src/application/useCases/user/ have copies in at least two of the sibling directories authentication, chat, post, search, story, subscription (+1 more sibling(s) not listed) — 3 of them are reported below, and 7 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 10 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 10 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 10 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — Backend/src/application/useCases/user/authentication/resetPassword.ts:6
- 10 duplicated blocks under Backend/src/infrastructure/controllers/ have copies in at least two of the sibling directories admin, user — 9 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 10 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 10 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 10 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — Backend/src/infrastructure/controllers/admin/authentication/refreshTokenAdminController.ts:9
- 9 duplicated blocks under Backend/src/application/repositories/ have copies in at least two of the sibling directories admin, user — 5 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 9 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 9 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 9 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — Backend/src/application/repositories/admin/implements/musicRepository.ts:36
- 8 duplicated blocks under Backend/src/application/useCases/ have copies in at least two of the sibling directories admin, user — 5 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 8 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 8 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 8 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — Backend/src/application/useCases/admin/authentication/handleAdminRefreshToken.ts:5
- 7 duplicated blocks under Backend/src/application/useCases/admin/ have copies in at least two of the sibling directories admin, authentication, music, post, subscription, user — 5 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 7 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 7 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 7 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — Backend/src/application/useCases/admin/admin/editAdmin.ts:6
- Frontend/src/components/common/PostViewModal/PostEditModal.tsx:20 · Frontend/src/components/create-post/CreatePostFormSubmit.tsx:19 — the two spans are one implementation copied and then locally edited — 753 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/common/PostViewModal/PostEditModal.tsx:20
- Frontend/src/components/admin/music/MusicDetialsTable.tsx:30 · Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:20 — the two spans are one implementation copied and then locally edited — 1010 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/admin/music/MusicDetialsTable.tsx:30
- Frontend/src/components/profile/ProfilePostSection.tsx:160 · Frontend/src/components/user-profiles/UserProfilePostSection.tsx:158 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — Frontend/src/components/profile/ProfilePostSection.tsx:160
- Frontend/src/components/admin/common/Sidebar.tsx:44 · Frontend/src/components/common/Sidebar.tsx:94 — the two spans are one implementation copied and then locally edited — 666 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/admin/common/Sidebar.tsx:44
- Frontend/src/components/authentication/SignInForm.tsx:14 · Frontend/src/components/authentication/SignUpForm.tsx:12 — the two spans are one implementation copied and then locally edited — 570 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/authentication/SignInForm.tsx:14
- Frontend/src/components/admin/music/MusicDetialsTable.tsx:103 · Frontend/src/components/create-post/CreatePostMusic.tsx:30 — the two spans are one implementation copied and then locally edited — 517 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/admin/music/MusicDetialsTable.tsx:103
- Frontend/src/components/explore/ExploreDetials.tsx:94 · Frontend/src/components/profile/ProfilePostSection.tsx:160 · Frontend/src/components/user-profiles/UserProfilePostSection.tsx:158 — the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — Frontend/src/components/explore/ExploreDetials.tsx:94
- Frontend/src/components/admin/music/MusicAction.tsx:94 · Frontend/src/components/admin/subscription/SubscriptionActions.tsx:85 — the two spans are one implementation copied and then locally edited — 425 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/admin/music/MusicAction.tsx:94
- Frontend/src/components/admin/music/MusicDetialsTable.tsx:52 · Frontend/src/components/admin/users/UserDetialsTable.tsx:51 — the two spans are one implementation copied and then locally edited — 386 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/admin/music/MusicDetialsTable.tsx:52
- Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx:77 · Frontend/src/components/admin/subscription/SubscriptionActions.tsx:112 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx:77
- Frontend/src/components/common/PostViewModal/PostModal.tsx:1136 · Frontend/src/components/common/PostViewModal/PostModal.tsx:1320 — all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — Frontend/src/components/common/PostViewModal/PostModal.tsx:1136
- Frontend/src/components/authentication/ForgotPasswordForm.tsx:33 · Frontend/src/components/authentication/ResetPasswordForm.tsx:49 — the two spans are one implementation copied and then locally edited — 252 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/authentication/ForgotPasswordForm.tsx:33
- Frontend/src/components/ui/dropdown-menu.tsx:129 · Frontend/src/components/ui/menubar.tsx:160 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — Frontend/src/components/ui/dropdown-menu.tsx:129
- Frontend/src/components/admin/post/PostDetialsTable.tsx:164 · Frontend/src/components/admin/users/UserDetialsTable.tsx:155 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — Frontend/src/components/admin/post/PostDetialsTable.tsx:164
- Frontend/src/components/common/Sidebar.tsx:191 · Frontend/src/components/common/svg/Reel.tsx:11 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — Frontend/src/components/common/Sidebar.tsx:191
- Frontend/src/validations/authValidations.ts:3 · Frontend/src/validations/authValidations.ts:98 — the two spans are one implementation copied and then locally edited — 248 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/validations/authValidations.ts:3
- Frontend/src/components/admin/post/PostDetialsTable.tsx:266 · Frontend/src/components/admin/users/UserDetialsTable.tsx:266 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — Frontend/src/components/admin/post/PostDetialsTable.tsx:266
- Frontend/src/components/admin/music/AddMusicForm.tsx:264 · Frontend/src/components/admin/music/MusicAction.tsx:162 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — Frontend/src/components/admin/music/AddMusicForm.tsx:264
- Frontend/src/components/ui/dropdown-menu.tsx:21 · Frontend/src/components/ui/menubar.tsx:49 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of MODULE-LEVEL DECLARATIONS — bindings the module declares and exports — rather than statements with a call site. Do not read this as an extract-a-helper row: a call expression cannot stand where a declaration was, and putting one there would delete the names themselves, which are what the rest of the codebase imports. What actually repeats here is the INITIALISER — the same expression shape written once per binding. So give that expression one name (a small helper the initialisers call, or a shared base value they are each derived from) and keep every binding under the name it already has. Where the run is an enumeration — one binding per distinct thing, differing precisely in the thing each one names — the repetition IS the enumeration and collapsing it would delete entries; consider instead whether the set belongs in one exported table the individual names are read out of. Reported because the copies drift apart the first time only one of them is edited. — Frontend/src/components/ui/dropdown-menu.tsx:21
- Frontend/src/components/common/PostViewModal/PostReportModal.tsx:39 · Frontend/src/components/common/PostViewModal/PostShareModal.tsx:22 — the two spans are one implementation copied and then locally edited — 162 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/common/PostViewModal/PostReportModal.tsx:39
- Frontend/src/components/profile/ProfileDetials.tsx:39 · Frontend/src/components/user-profiles/UserProfileDetials.tsx:138 — the two spans are one implementation copied and then locally edited — 227 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/profile/ProfileDetials.tsx:39
- Frontend/src/apis/interceptors/adminInterceptors.ts:6 · Frontend/src/apis/interceptors/interceptors.ts:7 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — Frontend/src/apis/interceptors/adminInterceptors.ts:6
- Frontend/src/components/common/FollowDetialsModal.tsx:32 · Frontend/src/components/common/FriendSuggetion.tsx:21 — the two spans are one implementation copied and then locally edited — 229 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Frontend/src/components/common/FollowDetialsModal.tsx:32
- Frontend/src/components/admin/post/PostDetialsTable.tsx:92 · Frontend/src/components/admin/users/UserDetialsTable.tsx:60 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — Frontend/src/components/admin/post/PostDetialsTable.tsx:92
- Frontend/src/components/admin/profile/AdminProfileDetials.tsx:35 · Frontend/src/components/profile/EditProfileForm.tsx:51 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — Frontend/src/components/admin/profile/AdminProfileDetials.tsx:35
- Frontend/src/components/admin/authentication/SignInForm.tsx:59 · Frontend/src/components/authentication/SignInForm.tsx:61 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — Frontend/src/components/admin/authentication/SignInForm.tsx:59
- Frontend/src/components/common/PostViewModal/PostEditModal.tsx:163 · Frontend/src/components/common/PostViewModal/PostEditModal.tsx:200 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — Frontend/src/components/common/PostViewModal/PostEditModal.tsx:163
- Backend/src/infrastructure/database/models/postModel.ts:29 · Backend/src/infrastructure/database/models/storyModal.ts:24 — the 2 copies are spread across 2 files, and what repeats is a LIST OF ENTRIES rather than behaviour — the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator's options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents. — Backend/src/infrastructure/database/models/postModel.ts:29
- Frontend/src/components/common/PostViewModal/PostModal.tsx:338 · Frontend/src/helperFuntions/dateFormat.ts:1 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — Frontend/src/components/common/PostViewModal/PostModal.tsx:338
- Backend/src/application/useCases/user/post/explorePost.ts:6 · Backend/src/application/useCases/user/post/filterReels.ts:7 — the two spans are one implementation copied and then locally edited — 299 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Backend/src/application/useCases/user/post/explorePost.ts:6
- Backend/src/infrastructure/middlewares/adminAuthMiddleware.ts:6 · Backend/src/infrastructure/middlewares/authMiddleware.ts:8 — the two spans are one implementation copied and then locally edited — 237 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — Backend/src/infrastructure/middlewares/adminAuthMiddleware.ts:6
- Frontend/src/components/admin/music/AddMusicForm.tsx:156 · Frontend/src/components/admin/music/MusicAction.tsx:121 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — Frontend/src/components/admin/music/AddMusicForm.tsx:156
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R11 · Import Boundaries
- Backend/src/application/interface/post.ts:2 imports Backend/src/infrastructure/database/models/userModel.ts against the layered-src rules. — Backend/src/application/interface/post.ts:2
- Backend/src/application/providers/awsS3Storage.ts:7 imports Backend/src/infrastructure/configs/aswS3.ts against the layered-src rules. — Backend/src/application/providers/awsS3Storage.ts:7
- Backend/src/application/providers/nodeMailer.ts:7 imports Backend/src/infrastructure/configs/nodeEmailerConfig.ts against the layered-src rules. — Backend/src/application/providers/nodeMailer.ts:7
- Backend/src/application/repositories/admin/implements/adminRepository.ts:1 imports Backend/src/infrastructure/database/models/adminModel.ts against the layered-src rules. — Backend/src/application/repositories/admin/implements/adminRepository.ts:1
- Backend/src/application/repositories/admin/implements/musicRepository.ts:1 imports Backend/src/infrastructure/database/models/musicModal.ts against the layered-src rules. — Backend/src/application/repositories/admin/implements/musicRepository.ts:1
- Backend/src/application/repositories/admin/implements/subscriptionRepository.ts:1 imports Backend/src/infrastructure/database/models/subscription.ts against the layered-src rules. — Backend/src/application/repositories/admin/implements/subscriptionRepository.ts:1
- Backend/src/application/repositories/admin/interfaces/IAdminRepository.ts:1 imports Backend/src/infrastructure/database/models/adminModel.ts against the layered-src rules. — Backend/src/application/repositories/admin/interfaces/IAdminRepository.ts:1
- Backend/src/application/repositories/admin/interfaces/IMusicRepository.ts:1 imports Backend/src/infrastructure/database/models/musicModal.ts against the layered-src rules. — Backend/src/application/repositories/admin/interfaces/IMusicRepository.ts:1
- Backend/src/application/repositories/admin/interfaces/ISubscriptionRepository.ts:1 imports Backend/src/infrastructure/database/models/subscription.ts against the layered-src rules. — Backend/src/application/repositories/admin/interfaces/ISubscriptionRepository.ts:1
- Backend/src/application/repositories/user/implements/chatRepository.ts:2 imports Backend/src/infrastructure/database/models/chatModal.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/chatRepository.ts:2
- Backend/src/application/repositories/user/implements/commentRepository.ts:1 imports Backend/src/infrastructure/database/models/commentModel.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/commentRepository.ts:1
- Backend/src/application/repositories/user/implements/friendsRepository.ts:1 imports Backend/src/infrastructure/database/models/friendsModal.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/friendsRepository.ts:1
- Backend/src/application/repositories/user/implements/likeRepository.ts:1 imports Backend/src/infrastructure/database/models/likeModel.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/likeRepository.ts:1
- Backend/src/application/repositories/user/implements/messageRepository.ts:1 imports Backend/src/infrastructure/database/models/messageModal.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/messageRepository.ts:1
- Backend/src/application/repositories/user/implements/notificationRepository.ts:1 imports Backend/src/infrastructure/database/models/notificationModal.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/notificationRepository.ts:1
- Backend/src/application/repositories/user/implements/otpRepository.ts:1 imports Backend/src/infrastructure/database/models/otpVerificationModel.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/otpRepository.ts:1
- Backend/src/application/repositories/user/implements/paymentRepository.ts:1 imports Backend/src/infrastructure/database/models/paymentModal.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/paymentRepository.ts:1
- Backend/src/application/repositories/user/implements/postRepository.ts:1 imports Backend/src/infrastructure/database/models/postModel.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/postRepository.ts:1
- Backend/src/application/repositories/user/implements/searchHistoryRepository.ts:1 imports Backend/src/infrastructure/database/models/searchHistoryModel.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/searchHistoryRepository.ts:1
- Backend/src/application/repositories/user/implements/storyRepository.ts:1 imports Backend/src/infrastructure/database/models/storyModal.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/storyRepository.ts:1
- Backend/src/application/repositories/user/implements/userMoreDataRepository.ts:1 imports Backend/src/infrastructure/database/models/userMoreDataModal.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/userMoreDataRepository.ts:1
- Backend/src/application/repositories/user/implements/userRepository.ts:2 imports Backend/src/infrastructure/database/models/userModel.ts against the layered-src rules. — Backend/src/application/repositories/user/implements/userRepository.ts:2
- Backend/src/application/repositories/user/interfaces/IChatRepository.ts:2 imports Backend/src/infrastructure/database/models/chatModal.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/IChatRepository.ts:2
- Backend/src/application/repositories/user/interfaces/ICommentRepository.ts:1 imports Backend/src/infrastructure/database/models/commentModel.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/ICommentRepository.ts:1
- Backend/src/application/repositories/user/interfaces/IFriendsRepository.ts:1 imports Backend/src/infrastructure/database/models/friendsModal.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/IFriendsRepository.ts:1
- Backend/src/application/repositories/user/interfaces/IMessageRepository.ts:1 imports Backend/src/infrastructure/database/models/messageModal.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/IMessageRepository.ts:1
- Backend/src/application/repositories/user/interfaces/INotificationRepository.ts:1 imports Backend/src/infrastructure/database/models/notificationModal.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/INotificationRepository.ts:1
- Backend/src/application/repositories/user/interfaces/IOtpRepository.ts:1 imports Backend/src/infrastructure/database/models/otpVerificationModel.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/IOtpRepository.ts:1
- Backend/src/application/repositories/user/interfaces/IPaymentRepository.ts:1 imports Backend/src/infrastructure/database/models/paymentModal.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/IPaymentRepository.ts:1
- Backend/src/application/repositories/user/interfaces/IPostRepository.ts:1 imports Backend/src/infrastructure/database/models/postModel.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/IPostRepository.ts:1
- Backend/src/application/repositories/user/interfaces/ISearchHistoryRepository.ts:1 imports Backend/src/infrastructure/database/models/searchHistoryModel.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/ISearchHistoryRepository.ts:1
- Backend/src/application/repositories/user/interfaces/IStoryRepository.ts:1 imports Backend/src/infrastructure/database/models/storyModal.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/IStoryRepository.ts:1
- Backend/src/application/repositories/user/interfaces/IUserMoreDataRepository.ts:1 imports Backend/src/infrastructure/database/models/userMoreDataModal.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/IUserMoreDataRepository.ts:1
- Backend/src/application/repositories/user/interfaces/IUserRepository.ts:2 imports Backend/src/infrastructure/database/models/userModel.ts against the layered-src rules. — Backend/src/application/repositories/user/interfaces/IUserRepository.ts:2
- Backend/src/application/useCases/admin/admin/editAdmin.ts:1 imports Backend/src/infrastructure/constants/messages.ts against the layered-src rules. — Backend/src/application/useCases/admin/admin/editAdmin.ts:1
- Backend/src/application/useCases/admin/admin/editAdmin.ts:2 imports Backend/src/infrastructure/database/models/adminModel.ts against the layered-src rules. — Backend/src/application/useCases/admin/admin/editAdmin.ts:2
- Backend/src/application/useCases/admin/admin/editAdminPassword.ts:1 imports Backend/src/infrastructure/constants/messages.ts against the layered-src rules. — Backend/src/application/useCases/admin/admin/editAdminPassword.ts:1
- Backend/src/application/useCases/admin/admin/getAdminData.ts:1 imports Backend/src/infrastructure/constants/messages.ts against the layered-src rules. — Backend/src/application/useCases/admin/admin/getAdminData.ts:1
- Backend/src/application/useCases/admin/admin/getAdminData.ts:2 imports Backend/src/infrastructure/database/models/adminModel.ts against the layered-src rules. — Backend/src/application/useCases/admin/admin/getAdminData.ts:2
- Backend/src/application/useCases/admin/authentication/authenticateAdmin.ts:1 imports Backend/src/infrastructure/constants/messages.ts against the layered-src rules. — Backend/src/application/useCases/admin/authentication/authenticateAdmin.ts:1
What to do
- Fix the listed violations: respect the layer/slice order — import only through a slice's public index and never upward into a higher layer (144 rows); import through the target package's declared public entry rather than a deep path into its internals or a relative path into its directory (1 row).
R2 · Cyclomatic Complexity
- CreatePostBody has cyclomatic complexity 37 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/create-post/CreatePostBody.tsx:20
- PostModal has cyclomatic complexity 36 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/common/PostViewModal/PostModal.tsx:56
- createRoutes has cyclomatic complexity 34 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/routes/createRoutes.tsx:35
- VideoAudioCall has cyclomatic complexity 32 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/calls/VideoAudioCall.tsx:15
- (anonymous) has cyclomatic complexity 28 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/admin/post/PostDetialsTable.tsx:48
- CreatePostFilters has cyclomatic complexity 27 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/create-post/CreatePostFilters.tsx:16
- ChatsInbox has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/chats/ChatInbox.tsx:26
- (anonymous) has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/chats/ChatInbox.tsx:436
- handleInputChange has cyclomatic complexity 21 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/create-post/SelectAspectRatio.tsx:95
- (anonymous) has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/common/FollowDetialsModal.tsx:135
- Sidebar has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/common/Sidebar.tsx:56
- ProfilePostSection has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/profile/ProfilePostSection.tsx:26
- (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/home/Posts.tsx:274
- execute has cyclomatic complexity 17 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Backend/src/application/useCases/user/chat/sendMessage.ts:18
- TagUser has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/create-post/TagUser.tsx:26
- ChatDetials has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/chats/ChatDetials.tsx:26
- CreatePostFormSubmit has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/create-post/CreatePostFormSubmit.tsx:13
- UserProfileDetials has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/user-profiles/UserProfileDetials.tsx:19
- (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/common/PostViewModal/PostModal.tsx:1032
- timeSince has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — Frontend/src/components/common/PostViewModal/PostModal.tsx:338
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- Frontend/src/components/common/PostViewModal/PostModal.tsx has 1557 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — Frontend/src/components/common/PostViewModal/PostModal.tsx:1
- Frontend/src/components/chats/ChatInbox.tsx has 498 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — Frontend/src/components/chats/ChatInbox.tsx:1
- Frontend/src/components/calls/VideoAudioCall.tsx has 442 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — Frontend/src/components/calls/VideoAudioCall.tsx:1
- Frontend/src/components/common/Sidebar.tsx has 422 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — Frontend/src/components/common/Sidebar.tsx:1
- Frontend/src/components/home/Posts.tsx has 413 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — Frontend/src/components/home/Posts.tsx:1
- Frontend/src/components/chats/ChatDetials.tsx has 408 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — Frontend/src/components/chats/ChatDetials.tsx:1
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R4 · Test Coverage
- 0% of 396 production file(s) reachable from 0 test file(s) via the import graph — 'production' here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace's file count
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
- 50 outdated package(s); JS/npm CVEs scored in D30
What to do
- Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling
- test ✗ · lint ✓ · typecheck ✓ — read from this repository's package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: `test` for the suite, `lint` or `prettier` for linting, `typecheck`/`type-check`/`tsc` for type checking. ✗ therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline — a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A ✓ means the wiring is DECLARED — a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite.
What to do
- Add a test runner (vitest / jest / playwright) as package.json scripts and run them in CI.
R7 · Dead Code
- Unreachable from the 5 application, 7 tooling and 0 test entry point(s) detected in this repo. Gate removals on `npm run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (5 application, 7 tooling, 0 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×5) — Frontend/src/components/ui/mode-toggle.tsx, Frontend/src/helperFuntions/convertBlobUrlToBase64.ts, Frontend/src/components/ui/slider.tsx, …
- Nothing imports this binding — it is safe to review for removal. (×5) — Frontend/src/context/SocketContext.ts:6, Frontend/src/redux/store/store.ts:37, Frontend/src/redux/store/store.ts:40, …
- This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state — read it where it was meant to take effect, or remove the field and its assignments. (×2) — Backend/src/application/useCases/user/story/createStory.ts:13, Backend/src/application/useCases/user/user/removeUser.ts:12
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Declared in Frontend/package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×2)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
- Backend/src/application/useCases/user/chat/sendMessage.ts → Backend/src/infrastructure/service/socketService.ts → Backend/src/application/useCases/user/chat/sendMessage.ts (one verified cycle inside a mutually-dependent group of 3 files) — Backend/src/application/useCases/user/chat/sendMessage.ts:3
- Frontend/src/apis/apiClient.ts → Frontend/src/apis/interceptors/adminInterceptors.ts → Frontend/src/apis/apiClient.ts (one verified cycle inside a mutually-dependent group of 3 files) — Frontend/src/apis/apiClient.ts:7
What to do
- Break each cycle by extracting the shared piece into a module both sides can import.
S1 · Web-Security Posture
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. This is reported because `vercel.json` configures this repository's static hosting, including its response headers, so the configuration that would carry these headers is in this repository and was read in full. (−2.0 on this card.) — Frontend/vercel.json:1
- `server.listen(…)` serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (`https.createServer`, Fastify `https`, Nest `httpsOptions`), no redirect of plain requests to `https://`, no `Strict-Transport-Security` (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it — so a browser may talk to it in clear text. (−2.0 on this card.) — Backend/src/presentation/settings/server.ts:73
What to do
- Set security response headers on the surface this repository serves: an `add_header` directive per header in the nginx/Caddy/Apache config, a `_headers` / `vercel.json` / `netlify.toml` entry for a static host, or `helmet()` in the HTTP server. `Content-Security-Policy` is the one that pays for itself first — it is what contains an injected script once one reaches the page — followed by `X-Content-Type-Options: nosniff` and a frame policy (`X-Frame-Options: DENY`, or CSP `frame-ancestors`). Where the app is served from a build container, the header configuration belongs in the image beside the built assets, so it ships with them rather than depending on where it lands.
- Enforce HTTPS on each listed server: serve TLS itself, or redirect plain requests to `https://` and send `Strict-Transport-Security` (`helmet()` does by default) behind the TLS-terminating proxy — and commit that proxy's configuration beside the service. A server only this machine reaches should bind `127.0.0.1`.
X1 · Async correctness
- `forEach` ignores what its callback returns, so the Promise each `async` call returns is dropped: nothing can await it, the code after this loop runs before any of the awaited work has finished (a function that `await`s around this loop still returns early), and a rejection is never handled — in Node.js an unhandled rejection terminates the process by default, and in a browser it is lost. Iterate with `for (const item of items) { await … }` when the work must run in order, or `await Promise.all(items.map(async (item) => { … }))` when it may run concurrently, so the enclosing function finishes only when the work does and its failures reach the caller. Where firing and forgetting is genuinely intended, make the callback's whole body a `try { … } catch (e) { … }` that handles the failure, so it cannot escape. (×8) — Backend/src/application/useCases/user/chat/sendShareMessaege.ts:29, Backend/src/application/useCases/user/post/replyComment.ts:47, Backend/src/application/useCases/user/post/deletePost.ts:45, …
What to do
- `async` callback passed to `forEach`
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 0/1 async functions that make a cancellable request (fetch, axios, ky, ofetch) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up — a page navigated away from, an unmounted component, a timed-out job. Take a `signal` (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice — judge against how the function is used.
- `convertBlobUrlToBase64` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — Frontend/src/helperFuntions/convertBlobUrlToBase64.ts:1
What to do
- Thread an AbortSignal through async functions that make requests, so the work stops when its caller gives up.
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
- `(userData?.bio??"").replace(/\n/g,"<br />")` is text this program did not author, and it is written into the text of an element through `dangerouslySetInnerHTML` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. (×2) — Frontend/src/components/profile/ProfileDetials.tsx:88, Frontend/src/components/user-profiles/UserProfileDetials.tsx:215
What to do
- Each finding names the expression, the attribute it lands in and the line. Confirm the value's origin from the read this analyzer traced, then escape it at the sink or validate it against the shape the attribute accepts before interpolating.
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- ~1.6 `!` null assertions per 1k TypeScript source lines — 50 assertion(s) across the 30839 source line(s) of the 430 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: Backend/src/presentation/settings/server.ts (17), Backend/src/application/providers/tokenManager.ts (6), Backend/src/infrastructure/configs/aswS3.ts (4). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC1 · Text alternatives | 1.1.1, 1.2.2, 1.2.5 | Partial signal |
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC4 · Keyboard semantics | 2.1.1, 2.4.3 | Partial signal |
| AC5 · ARIA correctness | 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 56% | Adequate — gated by D1, D2, D3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 57% | Adequate — gated by D26, R11 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 53% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 14% | Critical — gated by D8, D9, R4, P1, P2, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 45% | Weak — gated by D29, D30, C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 37% | Weak — gated by AC4, AC6 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Unscored — 1 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 10 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (an audit-log table or model, an ORM write hook that records changes — a TypeORM/MikroORM subscriber, a Sequelize or Mongoose hook, Prisma middleware — or a change-history plugin such as mongoose-history or sequelize-paper-trail) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 53 check(s) not relevant to this codebase
- AX1 Captive dependencies — Not applicable: this repository's TypeScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX4 Dependency direction — not applicable to a vertical-slice architecture (the inward-dependency rule is for layered/clean styles)
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- D10 Test Quality — No tests were found in the analyzed repository to assess for quality.
- D11 Test Reliability — No test suite was found to re-run, so reliability couldn't be assessed. Two searches produced that zero and both came back empty: the classifier that reads the loaded workspace recognised no suite it could run, and a walk of the source on disk — which covers the JS/TS `*.test.*` and `*.spec.*` conventions and probes for a Pester suite — found no test source in any other ecosystem either. Neither search reaches a suite that is missing from the loaded workspace and carries no name either walk recognises, so this is 'no suite found by those two searches', not a verdict that the repository has none.
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 reads resolved call sites in the languages it reads only — this repository's production source is .tsx, which was left unread. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts, .tsx) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- DM1 Aggregate boundaries — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM10 One transaction, one aggregate — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM2 Strongly-typed ids — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM3 Integration-event coupling — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM4 Rich vs anemic model — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM5 Encapsulated state — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM6 Domain ↔ infrastructure boundary — this TypeScript/JavaScript repository maps no type to a persistence framework (TypeORM/Prisma/MikroORM/Sequelize/Mongoose), so DM6's domain↔infrastructure fusion read has no population to be taken over
- DM7 Repository granularity — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — no CI workflow found
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HTTP client call or construction in the JavaScript/TypeScript source (service entry point: Backend/src/presentation/settings/server.ts:25 (express()))
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 124 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <input> without a programmatic label Frontend/src/components/admin/authentication/SignInForm.tsx:74
- <input> without a programmatic label Frontend/src/components/admin/authentication/SignInForm.tsx:82
- <input> without a programmatic label Frontend/src/components/admin/music/MusicDetialsTable.tsx:242
- <input> without a programmatic label Frontend/src/components/admin/post/PostDetialsTable.tsx:175
- <input> without a programmatic label Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:86
- <input> without a programmatic label Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:115
- <input> without a programmatic label Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:144
- <input> without a programmatic label Frontend/src/components/admin/profile/AdminProfileDetials.tsx:195
- <input> without a programmatic label Frontend/src/components/admin/profile/AdminProfileDetials.tsx:211
- <input> without a programmatic label Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx:105
- <input> without a programmatic label Frontend/src/components/admin/subscription/SubscriptionActions.tsx:140
- <input> without a programmatic label Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:95
- <input> without a programmatic label Frontend/src/components/admin/users/UserDetialsTable.tsx:166
- <input> without a programmatic label Frontend/src/components/authentication/ForgotPasswordForm.tsx:66
- <input> without a programmatic label Frontend/src/components/authentication/OtpForm.tsx:125
- <input> without a programmatic label Frontend/src/components/authentication/ResetPasswordForm.tsx:77
- <input> without a programmatic label Frontend/src/components/authentication/ResetPasswordForm.tsx:100
- <input> without a programmatic label Frontend/src/components/authentication/SignInForm.tsx:76
- <input> without a programmatic label Frontend/src/components/authentication/SignInForm.tsx:84
- <input> without a programmatic label Frontend/src/components/authentication/SignUpForm.tsx:79
- <input> without a programmatic label Frontend/src/components/authentication/SignUpForm.tsx:86
- Click handler on a non-interactive <th> Frontend/src/components/admin/music/MusicDetialsTable.tsx:290
- Click handler on a non-interactive <th> Frontend/src/components/admin/music/MusicDetialsTable.tsx:292
- Click handler on a non-interactive <th> Frontend/src/components/admin/post/PostDetialsTable.tsx:222
- Click handler on a non-interactive <th> Frontend/src/components/admin/post/PostDetialsTable.tsx:223
- Click handler on a non-interactive <th> Frontend/src/components/admin/post/PostDetialsTable.tsx:224
- Click handler on a non-interactive <th> Frontend/src/components/admin/post/PostDetialsTable.tsx:225
- Click handler on a non-interactive <th> Frontend/src/components/admin/post/PostDetialsTable.tsx:226
- Click handler on a non-interactive <th> Frontend/src/components/admin/post/PostDetialsTable.tsx:227
- Click handler on a non-interactive <th> Frontend/src/components/admin/post/PostDetialsTable.tsx:228
- Click handler on a non-interactive <th> Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:142
- Click handler on a non-interactive <th> Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:145
- Click handler on a non-interactive <th> Frontend/src/components/admin/users/UserDetialsTable.tsx:213
- Click handler on a non-interactive <th> Frontend/src/components/admin/users/UserDetialsTable.tsx:214
- Click handler on a non-interactive <th> Frontend/src/components/admin/users/UserDetialsTable.tsx:215
- Click handler on a non-interactive <th> Frontend/src/components/admin/users/UserDetialsTable.tsx:217
- Click handler on a non-interactive <span> Frontend/src/components/admin/authentication/SignInForm.tsx:89
- Click handler on a non-interactive <span> Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:94
- Click handler on a non-interactive <span> Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:123
- Click handler on a non-interactive <span> Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:152
- Click handler on a non-interactive <span> Frontend/src/components/authentication/OtpForm.tsx:147
- Click handler on a non-interactive <span> Frontend/src/components/authentication/ResetPasswordForm.tsx:84
- Click handler on a non-interactive <span> Frontend/src/components/authentication/ResetPasswordForm.tsx:107
- Click handler on a non-interactive <span> Frontend/src/components/authentication/SignInForm.tsx:91
- Click handler on a non-interactive <span> Frontend/src/components/authentication/SignUpForm.tsx:108
- Click handler on a non-interactive <span> Frontend/src/components/authentication/SignUpForm.tsx:131
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Click handler on a non-interactive <div> Frontend/src/components/admin/common/Sidebar.tsx:157
- Click handler on a non-interactive <div> Frontend/src/components/chats/ChatDetials.tsx:347
- Click handler on a non-interactive <div> Frontend/src/components/chats/ChatDetials.tsx:427
- Click handler on a non-interactive <div> Frontend/src/components/chats/ChatDetials.tsx:430
- Click handler on a non-interactive <div> Frontend/src/components/chats/ChatInbox.tsx:248
- Click handler on a non-interactive <div> Frontend/src/components/chats/ChatInbox.tsx:377
- Click handler on a non-interactive <div> Frontend/src/components/chats/ChatInbox.tsx:437
- Click handler on a non-interactive <div> Frontend/src/components/chats/ChatInbox.tsx:492
- <button> with no accessible text Frontend/src/components/admin/music/MusicDetialsTable.tsx:250
- <button> with no accessible text Frontend/src/components/admin/post/PostDetialsTable.tsx:183
- <button> with no accessible text Frontend/src/components/admin/profile/AdminProfileDetials.tsx:145
- <button> with no accessible text Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:103
- <button> with no accessible text Frontend/src/components/admin/users/UserDetialsTable.tsx:174
- <label> that labels no control Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:82
- <label> that labels no control Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:111
- <label> that labels no control Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:140
- <label> that labels no control Frontend/src/components/admin/profile/AdminProfileDetials.tsx:192
- <label> that labels no control Frontend/src/components/admin/profile/AdminProfileDetials.tsx:208
- <img> without a text alternative Frontend/src/components/common/FollowDetialsModal.tsx:144
- <img> without a text alternative Frontend/src/components/common/FriendSuggetion.tsx:90
- <img> without a text alternative Frontend/src/components/notification/NotificationDetials.tsx:175
- <img> without a text alternative Frontend/src/components/search/SearchDetials.tsx:183
- Click handler on a non-interactive <img> Frontend/src/components/admin/common/Sidebar.tsx:137
- Click handler on a non-interactive <img> Frontend/src/components/admin/music/MusicDetialsTable.tsx:301
- Click handler on a non-interactive <img> Frontend/src/components/admin/post/PostDetialsTable.tsx:238
- Click handler on a non-interactive <img> Frontend/src/components/admin/users/UserDetialsTable.tsx:225
- <select> without a programmatic label Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx:91
- <select> without a programmatic label Frontend/src/components/admin/subscription/SubscriptionActions.tsx:126
- Click handler on a non-interactive <h1> Frontend/src/components/admin/common/Sidebar.tsx:74
- Click handler on a non-interactive <h1> Frontend/src/components/chats/ChatInbox.tsx:218
- Import cycle (2 files) Backend/src/application/useCases/user/chat/sendMessage.ts:3
- Import cycle (2 files) Frontend/src/apis/apiClient.ts:7
- Custom control with no accessible name on <video> Frontend/src/components/admin/post/PostDetialsTable.tsx:243
- Click handler on a non-interactive <video> Frontend/src/components/admin/post/PostDetialsTable.tsx:243
- No automated tests
Serious — 383 finding(s)
- FunctionTooLong: PostModal.PostModal Frontend/src/components/common/PostViewModal/PostModal.tsx:56
- FunctionTooLong: ChatInbox.ChatsInbox Frontend/src/components/chats/ChatInbox.tsx:26
- FunctionTooLong: VideoAudioCall.VideoAudioCall Frontend/src/components/calls/VideoAudioCall.tsx:15
- FunctionTooLong: Sidebar.Sidebar Frontend/src/components/common/Sidebar.tsx:56
- FunctionTooLong: Posts.Posts Frontend/src/components/home/Posts.tsx:21
- FunctionTooLong: ChatDetials.ChatDetials Frontend/src/components/chats/ChatDetials.tsx:26
- FunctionTooLong: MusicDetialsTable.MusicDetialsTable Frontend/src/components/admin/music/MusicDetialsTable.tsx:28
- FunctionTooLong: AddMusicForm.AddMusicForm Frontend/src/components/admin/music/AddMusicForm.tsx:19
- FunctionTooLong: ReelsDetials.ReelsDetials Frontend/src/components/reel/ReelsDetials.tsx:20
- FunctionTooLong: NotificationDetials.NotificationDetials Frontend/src/components/notification/NotificationDetials.tsx:23
- FunctionTooLong: UserProfilePostSection.UserProfilePostSection Frontend/src/components/user-profiles/UserProfilePostSection.tsx:19
- FunctionTooLong: EditProfileForm.EditProfileForm Frontend/src/components/profile/EditProfileForm.tsx:21
- FunctionTooLong: ProfilePostSection.ProfilePostSection Frontend/src/components/profile/ProfilePostSection.tsx:26
- FunctionTooLong: AdminProfileDetials.AdminProfileDetails Frontend/src/components/admin/profile/AdminProfileDetials.tsx:11
- FunctionTooLong: CreatePostFormSubmit.CreatePostFormSubmit Frontend/src/components/create-post/CreatePostFormSubmit.tsx:13
- FunctionTooLong: PostDetialsTable.PostDetialsTable Frontend/src/components/admin/post/PostDetialsTable.tsx:31
- FunctionTooLong: UserDetialsTable.UserDetialsTable Frontend/src/components/admin/users/UserDetialsTable.tsx:32
- FunctionTooLong: PostEditModal.PostEditModal Frontend/src/components/common/PostViewModal/PostEditModal.tsx:13
- FunctionTooLong: PostModalActions.PostModalActions Frontend/src/components/common/PostViewModal/PostModalActions.tsx:12
- FunctionTooLong: SelectAspectRatio.SelectAspectRatioAndUplaod Frontend/src/components/create-post/SelectAspectRatio.tsx:27
- FunctionTooLong: ChangePost.ChangePost Frontend/src/components/create-post/ChangePost.tsx:26
- FunctionTooLong: CreatePostMusic.CreatePostMusic Frontend/src/components/create-post/CreatePostMusic.tsx:16
- FunctionTooLong: TagUser.TagUser Frontend/src/components/create-post/TagUser.tsx:26
- FunctionTooLong: CreatePostBody.CreatePostBody Frontend/src/components/create-post/CreatePostBody.tsx:20
- FunctionTooLong: SubscriptionDetials.SubscriptionDetials Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:19
- Boundary violation [layered:upward-import] Backend/src/application/interface/post.ts:2
- Boundary violation [layered:upward-import] Backend/src/application/providers/awsS3Storage.ts:7
- Boundary violation [layered:upward-import] Backend/src/application/providers/nodeMailer.ts:7
- Boundary violation [layered:upward-import] Backend/src/application/repositories/admin/implements/adminRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/admin/implements/musicRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/admin/implements/subscriptionRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/admin/interfaces/IAdminRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/admin/interfaces/IMusicRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/admin/interfaces/ISubscriptionRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/chatRepository.ts:2
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/commentRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/friendsRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/likeRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/messageRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/notificationRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/otpRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/paymentRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/postRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/searchHistoryRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/storyRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/userMoreDataRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/implements/userRepository.ts:2
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/interfaces/IChatRepository.ts:2
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/interfaces/ICommentRepository.ts:1
- Boundary violation [layered:upward-import] Backend/src/application/repositories/user/interfaces/IFriendsRepository.ts:1
- Focus outline removed inline Frontend/src/components/admin/authentication/SignInForm.tsx:74
- Focus outline removed inline Frontend/src/components/admin/authentication/SignInForm.tsx:82
- Focus outline removed inline Frontend/src/components/admin/music/AddMusicForm.tsx:302
- Focus outline removed inline Frontend/src/components/admin/music/MusicAction.tsx:200
- Focus outline removed inline Frontend/src/components/admin/music/MusicDetialsTable.tsx:242
- Focus outline removed inline Frontend/src/components/admin/music/MusicDetialsTable.tsx:250
- Focus outline removed inline Frontend/src/components/admin/post/PostDetialsTable.tsx:175
- Focus outline removed inline Frontend/src/components/admin/post/PostDetialsTable.tsx:183
- Focus outline removed inline Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:86
- Focus outline removed inline Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:115
- Focus outline removed inline Frontend/src/components/admin/profile/AdminProfileChangePassword.tsx:144
- Focus outline removed inline Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx:91
- Focus outline removed inline Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx:105
- Focus outline removed inline Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx:120
- Focus outline removed inline Frontend/src/components/admin/subscription/SubscriptionActions.tsx:126
- Focus outline removed inline Frontend/src/components/admin/subscription/SubscriptionActions.tsx:140
- Focus outline removed inline Frontend/src/components/admin/subscription/SubscriptionActions.tsx:155
- Focus outline removed inline Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:95
- Focus outline removed inline Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:103
- Focus outline removed inline Frontend/src/components/admin/users/UserDetialsTable.tsx:166
- Focus outline removed inline Frontend/src/components/admin/users/UserDetialsTable.tsx:174
- Focus outline removed inline Frontend/src/components/authentication/ForgotPasswordForm.tsx:66
- Focus outline removed inline Frontend/src/components/authentication/ForgotPasswordForm.tsx:74
- Focus outline removed inline Frontend/src/components/authentication/GoogleAuth.tsx:55
- Focus outline removed inline Frontend/src/components/authentication/OtpForm.tsx:125
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <video> without a captions track Frontend/src/components/admin/post/PostDetialsTable.tsx:157
- <video> without a captions track Frontend/src/components/admin/post/PostDetialsTable.tsx:243
- <video> without a captions track Frontend/src/components/chats/ChatDetials.tsx:359
- <video> without a captions track Frontend/src/components/chats/message-type/FileMessage.tsx:49
- <video> without a captions track Frontend/src/components/chats/message-type/SharePostMessage.tsx:116
- <video> without a captions track Frontend/src/components/common/PostViewModal/PostModal.tsx:839
- <video> without a captions track Frontend/src/components/common/StoryModal/StoryModal.tsx:105
- <video> without a captions track Frontend/src/components/common/ViewFile.tsx:23
- <video> without a captions track Frontend/src/components/create-post/ChangePost.tsx:185
- <video> without a captions track Frontend/src/components/create-post/CreatePostBody.tsx:146
- <video> without a captions track Frontend/src/components/create-post/TagUser.tsx:166
- <video> without a captions track Frontend/src/components/explore/ExploreDetials.tsx:126
- <video> without a captions track Frontend/src/components/profile/ProfilePostSection.tsx:192
- <video> without a captions track Frontend/src/components/user-profiles/UserProfilePostSection.tsx:194
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Deprecated: uuid Backend/package.json:32
- Deprecated: eslint Backend/package.json:47
- Deprecated: @fortawesome/react-fontawesome Frontend/package.json:18
- Deprecated: @nextui-org/modal Frontend/package.json:21
- Deprecated: @nextui-org/react Frontend/package.json:22
- Deprecated: react-beautiful-dnd Frontend/package.json:48
- Deprecated: recharts Frontend/package.json:56
- Deprecated: @types/date-fns Frontend/package.json:66
- Deprecated: eslint Frontend/package.json:74
- `async` callback passed to `forEach` Backend/src/application/useCases/user/chat/sendShareMessaege.ts:29
- `async` callback passed to `forEach` Backend/src/application/useCases/user/post/replyComment.ts:47
- `async` callback passed to `forEach` Backend/src/application/useCases/user/post/deletePost.ts:45
- `async` callback passed to `forEach` Backend/src/application/useCases/user/post/deleteCommentOrReply.ts:31
- `async` callback passed to `forEach` Backend/src/application/useCases/user/post/createPost.ts:64
- `async` callback passed to `forEach` Backend/src/application/useCases/user/post/commentPost.ts:44
- `async` callback passed to `forEach` Frontend/src/components/common/PostViewModal/PostModal.tsx:635
- `async` callback passed to `forEach` Frontend/src/components/home/Posts.tsx:97
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Both branches are identical — the condition decides nothing Frontend/src/components/chats/message-type/SharePostMessage.tsx:24
- Both branches are identical — the condition decides nothing Frontend/src/components/notification/NotificationDetials.tsx:139
- Both branches are identical — the condition decides nothing Frontend/src/components/post/PostSingle.tsx:42
- Both branches are identical — the condition decides nothing Frontend/src/components/reel/ReelsDetials.tsx:249
- Both branches are identical — the condition decides nothing Frontend/src/components/user-profiles/UserProfileDetials.tsx:94
- <Select> field component without a label Frontend/src/components/admin/music/MusicDetialsTable.tsx:258
- <Select> field component without a label Frontend/src/components/admin/post/PostDetialsTable.tsx:191
- <Select> field component without a label Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:111
- <Select> field component without a label Frontend/src/components/admin/users/UserDetialsTable.tsx:182
- Animation without a prefers-reduced-motion guard Frontend/src/components/calls/VideoAudioCall.tsx:347
- Animation without a prefers-reduced-motion guard Frontend/src/components/calls/VideoAudioCall.tsx:418
- Animation without a prefers-reduced-motion guard Frontend/src/components/chats/AudioRecoding.tsx:143
- <Slider> field component without a label Frontend/src/components/admin/music/AddMusicForm.tsx:341
- <Slider> field component without a label Frontend/src/components/admin/music/MusicDetialsTable.tsx:343
- REDACTED
- REDACTED
- Duplicated block (41 lines × 2 locations) Frontend/src/components/admin/music/AddMusicForm.tsx:264
- Duplicated block (41 lines × 2 locations) Frontend/src/components/ui/dropdown-menu.tsx:21
- Duplicated block with local edits (38 matched lines × 2 locations) Frontend/src/components/common/PostViewModal/PostReportModal.tsx:39
- Duplicated block with local edits (38 matched lines × 2 locations) Frontend/src/components/profile/ProfileDetials.tsx:39
- Duplicated block (33 lines × 2 locations) Frontend/src/components/admin/post/PostDetialsTable.tsx:92
- Duplicated block (33 lines × 2 locations) Frontend/src/components/admin/profile/AdminProfileDetials.tsx:35
- Duplicated block (32 lines × 2 locations) Frontend/src/components/admin/authentication/SignInForm.tsx:59
- Duplicated block (32 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostEditModal.tsx:163
- Duplicated block (31 lines × 2 locations) Backend/src/infrastructure/database/models/postModel.ts:29
- Duplicated block (31 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx:338
- Duplicated block with local edits (30 matched lines × 2 locations) Backend/src/application/useCases/user/post/explorePost.ts:6
- Duplicated block with local edits (30 matched lines × 2 locations) Backend/src/infrastructure/middlewares/adminAuthMiddleware.ts:6
- Untrusted text written into markup unescaped Frontend/src/components/profile/ProfileDetials.tsx:88
- Untrusted text written into markup unescaped Frontend/src/components/user-profiles/UserProfileDetials.tsx:215
- Page without a main landmark Frontend/index.html:2
- Accessibility enforcement below the top rung
- PostModal.PostModal (cyclomatic 165) Frontend/src/components/common/PostViewModal/PostModal.tsx:56
- VideoAudioCall.VideoAudioCall (cyclomatic 68) Frontend/src/components/calls/VideoAudioCall.tsx:15
- ChatInbox.ChatsInbox (cyclomatic 66) Frontend/src/components/chats/ChatInbox.tsx:26
- Posts.Posts (cyclomatic 63) Frontend/src/components/home/Posts.tsx:21
- FollowDetialsModal.FollowDetialsModal (cyclomatic 62) Frontend/src/components/common/FollowDetialsModal.tsx:11
- ChatDetials.ChatDetials (cyclomatic 61) Frontend/src/components/chats/ChatDetials.tsx:26
- ReelsDetials.ReelsDetials (cyclomatic 56) Frontend/src/components/reel/ReelsDetials.tsx:20
- NotificationDetials.NotificationDetials (cyclomatic 47) Frontend/src/components/notification/NotificationDetials.tsx:23
- CreatePostBody.CreatePostBody (cyclomatic 45) Frontend/src/components/create-post/CreatePostBody.tsx:20
- PostDetialsTable.PostDetialsTable (cyclomatic 38) Frontend/src/components/admin/post/PostDetialsTable.tsx:31
- SearchDetials.SearchDetials (cyclomatic 38) Frontend/src/components/search/SearchDetials.tsx:13
- UserProfileDetials.UserProfileDetials (cyclomatic 37) Frontend/src/components/user-profiles/UserProfileDetials.tsx:19
- MusicDetialsTable.MusicDetialsTable (cyclomatic 36) Frontend/src/components/admin/music/MusicDetialsTable.tsx:28
- createRoutes.createRoutes (cyclomatic 34) Frontend/src/routes/createRoutes.tsx:35
- ChangePost.ChangePost (cyclomatic 34) Frontend/src/components/create-post/ChangePost.tsx:26
- AddMusicForm.AddMusicForm (cyclomatic 31) Frontend/src/components/admin/music/AddMusicForm.tsx:19
- ProfilePostSection.ProfilePostSection (cyclomatic 31) Frontend/src/components/profile/ProfilePostSection.tsx:26
- UserDetialsTable.UserDetialsTable (cyclomatic 30) Frontend/src/components/admin/users/UserDetialsTable.tsx:32
- Sidebar.Sidebar (cyclomatic 30) Frontend/src/components/common/Sidebar.tsx:56
- CreatePostFilters.CreatePostFilters (cyclomatic 29) Frontend/src/components/create-post/CreatePostFilters.tsx:16
- TagUser.TagUser (cyclomatic 29) Frontend/src/components/create-post/TagUser.tsx:26
- AdminProfileDetials.AdminProfileDetails (cyclomatic 28) Frontend/src/components/admin/profile/AdminProfileDetials.tsx:11
- CreatePostFormSubmit.CreatePostFormSubmit (cyclomatic 26) Frontend/src/components/create-post/CreatePostFormSubmit.tsx:13
- CreatePostMusic.CreatePostMusic (cyclomatic 25) Frontend/src/components/create-post/CreatePostMusic.tsx:16
- MusicAction.MusicAction (cyclomatic 24) Frontend/src/components/admin/music/MusicAction.tsx:28
- OtpForm.Otp (cyclomatic 24) Frontend/src/components/authentication/OtpForm.tsx:11
- FriendSuggetion.FriendSuggetion (cyclomatic 24) Frontend/src/components/common/FriendSuggetion.tsx:9
- SelectAspectRatio.SelectAspectRatioAndUplaod::handleInputChange (cyclomatic 24) Frontend/src/components/create-post/SelectAspectRatio.tsx:95
- CallModal.CallModal (cyclomatic 23) Frontend/src/components/calls/CallModal.tsx:16
- ExploreDetials.ExploreDetials (cyclomatic 23) Frontend/src/components/explore/ExploreDetials.tsx:12
- EditProfileForm.EditProfileForm (cyclomatic 22) Frontend/src/components/profile/EditProfileForm.tsx:21
- UserProfilePostSection.UserProfilePostSection (cyclomatic 22) Frontend/src/components/user-profiles/UserProfilePostSection.tsx:19
- SubscriptionDetials.SubscriptionDetials (cyclomatic 21) Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:19
- VerificationContent.VerificationContent (cyclomatic 19) Frontend/src/components/verification/VerificationContent.tsx:11
- sendMessage.execute (cyclomatic 17) Backend/src/application/useCases/user/chat/sendMessage.ts:18
- AudioRecoding.AudioRecorder (cyclomatic 17) Frontend/src/components/chats/AudioRecoding.tsx:5
- PostModalActions.PostModalActions (cyclomatic 17) Frontend/src/components/common/PostViewModal/PostModalActions.tsx:12
- Sidebar.Sidebar (cyclomatic 16) Frontend/src/components/admin/common/Sidebar.tsx:39
- SubscriptionActions.SubscriptionActions (cyclomatic 16) Frontend/src/components/admin/subscription/SubscriptionActions.tsx:29
- PostEditModal.PostEditModal (cyclomatic 16) Frontend/src/components/common/PostViewModal/PostEditModal.tsx:13
- ChatInbox.ChatsInbox (cognitive 116) Frontend/src/components/chats/ChatInbox.tsx:26
- VideoAudioCall.VideoAudioCall (cognitive 95) Frontend/src/components/calls/VideoAudioCall.tsx:15
- Posts.Posts (cognitive 92) Frontend/src/components/home/Posts.tsx:21
- ReelsDetials.ReelsDetials (cognitive 74) Frontend/src/components/reel/ReelsDetials.tsx:20
- ChatDetials.ChatDetials (cognitive 66) Frontend/src/components/chats/ChatDetials.tsx:26
- FollowDetialsModal.FollowDetialsModal (cognitive 53) Frontend/src/components/common/FollowDetialsModal.tsx:11
- ProfilePostSection.ProfilePostSection (cognitive 52) Frontend/src/components/profile/ProfilePostSection.tsx:26
- SearchDetials.SearchDetials (cognitive 48) Frontend/src/components/search/SearchDetials.tsx:13
- AddMusicForm.AddMusicForm (cognitive 41) Frontend/src/components/admin/music/AddMusicForm.tsx:19
- MusicDetialsTable.MusicDetialsTable (cognitive 41) Frontend/src/components/admin/music/MusicDetialsTable.tsx:28
- PostDetialsTable.PostDetialsTable (cognitive 41) Frontend/src/components/admin/post/PostDetialsTable.tsx:31
- CreatePostBody.CreatePostBody (cognitive 40) Frontend/src/components/create-post/CreatePostBody.tsx:20
- NotificationDetials.NotificationDetials (cognitive 40) Frontend/src/components/notification/NotificationDetials.tsx:23
- CreatePostFormSubmit.CreatePostFormSubmit (cognitive 39) Frontend/src/components/create-post/CreatePostFormSubmit.tsx:13
- SelectAspectRatio.SelectAspectRatioAndUplaod::handleInputChange (cognitive 39) Frontend/src/components/create-post/SelectAspectRatio.tsx:95
- CreatePostMusic.CreatePostMusic (cognitive 37) Frontend/src/components/create-post/CreatePostMusic.tsx:16
- UserProfilePostSection.UserProfilePostSection (cognitive 36) Frontend/src/components/user-profiles/UserProfilePostSection.tsx:19
- UserProfileDetials.UserProfileDetials (cognitive 36) Frontend/src/components/user-profiles/UserProfileDetials.tsx:19
- ChangePost.ChangePost (cognitive 35) Frontend/src/components/create-post/ChangePost.tsx:26
- AdminProfileDetials.AdminProfileDetails (cognitive 34) Frontend/src/components/admin/profile/AdminProfileDetials.tsx:11
- CallModal.CallModal (cognitive 34) Frontend/src/components/calls/CallModal.tsx:16
- Sidebar.Sidebar (cognitive 34) Frontend/src/components/common/Sidebar.tsx:56
- createRoutes.createRoutes (cognitive 33) Frontend/src/routes/createRoutes.tsx:35
- UserDetialsTable.UserDetialsTable (cognitive 33) Frontend/src/components/admin/users/UserDetialsTable.tsx:32
- FriendSuggetion.FriendSuggetion (cognitive 33) Frontend/src/components/common/FriendSuggetion.tsx:9
- MusicAction.MusicAction (cognitive 30) Frontend/src/components/admin/music/MusicAction.tsx:28
- PostModal.PostModal (cognitive 30) Frontend/src/components/common/PostViewModal/PostModal.tsx:56
- OtpForm.Otp (cognitive 27) Frontend/src/components/authentication/OtpForm.tsx:11
- ExploreDetials.ExploreDetials (cognitive 27) Frontend/src/components/explore/ExploreDetials.tsx:12
- EditProfileForm.EditProfileForm (cognitive 26) Frontend/src/components/profile/EditProfileForm.tsx:21
- UserPostData.execute (cognitive 25) Backend/src/application/useCases/user/post/userPostData.ts:20
- TagUser.TagUser (cognitive 24) Frontend/src/components/create-post/TagUser.tsx:26
- FollowUser.execute (cognitive 22) Backend/src/application/useCases/user/user/followUser.ts:21
- VerificationContent.VerificationContent (cognitive 22) Frontend/src/components/verification/VerificationContent.tsx:11
- FileMessage.execute (cognitive 20) Backend/src/application/useCases/user/chat/fileMessage.ts:22
- SubscriptionActions.SubscriptionActions (cognitive 19) Frontend/src/components/admin/subscription/SubscriptionActions.tsx:29
- SubscriptionDetials.SubscriptionDetials (cognitive 19) Frontend/src/components/admin/subscription/SubscriptionDetials.tsx:19
- PostModalActions.PostModalActions (cognitive 19) Frontend/src/components/common/PostViewModal/PostModalActions.tsx:12
- SharePostModal.SharePostModal (cognitive 19) Frontend/src/components/common/SharePostModal.tsx:14
- PostModal.PostModal::timeSince (cognitive 19) Frontend/src/components/common/PostViewModal/PostModal.tsx:338
- StoryModal.StoryModal (cognitive 19) Frontend/src/components/common/StoryModal/StoryModal.tsx:9
- dateFormat.timeSince (cognitive 19) Frontend/src/helperFuntions/dateFormat.ts:1
- Sidebar.Sidebar (cognitive 17) Frontend/src/components/admin/common/Sidebar.tsx:39
- ResetPasswordForm.ResetPasswordForm (cognitive 17) Frontend/src/components/authentication/ResetPasswordForm.tsx:12
- SignUpForm.SignUpForm (cognitive 17) Frontend/src/components/authentication/SignUpForm.tsx:12
- PostEditModal.PostEditModal (cognitive 17) Frontend/src/components/common/PostViewModal/PostEditModal.tsx:13
- LikeOrUnlikeComment.execute (cognitive 16) Backend/src/application/useCases/user/post/likeOrUnlikeComment.ts:21
- ClassTooLong: PostModal Frontend/src/components/common/PostViewModal/PostModal.tsx:1
- FileTooLong: PostViewModal/PostModal.tsx Frontend/src/components/common/PostViewModal/PostModal.tsx
- Change coupling: ChatDetials.tsx ↔ ChatInbox.tsx Frontend/src/components/chats/ChatDetials.tsx:1
- Change coupling clique: App.tsx, SignInForm.tsx, SignUpForm.tsx Frontend/src/App.tsx
- Fake-async — async method never awaits Backend/src/infrastructure/middlewares/adminAuthMiddleware.ts:8
- No CI pipeline
- No structured logging
- Duplication concentrated across 15 sibling directories (52 clone groups) Frontend/src/components/common/PostViewModal/PostEditModal.tsx:20
- Duplication concentrated across 7 sibling directories (19 clone groups) Backend/src/infrastructure/controllers/user/post/checkingHasUserLikedPostController.ts:9
- Duplication concentrated across 5 sibling directories (14 clone groups) Frontend/src/components/admin/music/MusicDetialsTable.tsx:30
- Duplication concentrated across 7 sibling directories (10 clone groups) Backend/src/application/useCases/user/authentication/resetPassword.ts:6
- Duplication concentrated across 2 sibling directories (10 clone groups) Backend/src/infrastructure/controllers/admin/authentication/refreshTokenAdminController.ts:9
- Duplication concentrated across 2 sibling directories (9 clone groups) Backend/src/application/repositories/admin/implements/musicRepository.ts:36
- Duplication concentrated across 2 sibling directories (8 clone groups) Backend/src/application/useCases/admin/authentication/handleAdminRefreshToken.ts:5
- Duplication concentrated across 6 sibling directories (7 clone groups) Backend/src/application/useCases/admin/admin/editAdmin.ts:6
- Duplicated block with local edits (162 matched lines × 2 locations) Frontend/src/components/common/PostViewModal/PostEditModal.tsx:20
- Duplicated block with local edits (157 matched lines × 2 locations) Frontend/src/components/admin/music/MusicDetialsTable.tsx:30
- Duplicated block (140 lines × 2 locations) Frontend/src/components/profile/ProfilePostSection.tsx:160
- Duplicated block with local edits (135 matched lines × 2 locations) Frontend/src/components/admin/common/Sidebar.tsx:44
- Duplicated block with local edits (103 matched lines × 2 locations) Frontend/src/components/authentication/SignInForm.tsx:14
- Duplicated block with local edits (100 matched lines × 2 locations) Frontend/src/components/admin/music/MusicDetialsTable.tsx:103
- Duplicated block (97 lines × 3 locations) Frontend/src/components/explore/ExploreDetials.tsx:94
- Duplicated block with local edits (86 matched lines × 2 locations) Frontend/src/components/admin/music/MusicAction.tsx:94
- Duplicated block with local edits (66 matched lines × 2 locations) Frontend/src/components/admin/music/MusicDetialsTable.tsx:52
- Duplicated block (66 lines × 2 locations) Frontend/src/components/admin/subscription/AddSubscriptionForm.tsx:77
- Duplicated block (60 lines × 2 locations) Frontend/src/components/common/PostViewModal/PostModal.tsx:1136
- Duplicated block with local edits (59 matched lines × 2 locations) Frontend/src/components/authentication/ForgotPasswordForm.tsx:33
- Duplicated block (54 lines × 2 locations) Frontend/src/components/ui/dropdown-menu.tsx:129
- Duplicated block (53 lines × 2 locations) Frontend/src/components/admin/post/PostDetialsTable.tsx:164
- Duplicated block (48 lines × 2 locations) Frontend/src/components/common/Sidebar.tsx:191
- Duplicated block with local edits (44 matched lines × 2 locations) Frontend/src/validations/authValidations.ts:3
- Duplicated block (43 lines × 2 locations) Frontend/src/components/admin/post/PostDetialsTable.tsx:266
- Duplicated block (37 lines × 2 locations) Frontend/src/apis/interceptors/adminInterceptors.ts:6
- Duplicated block with local edits (35 matched lines × 2 locations) Frontend/src/components/common/FollowDetialsModal.tsx:32
- Duplicated block (30 lines × 2 locations) Frontend/src/components/admin/music/AddMusicForm.tsx:156
- Complex function CreatePostBody (cyclomatic 37, cognitive 29) Frontend/src/components/create-post/CreatePostBody.tsx:20
- Complex function PostModal (cyclomatic 36, cognitive 34) Frontend/src/components/common/PostViewModal/PostModal.tsx:56
- Complex function createRoutes (cyclomatic 34, cognitive 33) Frontend/src/routes/createRoutes.tsx:35
- Complex function VideoAudioCall (cyclomatic 32, cognitive 30) Frontend/src/components/calls/VideoAudioCall.tsx:15
- Complex function (anonymous) (cyclomatic 28, cognitive 33) Frontend/src/components/admin/post/PostDetialsTable.tsx:48
- Complex function CreatePostFilters (cyclomatic 27, cognitive 21) Frontend/src/components/create-post/CreatePostFilters.tsx:16
- Complex function ChatsInbox (cyclomatic 22, cognitive 20) Frontend/src/components/chats/ChatInbox.tsx:26
- Complex function (anonymous) (cyclomatic 22, cognitive 18) Frontend/src/components/chats/ChatInbox.tsx:436
- Complex function handleInputChange (cyclomatic 21, cognitive 32) Frontend/src/components/create-post/SelectAspectRatio.tsx:95
- Complex function (anonymous) (cyclomatic 21, cognitive 17) Frontend/src/components/common/FollowDetialsModal.tsx:135
- Complex function Sidebar (cyclomatic 19, cognitive 18) Frontend/src/components/common/Sidebar.tsx:56
- Complex function ProfilePostSection (cyclomatic 19, cognitive 16) Frontend/src/components/profile/ProfilePostSection.tsx:26
- Complex function (anonymous) (cyclomatic 17, cognitive 16) Frontend/src/components/home/Posts.tsx:274
- Complex function execute (cyclomatic 17, cognitive 15) Backend/src/application/useCases/user/chat/sendMessage.ts:18
- Complex function TagUser (cyclomatic 16, cognitive 12) Frontend/src/components/create-post/TagUser.tsx:26
- Complex function ChatDetials (cyclomatic 15, cognitive 14) Frontend/src/components/chats/ChatDetials.tsx:26
- Complex function CreatePostFormSubmit (cyclomatic 15, cognitive 14) Frontend/src/components/create-post/CreatePostFormSubmit.tsx:13
- Complex function UserProfileDetials (cyclomatic 15, cognitive 14) Frontend/src/components/user-profiles/UserProfileDetials.tsx:19
- Complex function (anonymous) (cyclomatic 15, cognitive 13) Frontend/src/components/common/PostViewModal/PostModal.tsx:1032
- Complex function timeSince (cyclomatic 14, cognitive 19) Frontend/src/components/common/PostViewModal/PostModal.tsx:338
- Frontend/src/components/common/PostViewModal/PostModal.tsx: 1557 lines of code Frontend/src/components/common/PostViewModal/PostModal.tsx:1
- Frontend/src/components/chats/ChatInbox.tsx: 498 lines of code Frontend/src/components/chats/ChatInbox.tsx:1
- Frontend/src/components/calls/VideoAudioCall.tsx: 442 lines of code Frontend/src/components/calls/VideoAudioCall.tsx:1
- Frontend/src/components/common/Sidebar.tsx: 422 lines of code Frontend/src/components/common/Sidebar.tsx:1
- Frontend/src/components/home/Posts.tsx: 413 lines of code Frontend/src/components/home/Posts.tsx:1
- Frontend/src/components/chats/ChatDetials.tsx: 408 lines of code Frontend/src/components/chats/ChatDetials.tsx:1
- Test Coverage
- Dependency Freshness
- No test script
- Dead file (~37 LoC) Frontend/src/components/ui/mode-toggle.tsx
- Dead file (~30 LoC) Frontend/src/helperFuntions/convertBlobUrlToBase64.ts
- Dead file (~26 LoC) Frontend/src/components/ui/slider.tsx
- Dead file (~13 LoC) Frontend/src/pages/user/Chats.tsx
- Dead file (~10 LoC) Backend/src/infrastructure/configs/rateLimit.ts
- Unused dependency 'cropperjs'
- Unused dependency 'react-cropper'
- Async function without AbortSignal: convertBlobUrlToBase64 Frontend/src/helperFuntions/convertBlobUrlToBase64.ts:1
Minor — 48 finding(s)
- Duplicated predicate Backend/src/application/useCases/user/chat/fileMessage.ts:45
- Duplicated predicate Frontend/src/components/admin/music/MusicDetialsTable.tsx:162
- Duplicated predicate Frontend/src/components/common/PostViewModal/PostEditModal.tsx:30
- Duplicated predicate Frontend/src/components/explore/ExploreDetials.tsx:46
- Duplicated predicate Frontend/src/components/admin/authentication/SignInForm.tsx:50
- Duplicated predicate Frontend/src/components/admin/authentication/SignInForm.tsx:52
- Duplicated predicate Frontend/src/components/explore/ExploreDetials.tsx:112
- Duplicated predicate Frontend/src/components/explore/ExploreDetials.tsx:48
- Duplicated predicate Frontend/src/apis/interceptors/adminInterceptors.ts:27
- Duplicated predicate Backend/src/infrastructure/middlewares/adminAuthMiddleware.ts:17
- Outdated (npm): @fortawesome/react-fontawesome Frontend/package.json:18
- Outdated (npm): @mui/icons-material Frontend/package.json:19
- Outdated (npm): @mui/material Frontend/package.json:20
- Outdated (npm): @stripe/stripe-js Frontend/package.json:34
- Outdated (npm): firebase Frontend/package.json:43
- Outdated (npm): nodemailer Backend/package.json:28
- Outdated (npm): stripe Backend/package.json:31
- Outdated (npm): uuid Backend/package.json:32
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Fat interface: IPostRepository (23 required operations) Backend/src/application/repositories/user/interfaces/IPostRepository.ts:4
- Fat interface: IUserRepository (21 required operations) Backend/src/application/repositories/user/interfaces/IUserRepository.ts:5
- No named authorization policies
- Partial data-retention evidence
- No ADRs found
- Projects may be oversized for their cohesion
- No tests found
- No ADRs
- No architecture diagram/doc
- No SAST
- No release approval gate
- Unused export 'useSocket' Frontend/src/context/SocketContext.ts:6
- Unused export 'persister' Frontend/src/redux/store/store.ts:37
- Unused export 'AppDispatch' Frontend/src/redux/store/store.ts:40
- Unused export 'ChatDataHeader' Frontend/src/types/chat/chat.ts:35
- Unused export 'PostLowerSectionComponentProps' Frontend/src/types/home/postLowerSection.ts:1
- Write-only private field 'notificationRepository' Backend/src/application/useCases/user/story/createStory.ts:13
- Write-only private field 'UserMoreDataRepository' Backend/src/application/useCases/user/user/removeUser.ts:12
- No security response headers detected Frontend/vercel.json:1
- No app-layer HTTPS enforcement detected Backend/src/presentation/settings/server.ts:73
- Not all async functions that make a request accept an AbortSignal
- Null assertions (`!`) reduce the strict null checking score
Minor — 53 finding(s)
- Outdated (npm): @aws-sdk/client-rekognition
- Outdated (npm): @aws-sdk/client-s3
- Outdated (npm): @aws-sdk/s3-request-presigner
- Outdated (npm): @emotion/react
- Outdated (npm): @emotion/styled
- Outdated (npm): @fontsource/roboto
- Outdated (npm): @fortawesome/free-regular-svg-icons
- Outdated (npm): @fortawesome/free-solid-svg-icons
- Outdated (npm): @nextui-org/modal
- Outdated (npm): @nextui-org/react
- Outdated (npm): @radix-ui/react-alert-dialog
- Outdated (npm): @radix-ui/react-dropdown-menu
- Outdated (npm): @radix-ui/react-icons
- Outdated (npm): @radix-ui/react-label
- Outdated (npm): @radix-ui/react-menubar
- Outdated (npm): @radix-ui/react-radio-group
- Outdated (npm): @radix-ui/react-select
- Outdated (npm): @radix-ui/react-slider
- Outdated (npm): @radix-ui/react-slot
- Outdated (npm): @radix-ui/react-tabs
- Outdated (npm): @reduxjs/toolkit
- Outdated (npm): @zegocloud/zego-uikit-prebuilt
- Outdated (npm): axios
- Outdated (npm): bcryptjs
- Outdated (npm): class-variance-authority
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-534ba31ceeeb4875a0afce0b6957f4a9/history.json --exit-code 0 --source . | 1 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-534ba31ceeeb4875a0afce0b6957f4a9/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 18 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 74 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |