Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.12MB] [CPU: ▼14.36ms] Passed 4 tests
An overview of server-side resources used by Editor Wysiwyg Background Color
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▼0.02 | 45.58 ▼1.19 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.67 ▼10.62 |
Posts /wp-admin/edit.php | 3.37 ▼0.48 | 44.64 ▼14.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.44 ▼27.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.76 ▼4.41 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Editor Wysiwyg Background Color
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.65 ▼0.35 | 1.78 ▼0.16 | 40.97 ▼1.09 |
Dashboard /wp-admin | 2,209 ▲27 | 5.86 ▼0.04 | 103.81 ▼6.01 | 42.80 ▼1.92 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▼0.02 | 35.09 ▼6.17 | 34.15 ▼1.14 |
Add New Post /wp-admin/post-new.php | 1,530 ▲16 | 23.09 ▲5.63 | 617.79 ▼66.78 | 49.72 ▼4.28 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.16 ▼0.03 | 96.94 ▼14.07 | 43.55 ▼8.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/editor-wysiwyg-background-color/editor-wysiwyg-background-color.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #3 (Plugin working admin editor), #4 (Plugin working on Twenty Seventeen theme), #5 (Plugin working on Twenty Sixteen theme), #6 (Comments working on Mesmerize theme), #7 (Comments working on Sydney theme), #8 (Dark Comments Template), #9 (Settings Page)
editor-wysiwyg-background-color/editor-wysiwyg-background-color.php Passed 13 tests
The primary PHP file in "Editor Wysiwyg Background Color" version 1.0 is used by WordPress to initiate all plugin functionality
62 characters long description:
A color picker for change the Wysiwyg editor background color.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin446 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 11 | 44 | 55 | 248 |
CSS | 1 | 3 | 7 | 111 |
PHP | 1 | 4 | 12 | 85 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/color.png | 1.23KB | 1.22KB | ▼ 0.72% |