Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 12:50 PM   #1
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,160
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
[GUI Plugin] Security Analysis

Security Analysis is a powerful plugin for Caliber designed to automate database diagnostics and deep file integrity checks, ensuring your library remains healthy, structured, and free of corruption.

Key Features & Technical Overview

Deep Library & Database Scanning:
* Direct interaction with Caliber's internal database (`metadata.db`) to query book records, authors, and associated formats.
* Maps relative file paths and inspects storage integrity without disrupting the main application workflow.

Advanced File Integrity Checks:
Physical Existence Verification: Scans the disk to ensure physical files actually exist and handle potential I/O errors gracefully.
EPUB Validation: Automatically checks if EPUB files are valid archives containing essential core components (`mimetype`, `META-INF/container.xml`).
PDF & Generic Format Diagnostics: Inspects headers for massive null-byte padding (`\x00`), which typically indicates disk sector failures, memory corruption, or incomplete transfers.

Smart Caching & Reporting:
Persistent Memory Cache: Automatically stores the results of your latest scan in memory so you can instantly review findings without re-scanning thousands of books.
Detailed Report Viewer: Displays clean, resizable summaries using monospaced format for quick analysis.
Export to TXT: Easily export scan summaries and diagnostic logs directly to a `.txt` file for troubleshooting or record-keeping.

Seamless Interface Integration:
Toolbar button featuring an intuitive dropdown menu for quick access: run analysis, view the last report, export data, or open preferences.

Configuration Options
Scan Depth: Toggle between fast structural checks (metadata-only) or deep physical file validation.
Automated Logging: Set preferences to automatically display error logs or summary reports immediately upon scan completion.
Check Filters: Customize specific integrity checks to suit your library management style.

This is what it looks like if there are no problems:
Code:
==================================================
CALIBER SECURITY & INTEGRITY ANALYSIS REPORT
==================================================
Total books checked: 23
Issues found: 0
------------------------------------------------------------
No security or integrity issues detected. Your library is healthy.
===========================================
And so if you find them:
Code:
========================================================
CALIBER SECURITY & INTEGRITY ANALYSIS REPORT
========================================================
Total books checked: 23
Issues found: 2
------------------------------------------------------------
[ID: 12] Don Quixote of La Mancha -> Issue: Missing format file (EPUB/PDF) in book directory.
[ID: 45] One Hundred Years of Solitude -> Issue: Corrupted or unreadable OPF metadata file.

==================================================
Generating a text file that can be exported to identify the problem that needs fixing.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	14
Size:	12.4 KB
ID:	225235   Click image for larger version

Name:	2.png
Views:	18
Size:	31.2 KB
ID:	225236   Click image for larger version

Name:	3.png
Views:	15
Size:	38.2 KB
ID:	225237  
Attached Files
File Type: zip security_analysis.zip (212.1 KB, 9 views)
dunhill is offline   Reply With Quote
Old Yesterday, 12:50 PM   #2
dunhill
Wizard
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 1,160
Karma: 1512904
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Reserved
dunhill is offline   Reply With Quote
Advert
Old Today, 02:28 AM   #3
sgmoore
Groupie
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 172
Karma: 718168
Join Date: Mar 2021
Device: Kindle Voyage
?

It's not April 1st, so what gives?
sgmoore is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Streamer - RSVP Speed Reader plugin for Calibre npapadacis Plugins 6 04-24-2026 03:00 AM
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB lrpirlet Plugins 2 08-18-2022 03:15 PM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 07:43 AM.


MobileRead.com is a privately owned, operated and funded community.