Repository Analysis

philc/vimium

The hacker's browser.

1.9 Likely human-written View on GitHub
1.9
Adjusted Score
1.9
Raw Score
100%
Time Factor
2026-05-26
Last Push
26,544
Stars
JavaScript
Language
24,294
Lines of Code
115
Files
45
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 45

Pattern Findings

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

Over-Commented Block31 hits · 31 pts
SeverityFileLineSnippet
LOWtests/dom_tests/dom_tests.js201};
LOWtests/dom_tests/dom_tests.js221// "month", "number", "password", "radio", "range", "reset", "search", "submit", "tel", "text",
LOWtests/dom_tests/dom_tests.js241
LOWtests/dom_tests/dom_tests.js961// disrepair, or we merged changes to master and neglected to update the tests. We should return to
LOWtests/dom_tests/dom_tests.js981// assert.isFalse(this.initialVisualMode.modeIsActive);
LOWtests/dom_tests/dom_tests.js1001// assert.equal("i", getSelection());
LOWtests/dom_tests/dom_tests.js1021
LOWtests/dom_tests/dom_tests.js1041// // TODO(philc): Re-enable
LOWtests/dom_tests/dom_tests.js1061
LOWtests/dom_tests/dom_tests.js1081
LOWtests/dom_tests/dom_tests.js1101// assert.equal("a", getSelection());
LOWtests/dom_tests/dom_utils_test.js121// document.getElementById("test-div").innerHTML = """
LOWlib/utils.js241 // Logs a backtrace when an assertion fails, and also halts execution by throwing an error. We do
LOWlib/settings.js61# More examples.
LOWpages/vomnibar_page.js281 // - If they've activated a custom search engine in the Vomnibar, launch that search using the
LOWcontent_scripts/scroller.js1// activatedElement is different from document.activeElement -- the latter seems to be reserved
LOWcontent_scripts/mode_visual.js41 /[_0-9\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u0
LOWcontent_scripts/ui_component.js1// A UIComponent is an iframe containing a Vimium extension page, like the Vomnibar. This class
LOWcontent_scripts/ui_component.js21 shadowDOM;
LOWcontent_scripts/mode_key_handler.js1// Example key mapping (@keyMapping):
LOWcontent_scripts/link_hints.js1//
LOWcontent_scripts/mode.js1//
LOWbackground_scripts/tab_recency.js1// TabRecency associates an integer with each tab id representing how recently it has been accessed.
LOWbackground_scripts/reload.js21}
LOWbackground_scripts/all_commands.js1// This is the order they will be shown in the help dialog.
LOWbackground_scripts/completion/completers.js1// This file contains the definition of the completers used for the Vomnibar's suggestion UI. A
LOWbackground_scripts/completion/completers.js161 let textPosition = 0;
LOWbackground_scripts/completion/completers.js241 }
LOWbackground_scripts/completion/search_engines.js1// An engine provides search suggestions for a online search engine.
LOWbackground_scripts/completion/search_engines.js21// "description" and an "explanation". This info is shown as documentation to the user.
LOWbackground_scripts/completion/ranking.js141 // Get rexexp for `string` from cache, creating it if necessary.
Hyper-Verbose Identifiers9 hits · 9 pts
SeverityFileLineSnippet
LOWmake.js94async function checkForCommonBuildIssues() {
LOWmake.js114async function checkFilesFromManifestArePresent(manifest) {
LOWmake.js272function setupPuppeteerPageForTests(page) {
LOWpages/command_listing.js17function replaceBackticksWithCodeTags(str) {
LOWpages/hud_page.js80function ensureClipboardIsAvailable() {
LOWpages/ui_component_messenger.js8export async function registerPortWithOwnerPage(event) {
LOWpages/ui_component_messenger.js57function dispatchReadyEventWhenReady() {
LOWbackground_scripts/main.js820async function showUpgradeMessageIfNecessary(onInstalledDetails) {
LOWbackground_scripts/main.js860async function injectContentScriptsAndCSSIntoExistingTabs() {
Fake / Example Data5 hits · 7 pts
SeverityFileLineSnippet
LOWtests/dom_tests/dom_tests.js624<a href='#first'>lorem ipsum next</a>
LOWtest_harnesses/vomnibar_harness.html16 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
LOWtest_harnesses/vomnibar_harness.html16 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
LOWtest_harnesses/vomnibar_harness.html25 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut
LOWtest_harnesses/vomnibar_harness.html25 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut