Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.64ms] Passed 4 tests
An overview of server-side resources used by Database Collation Fix
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.33 ▼7.35 |
Dashboard /wp-admin | 3.38 ▲0.07 | 45.43 ▲0.22 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 45.87 ▼3.73 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.78 ▼7.71 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.50 ▲2.61 |
Collation Fix /wp-admin/tools.php?page=ds-db-collation | 3.24 | 28.22 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Database Collation Fix
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.23 ▼0.76 | 1.85 ▲0.08 | 40.11 ▼10.10 |
Dashboard /wp-admin | 2,210 ▲25 | 4.89 ▲0.01 | 108.32 ▲1.00 | 40.23 ▼3.53 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.02 ▼0.01 | 39.19 ▲2.51 | 35.91 ▲3.58 |
Add New Post /wp-admin/post-new.php | 1,536 ▲11 | 23.20 ▼0.23 | 668.18 ▼1.58 | 50.66 ▼4.76 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.20 ▼0.06 | 96.27 ▼0.17 | 40.17 ▼2.47 |
Collation Fix /wp-admin/tools.php?page=ds-db-collation | 792 | 2.03 | 24.81 | 26.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=ds-db-collation
- > Notice in wp-includes/functions.php+1179
Undefined offset: 0
- > GET request to /wp-admin/tools.php?page=ds-db-collation
- > Notice in wp-includes/functions.php+1179
Undefined offset: 1
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Trying to get property 'action' of non-object in wp-content/plugins/database-collation-fix/prepend.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/database-collation-fix/databasecollationfix.php:41
- > PHP Notice
Trying to get property 'last_ui_event' of non-object in wp-content/plugins/database-collation-fix/prepend.php on line 19
- > PHP Notice
Trying to get property 'last_ui_event' of non-object in wp-content/plugins/database-collation-fix/prepend.php on line 17
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (Plugin page.)
database-collation-fix/databasecollationfix.php 77% from 13 tests
The main file in "Database Collation Fix" v. 1.2.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 190 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("database-collation-fix.php" instead of "databasecollationfix.php")
- Domain Path: The domain path folder was not found ("/language")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin313 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 59 | 104 | 311 |
Markdown | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 74.00 |
▷ Minimum class complexity | 74.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 7.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 2 | 16.67% |
▷ Public methods | 7 | 58.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 41.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin