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 gracefully, with no errors
Server metrics [RAM: ▲0.17MB] [CPU: ▼7.08ms] Passed 4 tests
A check of server-side resources used by Gumlet - Image optimization with Resize, Compression, Lazy load, Caching & CDN delivery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 36.73 ▼0.18 |
Dashboard /wp-admin | 3.48 ▲0.14 | 44.33 ▼15.39 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 44.22 ▼3.03 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 89.89 ▼7.44 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.06 ▼2.46 |
Gumlet /wp-admin/options-general.php?page=gumlet-options | 3.38 | 32.52 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
gumlet_settings |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Gumlet - Image optimization with Resize, Compression, Lazy load, Caching & CDN delivery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.35 ▼0.00 | 1.66 ▲0.08 | 39.39 ▼0.23 |
Dashboard /wp-admin | 2,202 ▲27 | 5.59 ▼0.02 | 80.00 ▼16.90 | 38.90 ▼1.67 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.07 | 32.59 ▼1.74 | 34.23 ▼8.54 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.16 ▲0.11 | 613.26 ▼49.63 | 57.16 ▲5.24 |
Media Library /wp-admin/upload.php | 1,395 ▼5 | 4.17 ▼0.13 | 95.19 ▼17.73 | 41.13 ▼3.61 |
Gumlet /wp-admin/options-general.php?page=gumlet-options | 1,096 | 2.20 | 23.04 | 28.14 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- gumlet_settings
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/gumlet/includes/options-page.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/gumlet/includes/class-gumlet.php:80
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/gumlet/includes/class-gumlet.php:80
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #7, #8, #9 in gumlet/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
gumlet/gumlet.php 92% from 13 tests
The entry point to "Gumlet - Image optimization with Resize, Compression, Lazy load, Caching & CDN delivery" version 1.3.11 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 211 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin947 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 114 | 262 | 875 |
Markdown | 2 | 12 | 0 | 26 |
CSS | 1 | 4 | 0 | 25 |
YAML | 1 | 7 | 0 | 21 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.66 |
Average class complexity | 60.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 172.00 |
Average method complexity | 6.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 4 | 11.76% |
▷ Public methods | 29 | 85.29% |
▷ Protected methods | 4 | 11.76% |
▷ Private methods | 1 | 2.94% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/pixel.png | 0.07KB | 0.09KB | 0.00% |
assets/images/gumlet-logo.png | 15.73KB | 6.19KB | ▼ 60.61% |