Repository Analysis

refined-github/refined-github

:octocat: Browser extension that simplifies the GitHub interface and adds useful features

2.0 Likely human-written View on GitHub
2.0
Adjusted Score
2.0
Raw Score
100%
Time Factor
2026-05-30
Last Push
31,434
Stars
TypeScript
Language
44,949
Lines of Code
459
Files
73
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 0LOW 72

Pattern Findings

73 matches across 3 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers50 hits · 50 pts
SeverityFileLineSnippet
LOWsource/options/reload-without.ts29export default function addReloadWithoutContentScripts(): void {
LOWsource/options/feature-list.tsx10function moveDisabledFeaturesToTop(): void {
LOWsource/features/one-click-review-submission.tsx105function blockDuplicateSubmissions(event: DelegateEvent): void {
LOWsource/features/conversation-activity-filter.tsx83function processDismissedReviewEvent(item: HTMLElement): void {
LOWsource/features/conversation-activity-filter.tsx269function uncollapseTargetedComment(): void {
LOWsource/features/bugs-tab.tsx145async function updateBugsTagHighlighting(): Promise<void | false> {
LOWsource/features/toggle-everything-with-alt.tsx9function minimizedCommentsSelector(clickedItem: HTMLElement): string {
LOWsource/features/toggle-everything-with-alt.tsx20function resolveConversationsSelector(clickedItem: HTMLElement): string {
LOWsource/features/new-tab-links.tsx48function openNewIssuePageInNewTabe(event: DelegateEvent<MouseEvent, HTMLElement>): void {
LOWsource/features/warn-pr-from-master.tsx28async function isCrossRepoCompareFromMaster(): Promise<boolean> {
LOWsource/features/notifications-ui.tsx8function replaceNotificationsDropdown(dropdown: Element): void {
LOWsource/features/open-all-notifications.tsx67async function openSelectedNotifications(): Promise<void> {
LOWsource/features/rgh-feature-descriptions.tsx74async function addFeatureInformationWidget(
LOWsource/features/rgh-feature-descriptions.tsx89function getFeatureNameFromIssueTitle(): string | undefined {
LOWsource/features/clean-conversation-headers.tsx15async function highlightNonDefaultBranchPrs(base: HTMLElement, baseBranch: string): Promise<void> {
LOWsource/features/conversation-links-on-repo-lists.tsx37function addSearchConversationLinks(repositoryLink: HTMLAnchorElement): void {
LOWsource/features/quick-resolve-conflicts.tsx19function createResolveConflictsButtons(menuItems: Element[]): JSX.Element {
LOWsource/features/quick-resolve-conflicts.tsx66async function replaceResolveConflictsDropdown(button: HTMLButtonElement): Promise<void> {
LOWsource/features/status-subscription.tsx144async function updateIssueSubscriptionStatus(targetStatus: SubscriptionStatus, issue: IssueApiResponse): Promise<void> {
LOWsource/features/useful-not-found-page.tsx81async function getUrlToFileOnDefaultBranch(): Promise<string | void> {
LOWsource/features/useful-not-found-page.tsx180async function showGitObjectHistoryOnRepo(description: HTMLDivElement): Promise<void> {
LOWsource/features/releases-tab.tsx19function detachHighlightFromCodeTab(codeTab: HTMLAnchorElement): void {
LOWsource/features/unread-anywhere.tsx24function removeNotificationIndicator(element: HTMLElement): void {
LOWsource/features/quick-review.tsx56async function openReviewDialogWhenAvailable(): Promise<void> {
LOWsource/features/quick-review.tsx135function onReviewRequestedButtonClick(event: DelegateEvent<PointerEvent, HTMLAnchorElement>): void {
LOWsource/features/quick-review.tsx145function initReviewRequestedButton(signal: AbortSignal): void {
LOWsource/features/quick-review.tsx159async function initReviewButtonEnhancements(signal: AbortSignal): Promise<void> {
LOWsource/features/new-repo-disable-projects-and-wikis.tsx14async function disableWikiAndProjectsOnce(): Promise<void> {
LOWsource/features/pr-commit-lines-changed.tsx15function calculateDiffSquareCounts(linesAdded: number, linesDeleted: number): Squares {
LOWsource/features/show-whitespace.tsx23function showWhitespaceWhenInViewport(line: HTMLElement): void {
LOWsource/features/deep-reblame.tsx42function extractCommitFromHoverCardUrl(url: string): string {
LOWsource/features/quick-repo-deletion.tsx36async function modifyUiAfterSuccessfulDeletion(): Promise<void> {
LOWsource/features/quick-label-removal.tsx38async function removeLabelButtonClickHandler(event: DelegateEvent<MouseEvent, HTMLButtonElement>): Promise<void> {
LOWsource/features/action-pr-link.tsx25async function initForRepositoryActionsPage(signal: AbortSignal): Promise<void> {
LOWsource/github-events/on-field-keydown.tsx33export function onConversationTitleFieldKeydown(callback: KeydownHandler, signal: AbortSignal): void {
LOWsource/github-events/on-field-keydown.tsx50export function onCommitTitleFieldKeydown(callback: KeydownHandler, signal: AbortSignal): void {
LOWsource/github-helpers/index.ts46export function isUsernameAlreadyFullName(username: string, realname: string): boolean {
LOWsource/github-helpers/index.ts161export function extractCurrentBranchFromBranchPicker(branchPicker: HTMLElement): string {
LOWsource/github-helpers/index.ts175export function triggerConversationUpdate(): void {
LOWsource/github-helpers/prevent-link-loss.ts65export function preventDiscussionLinkLoss(
LOWsource/github-helpers/is-conversation-locked.ts9async function isConversationLockedViaApi(): Promise<boolean | undefined> {
LOWsource/github-helpers/is-conversation-locked.ts23async function isConversationLockedViaDom(): Promise<boolean | undefined> {
LOWsource/github-helpers/is-conversation-locked.ts32async function isConversationLockedViaReactData(): Promise<boolean | undefined> {
LOWsource/github-helpers/get-next-conversation-number.ts3export default async function getNextConversationNumber(): Promise<number> {
LOWsource/helpers/math.ts10function inverseLinearInterpolation(min: number, max: number, value: number): number {
LOWsource/helpers/errors.ts20export function parseFeatureNameFromStack(stack: string = new Error('stack').stack!): FeatureId | undefined {
LOWsource/helpers/related-issues-count.ts4async function getOpenRelatedIssuesCount(featureId: string): Promise<number> {
LOWsource/helpers/rgh-links.tsx24export function getFeatureRelatedIssuesQuery(id: string): string {
LOWsource/helpers/rgh-links.tsx31export function getFeatureRelatedIssuesUrl(id: string): URL {
LOWsource/helpers/hotfix.tsx72export async function getLocalHotfixesAsOptions(): Promise<Partial<RghOptions>> {
Fake / Example Data22 hits · 31 pts
SeverityFileLineSnippet
LOWsource/github-helpers/index.test.ts84 assert.isTrue(isUsernameAlreadyFullName('johndoe', 'John Doe'));
LOWsource/github-helpers/index.test.ts85 assert.isTrue(isUsernameAlreadyFullName('john-doe', 'John Doe'));
LOWsource/github-helpers/prevent-link-loss.test.ts44 'lorem ipsum dolor https://github.com/refined-github/refined-github/pull/3/commits/cb44a4eb8cd5c66def3dc26dca0f386645
LOWsource/github-helpers/prevent-link-loss.test.ts46 'lorem ipsum dolor [`cb44a4e` (#3)](https://github.com/refined-github/refined-github/pull/3/commits/cb44a4eb8cd5c66def
LOWsource/github-helpers/prevent-link-loss.test.ts51 'lorem ipsum dolor https://github.com/refined-github/refined-github/pull/44/commits/cb44a4eb8cd5c66def3dc26dca0f3866
LOWsource/github-helpers/prevent-link-loss.test.ts54 'lorem ipsum dolor [`cb44a4e` (#44)](https://github.com/refined-github/refined-github/pull/44/commits/cb44a4eb8cd5c66d
LOWsource/github-helpers/prevent-link-loss.test.ts66 'lorem ipsum dolor https://github.com/refined-github/refined-github/pull/3205/commits/1da152b3f8c51dd72d8ae6ad9cc96e0
LOWsource/github-helpers/prevent-link-loss.test.ts68 'lorem ipsum dolor [`1da152b` (#3205)](https://github.com/refined-github/refined-github/pull/3205/commits/1da152b3f8c5
LOWsource/github-helpers/prevent-link-loss.test.ts73 'lorem ipsum dolor https://github.com/refined-github/refined-github/pull/3205/commits/b0ac07948f9d30a760bda25a7106011
LOWsource/github-helpers/prevent-link-loss.test.ts75 'lorem ipsum dolor [`b0ac079` (#3205)](https://github.com/refined-github/refined-github/pull/3205/commits/b0ac07948f9d
LOWsource/github-helpers/prevent-link-loss.test.ts81 'lorem ipsum dolor https://github.com/refined-github/refined-github/pull/3205/commits/1da152b3f8c51dd72d8ae6ad9cc96e
LOWsource/github-helpers/prevent-link-loss.test.ts84 'lorem ipsum dolor [`1da152b` (#3205)](https://github.com/refined-github/refined-github/pull/3205/commits/1da152b3f8c5
LOWsource/github-helpers/prevent-link-loss.test.ts105 'lorem ipsum dolor https://github.com/refined-github/refined-github/pull/3205/commits/b0ac07948f9d30a760bda25a7106011
LOWsource/github-helpers/prevent-link-loss.test.ts107 'lorem ipsum dolor [`b0ac079` (this PR)](https://github.com/refined-github/refined-github/pull/3205/commits/b0ac07948f
LOWsource/github-helpers/prevent-link-loss.test.ts138 'lorem ipsum dolor https://github.com/refined-github/refined-github/compare/main...incremental-tag-changelog-link#dif
LOWsource/github-helpers/prevent-link-loss.test.ts140 'lorem ipsum dolor [`main...incremental-tag-changelog-link`#diff-5b3cf6bcc7](https://github.com/refined-github/refined
LOWsource/github-helpers/prevent-link-loss.test.ts145 'lorem ipsum dolor https://github.com/sindresorhus/got/compare/v11.5.2...v11.6.0#diff-6be2971b2bb8dbf48d15ff680dd898
LOWsource/github-helpers/prevent-link-loss.test.ts148 'lorem ipsum dolor [sindresorhus/got@`v11.5.2...v11.6.0`#diff-6be2971b2b](https://github.com/sindresorhus/got/compare/
LOWsource/github-helpers/prevent-link-loss.test.ts189 'lorem ipsum dolor https://github.com/eslint/eslint/discussions/15898?sort=top some random string',
LOWsource/github-helpers/prevent-link-loss.test.ts191 'lorem ipsum dolor [eslint/eslint#15898](https://github.com/eslint/eslint/discussions/15898?sort=top) some random stri
LOWsource/github-helpers/prevent-link-loss.test.ts196 'lorem ipsum dolor https://github.com/eslint/eslint/discussions/15898?sort=top#discussion-4086661 some random string
LOWsource/github-helpers/prevent-link-loss.test.ts199 'lorem ipsum dolor [eslint/eslint#15898 (comment)](https://github.com/eslint/eslint/discussions/15898?sort=top#discuss
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICALsource/features/unreleased-commits.tsx60 const aheadBy = repository.defaultBranchRef.target.history.nodes.findIndex((node: AnyObject) =>