AI Slop Code RIsk Monitor

janeczku/calibre-web

:books: Web app for browsing, reading and downloading eBooks stored in a Calibre database

6.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for janeczku/calibre-web, a Fluent project with 18,358 GitHub stars. SynthScan examined 152,295 lines of code across 434 source files, recording 659 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 6.5 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

6.5
Adjusted Signal
6.5
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
18.4K
Stars
Fluent
Language
152.3K
Lines of Code
434
Files
659
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 18.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 441 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.1/100 · LOW

Are imports declared and package/API names verified? 80 finding(s).

Agent Over-Engineering Ratio 12.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 278 finding(s).

PR Review Velocity Impact 28.6/100 · MEDIUM

Which changes need focused human review? 659 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 4HIGH 25MEDIUM 104LOW 526

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 659 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Self-Referential Comments83 hits · 247 pts
SeverityFileLineSnippetContext
MEDIUMcps.py4# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/subproc_wrapper.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/themes.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/search_metadata.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/gevent_wsgi.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/db.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/isoLanguages.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/server.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/shelf.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/cover.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/web.py1# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/string_helper.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/mobi.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/kobo_sync_status.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/ub.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/embed_helper.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/oauth_bb.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/fb2.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/constants.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/file_helper.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/uploader.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/converter.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/__init__.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/editbooks.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/debug_info.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/about.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/logger.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/gdriveutils.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/updater.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/opds.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/comic.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/admin.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/cli.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/kobo_auth.py4# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/kobo_auth.py21"""This module is used to control authentication/authorization of Kobo sync requests.STRING
MEDIUMcps/basic.py1# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/fs.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/cache_buster.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/gdrive.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/helper.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/jinjia.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/usermanagement.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/search.py1# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/tornado_wsgi.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/audio.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/error_handler.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/kobo.py4# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/tasks_status.py1# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/config_sql.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/schedule.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/pagination.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/clean_html.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/remotelogin.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/MyLoginManager.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/main.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/epub.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/render_template.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/epub_helper.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/oauth.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
MEDIUMcps/iso_language_names.py3# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
23 more matches not shown…
Hyper-Verbose Identifiers139 hits · 142 pts
SeverityFileLineSnippetContext
LOWcps/search_metadata.py57def _sanitize_metadata_record(record):CODE
LOWcps/search_metadata.py66def _serialize_metadata_records(records):CODE
LOWcps/search_metadata.py130def metadata_change_active_provider(prov_name):CODE
LOWcps/db.py863 def fill_indexpage_with_archived_books(self, page, database, pagesize, db_filter, order, allow_show_archived,CODE
LOWcps/isoLanguages.py70def get_language_code_from_name(locale, language_names, remainder=None):CODE
LOWcps/isoLanguages.py83def get_valid_language_codes_from_code(locale, language_names, remainder=None):CODE
LOWcps/server.py100 def _make_gevent_socket_activated():CODE
LOW⚡cps/shelf.py342def check_shelf_edit_permissions(cur_shelf):CODE
LOW⚡cps/shelf.py352def check_shelf_view_permissions(cur_shelf):CODE
LOWcps/ub.py69def signal_store_user_session(object, user):CODE
LOWcps/ub.py205 def list_denied_column_values(self):CODE
LOWcps/ub.py209 def list_allowed_column_values(self):CODE
LOWcps/ub.py580def migrate_registration_table(engine, _session):CODE
LOWcps/ub.py594def migrate_user_session_table(engine, _session):CODE
LOWcps/ub.py606def migrate_remote_auth_token_table(engine, _session):CODE
LOWcps/oauth_bb.py218def generate_oauth_blueprints():CODE
LOWcps/editbooks.py593def table_xchange_author_title():CODE
LOWcps/editbooks.py878def prepare_authors_on_upload(title, authr):CODE
LOWcps/editbooks.py1067def render_delete_book_result(book_format, book_id, location=""):CODE
LOWcps/editbooks.py1683def create_objects_for_addition(db_element, add_element, db_type):CODE
LOWcps/gdriveutils.py614def get_metadata_backup_via_gdrive(metadata_path):CODE
LOWcps/updater.py424 def _nightly_available_updates(self, request_method):CODE
LOWcps/updater.py481 def _stable_updater_set_status(self, i, newer, status, parents, commit):CODE
LOWcps/updater.py502 def _stable_updater_parse_major_version(self, commit, i, parents, current_version, status):CODE
LOWcps/updater.py527 def _stable_available_updates(self, request_method):CODE
LOWcps/opds.py450def get_metadata_calibre_companion(uuid, library):CODE
LOWcps/comic.py71def _extract_cover_from_archive(original_file_extension, tmp_file_name, rar_executable):CODE
LOWcps/cw_babel.py40def get_available_translations():CODE
LOWcps/admin.py574def update_view_configuration():CODE
LOWcps/admin.py974def check_valid_restricted_column(column):CODE
LOWcps/admin.py1133def _validate_reverse_proxy_trusted_ips(value):CODE
LOWcps/admin.py1152def _validate_reverse_proxy_header_name(value, label):CODE
LOWcps/admin.py1158def _configuration_gdrive_helper(to_save):CODE
LOWcps/admin.py1189def _configuration_oauth_helper(to_save):CODE
LOWcps/admin.py1211def _configuration_logfile_helper(to_save):CODE
LOWcps/admin.py1227def _configuration_ldap_helper(to_save):CODE
LOWcps/admin.py1744def _db_configuration_update_helper():CODE
LOWcps/admin.py1814def _configuration_update_helper():CODE
LOWcps/admin.py2193def extract_user_data_from_field(user, field):CODE
LOWcps/admin.py2201def extract_dynamic_field_from_filter(user, filtr):CODE
LOWcps/kobo_auth.py137def disable_failed_auth_redirect_for_blueprint(bp):CODE
LOWcps/kobo_auth.py148def register_url_value_preprocessor(kobo):CODE
LOWcps/cache_buster.py70 def reverse_to_cache_busted_url(endpoint, values):CODE
LOWcps/gdrive.py54def authenticate_google_drive():CODE
LOWcps/gdrive.py123 def on_received_watch_confirmation():CODE
LOW⚡cps/helper.py1135def clear_cover_thumbnail_cache(book_id):CODE
LOW⚡cps/helper.py1140def replace_cover_thumbnail_cache(book_id):CODE
LOW⚡cps/helper.py1150def add_book_to_thumbnail_cache(book_id):CODE
LOWcps/helper.py155def check_send_to_ereader_with_converter(formats):CODE
LOWcps/helper.py397def rename_all_files_on_change(one_book, new_path, old_path, all_new_name, gdrive=False):CODE
LOWcps/helper.py451def update_dir_structure_file(book_id, calibre_path, original_filepath, new_author, db_filename):CODE
LOWcps/helper.py500def update_dir_structure_gdrive(book_id, first_author):CODE
LOWcps/helper.py789def get_series_thumbnail_on_failure(series_id, resolution):CODE
LOWcps/helper.py800def get_series_cover_thumbnail(series_id, resolution=None):CODE
LOWcps/helper.py804def get_series_cover_internal(series_id, resolution=None):CODE
LOWcps/helper.py855def save_cover_from_filestorage(filepath, saved_filename, img):CODE
LOWcps/helper.py992def do_kepubify_metadata_replace(book, file_path):CODE
LOWcps/reverse_proxy_auth.py24def parse_trusted_proxy_networks(trusted_proxy_config):CODE
LOWcps/usermanagement.py61def requires_basic_auth_if_no_ano(f):CODE
LOWcps/usermanagement.py117def _is_request_from_trusted_reverse_proxy(req):CODE
79 more matches not shown…
Excessive Try-Catch Wrapping113 hits · 128 pts
SeverityFileLineSnippetContext
LOWcps.py61 except Exception:CODE
MEDIUMcps/db.py766def delete_dirty_metadata(self, book_id):CODE
MEDIUMcps/db.py1176def lcase(s):CODE
LOWcps/db.py541 except Exception:CODE
LOWcps/db.py658 except Exception:CODE
LOWcps/db.py709 except Exception as ex:CODE
LOWcps/db.py901 except Exception as ex:CODE
LOWcps/db.py985 except Exception:CODE
LOWcps/db.py999 except Exception as ex:CODE
LOWcps/db.py1179 except Exception as ex:CODE
LOWcps/server.py223 except Exception:CODE
LOWcps/server.py280 except Exception:CODE
LOWcps/server.py300 except Exception as ex:CODE
MEDIUMcps/server.py302 print("Error starting server: %s" % ex)CODE
MEDIUMcps/server.py293def start(self):CODE
LOW⚡cps/shelf.py359 except Exception as e:CODE
LOWcps/shelf.py402 except Exception as ex:CODE
MEDIUMcps/shelf.py352def check_shelf_view_permissions(cur_shelf):CODE
LOWcps/web.py203 except Exception as ex:CODE
LOWcps/web.py1310 except Exception as ex:CODE
LOWcps/web.py1333 except Exception:CODE
LOWcps/web.py1503 except Exception as ex:CODE
MEDIUMcps/web.py706def render_language_books(page, name, order):CODE
LOWcps/mobi.py296 except Exception as ex:CODE
LOW⚡cps/ub.py673 except Exception:CODE
LOW⚡cps/ub.py690 except Exception:CODE
LOWcps/ub.py734 except Exception:CODE
LOWcps/ub.py766 except Exception:CODE
LOWcps/ub.py771 except Exception:CODE
MEDIUMcps/ub.py94def delete_user_session(user_id, session_key):CODE
LOWcps/oauth_bb.py160 except Exception as ex:CODE
LOWcps/oauth_bb.py208 except Exception as ex:CODE
LOWcps/uploader.py111 except Exception as ex:CODE
LOWcps/uploader.py145 except Exception as ex:CODE
LOWcps/uploader.py193 except Exception as exc:CODE
LOWcps/uploader.py262 except Exception as ex:CODE
LOWcps/converter.py45 except Exception as ex:CODE
LOWcps/__init__.py219 except Exception as e:CODE
LOWcps/editbooks.py774 except Exception as ex:CODE
LOWcps/editbooks.py1126 except Exception as ex:CODE
LOWcps/editbooks.py1154 except Exception as ex:CODE
LOWcps/logger.py199 except Exception:CODE
MEDIUMcps/logger.py192def write(self, message):CODE
LOWcps/gdriveutils.py182 except Exception as ex:CODE
LOWcps/gdriveutils.py199 except Exception as ex:CODE
LOWcps/gdriveutils.py252 except Exception:CODE
LOWcps/gdriveutils.py531 except Exception as ex:CODE
MEDIUMcps/gdriveutils.py130def __init__(self):CODE
LOWcps/updater.py372 except Exception:CODE
LOWcps/comic.py102 except Exception as ex:CODE
MEDIUMcps/admin.py693def delete_domain():CODE
LOWcps/admin.py411 except Exception as ex:CODE
LOWcps/admin.py547 except Exception as ex:CODE
LOWcps/admin.py1073 except Exception:CODE
LOWcps/admin.py1081 except Exception:CODE
LOWcps/admin.py1355 except Exception as ex:CODE
LOWcps/admin.py1376 except Exception as e:CODE
LOWcps/admin.py1603 except Exception:CODE
LOWcps/admin.py1638 except Exception as ex:CODE
LOWcps/admin.py1658 except Exception as ex:CODE
53 more matches not shown…
Empty Error Handlers24 hits · 120 pts
SeverityFileLineSnippetContext
HIGHcps.py61except Exception:CODE
HIGHcps/search_metadata.py138except AttributeError:CODE
HIGHcps/db.py1166except sqliteOperationalError:CODE
HIGHcps/db.py848except KeyError:CODE
HIGHcps/web.py926except AttributeError:CODE
HIGHcps/mobi.py182except UnicodeDecodeError:CODE
HIGHcps/ub.py224except AttributeError:CODE
HIGHcps/ub.py766except Exception:CODE
HIGHcps/ub.py771except Exception:CODE
HIGHcps/oauth_bb.py41except NameError:CODE
HIGHcps/admin.py703except KeyError:CODE
HIGHcps/admin.py562except AttributeError:CODE
HIGHcps/admin.py1349except AttributeError:CODE
HIGHcps/gdrive.py157except AttributeError:CODE
HIGHcps/gdrive.py113except (HttpError, AttributeError):CODE
HIGHcps/error_handler.py72except Exception:CODE
HIGHcps/kobo.py230except AttributeError:CODE
HIGHcps/kobo.py245except AttributeError:CODE
HIGHcps/config_sql.py431except AttributeError:CODE
HIGHcps/config_sql.py594except ValueError:CODE
HIGHcps/oauth.py26except ImportError:CODE
HIGHcps/tasks/clean.py38except FileNotFoundError:CODE
HIGHcps/metadata_provider/amazon.py26except ImportError:CODE
HIGHcps/services/simpleldap.py28except ImportError:CODE
Over-Commented Block109 hits · 107 pts
SeverityFileLineSnippetContext
LOWcps.py1#!/usr/bin/env pythonCOMMENT
LOWqodana.yaml1#-------------------------------------------------------------------------------#COMMENT
LOWcps/subproc_wrapper.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/themes.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/search_metadata.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/gevent_wsgi.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/db.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/isoLanguages.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/server.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/shelf.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/cover.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/web.py1# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
LOWcps/string_helper.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/mobi.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/kobo_sync_status.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/ub.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/redirect.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/embed_helper.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/oauth_bb.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/fb2.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/constants.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/file_helper.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/uploader.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/converter.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/__init__.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/editbooks.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/debug_info.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/about.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/logger.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/gdriveutils.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/gdriveutils.py441 "mimeType": "application/vnd.google-apps.folder"})COMMENT
LOWcps/updater.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/opds.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/comic.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/admin.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/cli.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/kobo_auth.py1#!/usr/bin/env pythonCOMMENT
LOWcps/basic.py1# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
LOWcps/fs.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/cache_buster.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/gdrive.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/helper.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/jinjia.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/usermanagement.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/search.py1# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
LOWcps/tornado_wsgi.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/audio.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/error_handler.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/kobo.py1#!/usr/bin/env pythonCOMMENT
LOWcps/tasks_status.py1# This file is part of the Calibre-Web (https://github.com/janeczku/calibre-web)COMMENT
LOWcps/config_sql.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/schedule.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/pagination.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/clean_html.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/remotelogin.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/MyLoginManager.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/main.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/epub.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/render_template.py1# -*- coding: utf-8 -*-COMMENT
LOWcps/epub_helper.py1# -*- coding: utf-8 -*-COMMENT
49 more matches not shown…
Deep Nesting92 hits · 80 pts
SeverityFileLineSnippetContext
LOWcps/db.py122CODE
LOWcps/db.py167CODE
LOWcps/db.py511CODE
LOWcps/db.py567CODE
LOWcps/db.py863CODE
LOWcps/server.py154CODE
LOWcps/shelf.py107CODE
LOWcps/shelf.py153CODE
LOWcps/shelf.py466CODE
LOWcps/web.py377CODE
LOWcps/web.py839CODE
LOWcps/web.py1198CODE
LOWcps/web.py1393CODE
LOWcps/web.py1573CODE
LOWcps/dep_check.py24CODE
LOWcps/dep_check.py75CODE
LOWcps/embed_helper.py29CODE
LOWcps/oauth_bb.py128CODE
LOWcps/file_helper.py63CODE
LOWcps/uploader.py90CODE
LOWcps/uploader.py184CODE
LOWcps/editbooks.py108CODE
LOWcps/editbooks.py331CODE
LOWcps/editbooks.py472CODE
LOWcps/editbooks.py555CODE
LOWcps/editbooks.py634CODE
LOWcps/editbooks.py813CODE
LOWcps/editbooks.py1021CODE
LOWcps/editbooks.py1076CODE
LOWcps/editbooks.py1108CODE
LOWcps/editbooks.py1337CODE
LOWcps/editbooks.py1412CODE
LOWcps/editbooks.py1459CODE
LOWcps/editbooks.py1645CODE
LOWcps/editbooks.py1683CODE
LOWcps/gdriveutils.py277CODE
LOWcps/updater.py162CODE
LOWcps/updater.py213CODE
LOWcps/updater.py263CODE
LOWcps/updater.py341CODE
LOWcps/updater.py527CODE
LOWcps/comic.py71CODE
LOWcps/comic.py119CODE
LOWcps/comic.py140CODE
LOWcps/admin.py210CODE
LOWcps/admin.py452CODE
LOWcps/admin.py622CODE
LOWcps/admin.py850CODE
LOWcps/admin.py898CODE
LOWcps/admin.py1573CODE
LOWcps/admin.py2103CODE
LOWcps/cli.py54CODE
LOWcps/cache_buster.py31CODE
LOWcps/helper.py266CODE
LOWcps/helper.py282CODE
LOWcps/helper.py309CODE
LOWcps/helper.py358CODE
LOWcps/helper.py397CODE
LOWcps/helper.py425CODE
LOWcps/helper.py533CODE
32 more matches not shown…
Hallucination Indicators4 hits · 55 pts
SeverityFileLineSnippetContext
CRITICAL⚡cps/static/js/libs/epub.min.js1!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof dCODE
CRITICALcps/static/js/libs/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICAL⚡…atic/js/libs/bootstrap-table/bootstrap-editable.min.js5!function(a){"use strict";var b=function(b,c){this.options=a.extend({},a.fn.editableform.defaults,c),this.$div=a(b),thisCODE
CRITICAL⚡…atic/js/libs/bootstrap-table/bootstrap-editable.min.js7daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","AuguCODE
Unused Imports58 hits · 50 pts
SeverityFileLineSnippetContext
LOWcps/subproc_wrapper.py19CODE
LOWcps/search_metadata.py22CODE
LOWcps/cover.py19CODE
LOWcps/web.py50CODE
LOWcps/web.py50CODE
LOWcps/mobi.py19CODE
LOWcps/gdriveutils.py25CODE
LOWcps/comic.py25CODE
LOWcps/admin.py76CODE
LOWcps/tornado_wsgi.py32CODE
LOWcps/tornado_wsgi.py33CODE
LOWcps/schedule.py22CODE
LOWcps/tasks/convert.py22CODE
LOWcps/metadata_provider/amazon.py25CODE
LOWcps/cw_login/__init__.py2CODE
LOWcps/cw_login/__init__.py3CODE
LOWcps/cw_login/__init__.py4CODE
LOWcps/cw_login/__init__.py5CODE
LOWcps/cw_login/__init__.py6CODE
LOWcps/cw_login/__init__.py7CODE
LOWcps/cw_login/__init__.py8CODE
LOWcps/cw_login/__init__.py9CODE
LOWcps/cw_login/__init__.py10CODE
LOWcps/cw_login/__init__.py11CODE
LOWcps/cw_login/__init__.py12CODE
LOWcps/cw_login/__init__.py13CODE
LOWcps/cw_login/__init__.py14CODE
LOWcps/cw_login/__init__.py15CODE
LOWcps/cw_login/__init__.py16CODE
LOWcps/cw_login/__init__.py17CODE
LOWcps/cw_login/__init__.py18CODE
LOWcps/cw_login/__init__.py19CODE
LOWcps/cw_login/__init__.py20CODE
LOWcps/cw_login/__init__.py21CODE
LOWcps/cw_login/__init__.py22CODE
LOWcps/cw_login/__init__.py23CODE
LOWcps/cw_login/__init__.py25CODE
LOWcps/cw_login/__init__.py26CODE
LOWcps/cw_login/__init__.py27CODE
LOWcps/cw_login/__init__.py28CODE
LOWcps/cw_login/__init__.py29CODE
LOWcps/cw_login/__init__.py30CODE
LOWcps/cw_login/__init__.py31CODE
LOWcps/cw_login/__init__.py32CODE
LOWcps/cw_login/__init__.py33CODE
LOWcps/cw_login/__init__.py34CODE
LOWcps/cw_login/__init__.py35CODE
LOWcps/cw_login/__init__.py36CODE
LOWcps/cw_login/__init__.py37CODE
LOWcps/cw_advocate/__init__.py19CODE
LOWcps/cw_advocate/__init__.py20CODE
LOWcps/cw_advocate/__init__.py21CODE
LOWcps/cw_advocate/__init__.py22CODE
LOWcps/services/background_scheduler.py19CODE
LOWcps/services/background_scheduler.py26CODE
LOWcps/services/SyncToken.py20CODE
LOWcps/services/simpleldap.py19CODE
LOWcps/services/simpleldap.py27CODE
Fake / Example Data18 hits · 24 pts
SeverityFileLineSnippetContext
LOW⚡cps/ub.py681 user.email = "admin@example.org"CODE
LOWcps/static/js/libs/wysihtml5-0.0.3.js51 this.setAttr('placeholder');CODE
LOW⚡cps/static/js/libs/viewer.js2370 input: ["alt", "placeholder"],CODE
LOW⚡cps/static/js/libs/viewer.js2377 textarea: ["placeholder"],CODE
LOW⚡cps/static/js/libs/viewer.js2385 textbox: ["placeholder", "value"]CODE
LOWcps/static/js/libs/wysihtml5-0.3.0.min.js110hasCurrentStyleProperty:function(){return"currentStyle"in c},insertsLineBreaksOnReturn:function(){return d},supportsPlacCODE
LOWcps/static/js/libs/wysihtml5-0.3.0.min.js156(function(b){b.simulatePlaceholder=function(c,a,d){var e=function(){a.hasPlaceholderSet()&&a.clear();b.removeClass(a.eleCODE
LOW⚡cps/static/js/libs/wysihtml5-0.3.0.min.js218this.hasPlaceholderSet()&&this.clear();this.base();var c=this.element.lastChild;a&&c&&("BR"===c.nodeName?this.selection.CODE
LOW⚡cps/static/js/libs/wysihtml5-0.3.0.min.js221e),c.addClass(this.iframe,e));(e="string"===typeof this.config.placeholder?this.config.placeholder:this.textarea.elementCODE
LOW⚡cps/static/js/libs/wysihtml5-0.3.0.min.js228q=p.hasAttribute("placeholder"),r=q&&p.getAttribute("placeholder");this.focusStylesHost=this.focusStylesHost||e.cloneNodCODE
LOW⚡cps/static/js/libs/wysihtml5-0.3.0.min.js229var m=b.lang.array(g).without(["display"]);n?n.focus():p.blur();q&&p.setAttribute("placeholder",r);if(!b.browser.hasCurrCODE
LOWcps/static/js/libs/wysihtml5-0.3.0.min.js240wysihtml5.views.Textarea=wysihtml5.views.View.extend({name:"textarea",constructor:function(b,c,a){this.base(b,c,a);this.CODE
LOW⚡cps/static/js/libs/tinymce/tinymce.min.js9!function(){"use strict";function r(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"obCODE
LOWcps/static/js/libs/tinymce/themes/silver/theme.min.js9!function(){"use strict";function t(o){return function(t){return e=typeof(n=t),(null===n?"null":"object"==e&&(Array.protCODE
LOW⚡…atic/js/libs/bootstrap-table/bootstrap-editable.min.js5!function(a){"use strict";var b=function(b,c){this.options=a.extend({},a.fn.editableform.defaults,c),this.$div=a(b),thisCODE
LOW⚡…atic/js/libs/bootstrap-table/bootstrap-editable.min.js7daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","AuguCODE
LOWtest/Calibre-Web TestSummary_Linux.html2962AssertionError: 'series' unexpectedly found in {'id': 5, 'reader': [], 'title': 'tesCODE
LOWtest/Calibre-Web TestSummary_Linux.html2962AssertionError: 'series' unexpectedly found in {'id': 5, 'reader': [], 'title': 'tesCODE
AI Slop Vocabulary5 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMcps/static/js/libs/compromise.min.js3!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
MEDIUM⚡cps/static/js/libs/epub.min.js1!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof dCODE
MEDIUM⚡cps/static/js/libs/epub.min.js1!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("JSZip")):"function"==typeof dCODE
MEDIUM⚡cps/static/js/libs/tinymce/tinymce.min.js9!function(){"use strict";function r(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"obCODE
MEDIUM⚡cps/static/js/libs/tinymce/tinymce.min.js9!function(){"use strict";function r(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"obCODE
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWcps/db.py978 # Check if FTS5 table exists before attempting searchCOMMENT
LOWcps/db.py1090 # Check if there are more resultsCOMMENT
LOWcps/updater.py573 # Check if major versions are identical search for newest non-equal commit and update to this oneCOMMENT
LOWcps/helper.py202# Check if a reader is existing for any of the book formats, if not, return empty list, otherwise returnCOMMENT
LOWcps/tasks/thumbnail.py99 # Check if job has been cancelled or endedCOMMENT
LOWcps/tasks/thumbnail.py296 # Check if job has been cancelled or endedCOMMENT
LOWcps/metadata_provider/lubimyczytac.py278 # Check if book is not a bundle, i.e. chapter 1-3COMMENT
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHcps/gdriveutils.py476Watch for any changes to a specific file. Args: service: Drive API service instance. file_id: ID of the fileSTRING
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcps/helper.py139 txt += _("Don't forget to change your password after your first login.") + "\r\n"CODE
LOWcps/services/gmail.py52 # don't forget to dump one more time after the refreshCOMMENT
LOWcps/services/gmail.py52 # don't forget to dump one more time after the refreshCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcps/cw_login/__init__.py43__all__ = [CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcps/static/js/compress/libunrar.js15var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module)CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcps/cw_advocate/addrvalidator.py85CODE