Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼5.59ms] Passed 4 tests
An overview of server-side resources used by Tika Doc PDF Indexer
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 44.35 ▲9.02 |
Dashboard /wp-admin | 3.52 ▲0.17 | 48.68 ▼11.13 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 44.47 ▼2.58 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 83.59 ▼13.45 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.42 ▲4.79 |
Tika Indexer Settings /wp-admin/options-general.php?page=tika_doc_pdf_indexer_settings | 3.44 | 39.13 |
Server storage [IO: ▲0.08MB] [DB: ▲0.31MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
tika_doc_pdf_indexer_version |
Browser metrics Passed 4 tests
A check of browser resources used by Tika Doc PDF Indexer
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.34 ▼0.08 | 1.96 ▲0.30 | 44.94 ▲4.35 |
Dashboard /wp-admin | 2,199 ▲22 | 5.64 ▼0.15 | 96.58 ▲9.04 | 42.35 ▼2.69 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.01 | 35.68 ▼5.03 | 34.34 ▲0.76 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.26 ▼0.34 | 632.79 ▼54.18 | 60.32 ▲10.57 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.28 ▲0.07 | 94.70 ▼8.02 | 43.87 ▼0.26 |
Tika Indexer Settings /wp-admin/options-general.php?page=tika_doc_pdf_indexer_settings | 1,101 | 3.06 | 48.77 | 24.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- tika_doc_pdf_indexer_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: plugin, wordpress
tika-doc-pdf-indexer/tika-doc-pdf-indexer.php Passed 13 tests
The main file in "Tika Doc PDF Indexer" v. 1.0.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
83 characters long description:
This indexes your Docs or PDFs into meta datas when uploaded. Based on Apache Tika.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,001 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 230 | 616 | 921 |
JavaScript | 5 | 19 | 21 | 80 |
CSS | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 21.75 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 37 | 94.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.13% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin