Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.05MB] [CPU: ▼11.60ms] Passed 4 tests
A check of server-side resources used by Custom Color Palette for Gutenberg
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.96 ▼4.22 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.24 ▲0.78 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 46.93 ▼2.28 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.45 | 68.78 ▼39.34 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 35.64 ▼0.57 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Color Palette for Gutenberg
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.36 ▼0.22 | 1.87 ▲0.05 | 44.01 ▼2.80 |
Dashboard /wp-admin | 2,195 ▲15 | 5.58 ▼0.11 | 88.57 ▼3.70 | 38.57 ▼9.69 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 2.05 ▲0.05 | 34.88 ▼8.49 | 33.98 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,542 ▼4 | 23.27 ▲0.08 | 653.63 ▼40.23 | 51.44 ▼11.46 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.21 ▲0.02 | 93.95 ▼16.52 | 43.61 ▼5.38 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
4 plugin tags: gutenberg, color palette, colors, editor
custom-color-palette/custom-color-palette.php Passed 13 tests
The principal PHP file in "Custom Color Palette for Gutenberg" v. 1.0 is loaded by WordPress automatically on each request
100 characters long description:
A small and simple plugin to adjust the default color palette of the new WordPress Gutenberg Editor.
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
There were no executable files found in this plugin647 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 90 | 218 | 397 |
CSS | 2 | 42 | 28 | 209 |
JavaScript | 2 | 9 | 20 | 41 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 23 | 95.83% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin