Repository Analysis

monicahq/monica

Personal CRM. Remember everything about your friends, family and business relationships.

0.4 Likely human-written View on GitHub
0.4
Adjusted Score
0.4
Raw Score
100%
Time Factor
2026-04-24
Last Push
24,704
Stars
PHP
Language
216,615
Lines of Code
1916
Files
80
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 79

Pattern Findings

80 matches across 4 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers49 hits · 49 pts
SeverityFileLineSnippet
LOW…s/PersonalizeContactInformationTypeIndexViewHelper.php33 public static function dtoContactInformationType(ContactInformationType $type): array
LOW…p/Domains/Settings/CreateAccount/Jobs/SetupAccount.php131 private function addTemplatePageContactInformation(): void
LOW…p/Domains/Settings/CreateAccount/Jobs/SetupAccount.php402 private function addTemplatePageLifeEvents(): void
LOW…p/Domains/Settings/CreateAccount/Jobs/SetupAccount.php445 private function addTemplatePageInformation(): void
LOW…ins/Settings/ManageUsers/Services/AcceptInvitation.php66 private function createNotificationChannel(): void
LOW…ageReminders/Jobs/ProcessScheduledContactReminders.php81 private function updateScheduledContactReminderTriggeredAt($scheduledReminder): void
LOW…ageReminders/Jobs/ProcessScheduledContactReminders.php88 private function updateNumberOfTimesTriggered(int $id): void
LOW…act/ManageReminders/Services/UpdateContactReminder.php84 private function deleteOldScheduledReminders(): void
LOW…act/ManageReminders/Services/UpdateContactReminder.php89 private function scheduledReminderForAllUsersInVault(): void
LOW…act/ManageReminders/Services/CreateContactReminder.php82 private function scheduledReminderForAllUsersInVault(): void
LOW…nageContactImportantDates/Dav/ImportImportantDates.php90 private function createContactImportantDate(Contact $contact, array $date): void
LOW…nageContactImportantDates/Dav/ImportImportantDates.php105 private function updateContactImportantDate(Contact $contact, ContactImportantDate $importantDate): bool
LOW…nageContactImportantDates/Dav/ImportImportantDates.php127 private function removeContactImportantDate(Contact $contact, ContactImportantDate $importantDate): void
LOW…t/DavClient/Services/Utils/AddressBookSynchronizer.php205 private function callSyncCollectionWhenNeeded(): array
LOW…ct/DavClient/Services/Utils/PrepareJobsContactPush.php74 private function preparePushChangedContacts(Collection $contacts, Collection $changes): Collection
LOW…Client/Services/Utils/PrepareJobsContactPushMissed.php42 private function preparePushMissedContacts(Collection $added, Collection $distContacts, Collection $localContacts):
LOW…ains/Contact/Dav/Web/Backend/CalDAV/ICalDAVBackend.php98 public function updateOrCreateCalendarObject(?string $calendarId, string $objectUri, string $calendarData): ?string;
LOW…ntact/Dav/Web/Backend/CalDAV/AbstractCalDAVBackend.php119 public function updateOrCreateCalendarObject(?string $calendarId, ?string $objectUri, ?string $calendarData): ?strin
LOW…ageContactInformation/Dav/ExportContactInformation.php42 private function addContactInformationToVCard(VCard $vcard, ContactInformation $contactInformation)
LOW…tings/Web/ViewHelpers/VaultSettingsIndexViewHelper.php334 public static function dtoQuickFactTemplateEntry(VaultQuickFactsTemplate $template): array
LOW…ult/ManageVaultSettings/Services/RemoveVaultAccess.php88 private function removeAllRemindersForThisUserInThisVault(): void
LOWapp/Domains/Vault/ManageVault/Services/CreateVault.php96 private function populateDefaultContactImportantDateTypes(): void
LOWapp/Domains/Vault/ManageVault/Services/CreateVault.php117 private function populateMoodTrackingParameters(): void
LOWapp/Domains/Vault/ManageVault/Services/CreateVault.php156 private function populateDefaultLifeEventCategories(): void
LOWapp/Domains/Vault/ManageVault/Services/CreateVault.php336 private function populateDefaultQuickVaultTemplateEntries(): void
LOWapp/Traits/JsonRespondController.php70 public function respondNotTheRightParameters(?string $message = null): JsonResponse
LOWapp/Providers/TelescopeServiceProvider.php42 protected function hideSensitiveRequestDetails()
LOWapp/Models/Note.php52 public function searchIndexShouldBeUpdated()
LOWapp/Models/Group.php58 public function searchIndexShouldBeUpdated()
LOWapp/Models/Vault.php141 public function contactImportantDateTypes(): HasMany
LOWapp/Models/Vault.php251 public function quickFactsTemplateEntries(): HasMany
LOWapp/Models/User.php160 public function sendEmailVerificationNotification(): void
LOWapp/Models/Contact.php134 public function searchIndexShouldBeUpdated()
LOWapp/Models/Loan.php58 public function searchIndexShouldBeUpdated()
LOWapp/Actions/AttemptToAuthenticateSocialite.php171 protected function throwFailedAuthenticationException(Request $request, string $driver, ?string $message = null): vo
LOWapp/Actions/AttemptToAuthenticateSocialite.php195 protected function twoFactorChallengeResponse(Request $request, ?User $user): Response
LOWapp/Actions/AttemptToAuthenticateWebauthn.php83 protected function throwFailedAuthenticationException(Request $request)
LOW…Actions/Fortify/RedirectIfTwoFactorAuthenticatable.php59 protected function throwFailedAuthenticationException(Request $request): void
LOW…Actions/Fortify/RedirectIfTwoFactorAuthenticatable.php84 protected function twoFactorChallengeResponse(Request $request, ?User $user)
LOWapp/Helpers/DateHelper.php89 public static function formatDayAndMonthInParenthesis(Carbon $date, ?string $timezone = null): string
LOWapp/Helpers/VaultHelper.php14 public static function getPermissionFriendlyName(int $permission): string
LOWapp/Helpers/UserHelper.php15 public static function getInformationAboutContact(User $user, Vault $vault): ?array
LOWapp/Helpers/UserHelper.php21 private static function internalGetInformationAboutContact(User $user, Vault $vault): ?array
LOWapp/Services/BaseService.php159 private function validateAuthorBelongsToAccount(array $data): void
LOWapp/Services/BaseService.php170 private function validateAuthorIsAccountAdministrator(): void
LOWapp/Services/BaseService.php190 public function validateUserPermissionInVault(int $permission): void
LOWapp/Services/BaseService.php205 public function validateContactBelongsToVault(array $data): void
LOWapp/Services/BaseService.php220 public function validateGroupBelongsToVault(array $data): void
LOW…emplates/Services/RemoveModuleFromTemplatePageTest.php99 private function associateTemplatePageAndModule(Account $accountA, Account $accountB): void
Fake / Example Data22 hits · 22 pts
SeverityFileLineSnippet
LOW…omains/Contact/ManageContact/Dav/ImportContactTest.php62 'FN' => 'John Doe',
LOW…omains/Contact/ManageContact/Dav/ImportContactTest.php83 'FN' => 'John Doe',
LOW…omains/Contact/ManageContact/Dav/ImportContactTest.php102 'FN' => 'John Doe',
LOW…iewHelpers/Actions/ActionFeedMoodTrackingEventTest.php53 'name' => 'John Doe',
LOW…rs/Actions/ActionFeedGenericContactInformationTest.php31 'name' => 'John Doe',
LOW…eb/ViewHelpers/Actions/ActionFeedLabelAssignedTest.php50 'name' => 'John Doe',
LOW…Feed/Web/ViewHelpers/Actions/ActionFeedAddressTest.php79 'name' => 'John Doe',
LOW…ewHelpers/Actions/ActionFeedContactInformationTest.php59 'name' => 'John Doe',
LOW…actFeed/Web/ViewHelpers/Actions/ActionFeedGoalTest.php48 'name' => 'John Doe',
LOW…actFeed/Web/ViewHelpers/Actions/ActionFeedNoteTest.php50 'name' => 'John Doe',
LOW…tactFeed/Web/ViewHelpers/Actions/ActionFeedPetTest.php56 'name' => 'John Doe',
LOW…/Unit/Domains/Contact/DAV/Services/ImportVCardTest.php130 'FN' => 'John Doe',
LOW…/Unit/Domains/Contact/DAV/Services/ImportVCardTest.php253 'FN' => 'John Doe',
LOW…nageNotes/Web/ViewHelpers/NotesIndexViewHelperTest.php61 'name' => 'John Doe',
LOW…ontactInformation/Dav/ImportContactInformationTest.php46 'EMAIL' => 'test@test.com',
LOW…ontactInformation/Dav/ImportContactInformationTest.php53 $this->assertEquals('test@test.com', $email->data);
LOW…ontactInformation/Dav/ImportContactInformationTest.php78 $vcard->add('EMAIL', 'test@test.com', [
LOW…ontactInformation/Dav/ImportContactInformationTest.php86 $this->assertEquals('test@test.com', $email->data);
LOW…ontactInformation/Dav/ImportContactInformationTest.php109 $vcard->add('EMAIL', 'test@test.com', [
LOW…ontactInformation/Dav/ImportContactInformationTest.php117 $this->assertEquals('test@test.com', $email->data);
LOW…ontactInformation/Dav/ImportContactInformationTest.php300 'EMAIL' => 'test@test.com',
LOW…ontactInformation/Dav/ImportContactInformationTest.php308 $this->assertEquals('test@test.com', $contactInformation->data);
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippet
LOWconfig/scribe.php181 // so make sure it points to an accessible URL or path. Set to false to not use a logo.
LOWresources/js/bootstrap.js21// import Echo from 'laravel-echo';
LOWtests/Unit/Domains/Contact/DAV/Services/CardDAVTest.php201 // $user = $this->createUser();
LOWtests/Unit/Domains/Contact/DAV/Services/CardDAVTest.php221 // $response->assertHeader('X-Sabre-Version');
LOWtests/Unit/Domains/Contact/DAV/Services/CardDAVTest.php241 // $response = $this->call('PROPPATCH', "/dav/addressbooks/{$user->email}/contacts", [], [], [],
LOW…ts/Unit/Domains/Contact/DAV/Services/DAVServerTest.php181 // $response->assertStatus(207);
LOW…ts/Unit/Domains/Contact/DAV/Services/DAVServerTest.php201
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippet
MEDIUMconfig/telescope.php113 | a request or task is executed. Feel free to customize this list.
LOWconfig/scribe.php84 // Don't forget to enable CORS headers for your endpoints.