Repository Analysis

koreader/koreader

An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices

0.3 Likely human-written View on GitHub
0.3
Adjusted Score
0.3
Raw Score
100%
Time Factor
2026-05-30
Last Push
27,036
Stars
Lua
Language
219,563
Lines of Code
710
Files
59
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 2LOW 57

Pattern Findings

59 matches across 8 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers29 hits · 32 pts
SeverityFileLineSnippet
LOWtools/logcat.py196 def _check_for_birth_or_death(self, rec):
LOWtools/logcat.py220 def _update_packages_and_pids(self, rec):
LOWtools/ja_keyboard_generate.py102def generate_alphabet_shift_cycle(letter):
LOWfrontend/pluginloader.lua158local function sandboxPluginEventHandlers(plugin)
LOWfrontend/docsettings.lua101local function getOrderedLocationCandidates()
LOWfrontend/ui/wikipedia.lua134local function getWikimediaThumbnailStep(width)
LOWfrontend/ui/elements/common_settings_menu_table.lua597local function genMetadataFolderMenuItem(value)
LOWfrontend/ui/elements/menu_keyboard_layout.lua19local function getOrderedActivatedKeyboardLayouts()
LOWfrontend/ui/elements/menu_keyboard_layout.lua38local function getActivatedKeyboardsStringCount(compact)
LOWfrontend/ui/elements/menu_keyboard_layout.lua48local function genKeyboardLayoutsSubmenu()
LOWfrontend/document/koptinterface.lua480 local function buildOptimizedFullPageTile()
LOWfrontend/document/koptinterface.lua491 local function buildOptimizedPagePartTile()
LOWfrontend/device/gesturedetector.lua1392local function translateMultiswipeGesDirCoordinate(multiswipe_directions, translation_table)
LOWfrontend/device/kindle/device.lua104local function kindleAuthenticateNetwork(essid)
LOWfrontend/apps/reader/modules/readerstyletweak.lua473local function dispatcherRegisterStyleTweak(tweak_id, tweak_title)
LOWfrontend/apps/reader/modules/readerlink.lua276local function isLargerTapAreaToFollowLinksEnabled()
LOWfrontend/apps/reader/modules/readerlink.lua280local function isTapIgnoreExternalLinksEnabled()
LOWfrontend/apps/reader/modules/readerlink.lua284local function isFootnoteLinkInPopupEnabled()
LOWfrontend/apps/reader/modules/readerlink.lua296local function isSwipeToFollowNearestLinkEnabled()
LOWfrontend/apps/reader/modules/readerlink.lua300local function isSwipeIgnoreExternalLinksEnabled()
LOWfrontend/apps/reader/modules/readerlink.lua304local function isSwipeToJumpToLatestBookmarkEnabled()
LOWfrontend/apps/filemanager/filemanagercollection.lua506 local function genFilterByMetadataButton(button_prop)
LOWplugins/hotkeys.koplugin/main.lua288local function attachNewTableToExistingTable(original_table, second_table)
LOWplugins/newsdownloader.koplugin/main.lua298local function parseCommaSeparatedOption(opt)
LOWplugins/profiles.koplugin/main.lua64local function dispatcherRegisterProfile(name)
LOWplugins/profiles.koplugin/main.lua69local function dispatcherUnregisterProfile(name)
LOWplugins/bookshortcuts.koplugin/main.lua24local function dispatcherRegisterShortcut(name)
LOWspec/unit/readhistory_spec.lua310 local function testAutoRemoveDeletedItems()
LOWspec/unit/readhistory_spec.lua329 local function testDoNotAutoRemoveDeletedItems()
Fake / Example Data12 hits · 16 pts
SeverityFileLineSnippet
LOWfrontend/apps/reader/modules/readerdictionary.lua644 local preview_definition = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " ..
LOWfrontend/apps/reader/modules/readerdictionary.lua644 local preview_definition = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " ..
LOWspec/unit/newsdownloader_url_normalization_spec.lua14 <title>Lorem Ipsum Feed</title>
LOWspec/unit/newsdownloader_url_normalization_spec.lua16 <description>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</description>
LOWspec/unit/newsdownloader_url_normalization_spec.lua16 <description>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</description>
LOWspec/unit/newsdownloader_url_normalization_spec.lua19 <title><![CDATA[Lorem Ipsum Article]]></title>
LOWspec/unit/newsdownloader_url_normalization_spec.lua23 <description><![CDATA[Lorem ipsum dolor sit amet, consectetur adipiscing elit.]]></description>
LOWspec/unit/newsdownloader_url_normalization_spec.lua23 <description><![CDATA[Lorem ipsum dolor sit amet, consectetur adipiscing elit.]]></description>
LOWspec/unit/newsdownloader_url_normalization_spec.lua24 <content:encoded><![CDATA[Lorem ipsum dolor sit amet, consectetur adipiscing elit.]]></content:encoded>
LOWspec/unit/newsdownloader_url_normalization_spec.lua24 <content:encoded><![CDATA[Lorem ipsum dolor sit amet, consectetur adipiscing elit.]]></content:encoded>
LOWspec/unit/newsdownloader_url_normalization_spec.lua54 assert.equals("Lorem Ipsum Feed", feeds.rss.channel.title)
LOWspec/unit/newsdownloader_url_normalization_spec.lua59 assert.equals("Lorem Ipsum Article", first_item.title)
Redundant / Tautological Comments9 hits · 14 pts
SeverityFileLineSnippet
LOWplatform/kindle/libkohelper.sh18## Check if we have an FBInk binary available somewhere...
LOWplatform/kindle/koreader.sh243 # Check if KPVBooklet was launched more than once, if not we will disable pillow
LOWplatform/kindle/extensions/koreader/bin/koreader-ext.sh33 # Check if we were called by install_koreader...
LOWplatform/cervantes/koreader.sh129 # Check if the user requested to always abort on crash
LOWplatform/remarkable/koreader.sh146 # Check if the swap has been disabled...
LOWplatform/remarkable/koreader.sh196 # Check if the user requested to always abort on crash
LOWplatform/kobo/koreader.sh181 # Check if Nickel is our parent...
LOWplatform/kobo/koreader.sh358 # Check if the swap has been disabled...
LOWplatform/kobo/koreader.sh434 # Check if the user requested to always abort on crash
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMtools/mkrelease.sh331 # Create the initial uncompressed TAR file.
MEDIUMtools/mkrelease.sh337 # Create the final TAR.XZ file.
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippet
LOWtools/ja_keyboard_generate.py1#!/usr/bin/env python3
LOWplatform/mac/do_mac_bundle.sh1#!/bin/bash
LOWplatform/kobo/koreader.sh61 # but it unfortunately defaults to its lowest possible setting...
LOWplatform/kobo/koreader.sh301
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippet
LOWtools/ja_keyboard_generate.py130# NOTE: If we ever want to enable looping for these modifiers, just set
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWtools/ja_keyboard_generate.py15
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippet
LOWfrontend/device/kindle/device.lua768 -- Don't forget to flag ourselves in ScreenSaver mode like Screensaver:show would,