Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.60MB] [CPU: ▼6.16ms] Passed 4 tests
Server-side resources used by Optimum Gravatar Cache
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.62 | 40.34 ▼1.18 |
Dashboard /wp-admin | 3.94 ▲0.64 | 48.81 ▲0.37 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 52.63 ▼0.89 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 84.28 ▼22.95 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 37.09 ▲2.90 |
Optimum Gravatar Cache /wp-admin/options-general.php?page=optimum-gravatar-cache | 3.83 | 41.10 |
Server storage [IO: ▲0.36MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 26 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_optimum_gravatar_cache |
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
OGC_apacheConfig |
OGC_resolved |
db_upgraded |
OGC_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
OGC_avatarUsedSizes |
Browser metrics Passed 4 tests
A check of browser resources used by Optimum Gravatar Cache
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.43 ▼0.22 | 1.58 ▼0.13 | 39.03 ▼4.07 |
Dashboard /wp-admin | 2,210 ▲36 | 5.60 ▲0.02 | 90.20 ▲5.23 | 43.41 ▲4.70 |
Posts /wp-admin/edit.php | 2,115 ▲18 | 1.99 ▼0.05 | 40.39 ▲0.27 | 37.07 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,540 ▲5 | 23.67 ▲5.40 | 682.47 ▲32.22 | 49.49 ▼27.56 |
Media Library /wp-admin/upload.php | 1,415 ▲18 | 4.15 ▼0.05 | 93.96 ▼7.30 | 41.63 ▼2.27 |
Optimum Gravatar Cache /wp-admin/options-general.php?page=optimum-gravatar-cache | 1,065 | 1.82 | 26.56 | 29.74 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
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
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% 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 your attention:
- Requires php: The plugin version is formatted incorrectly
optimum-gravatar-cache/optimum-gravatar-cache.php 85% from 13 tests
This is the main PHP file of "Optimum Gravatar Cache" version 1.4.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 168 characters long)
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
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
Success! There were no dangerous files found in this plugin4,824 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 432 | 35 | 3,762 |
PO File | 1 | 190 | 219 | 836 |
JavaScript | 2 | 6 | 0 | 200 |
CSS | 2 | 1 | 0 | 23 |
SVG | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 573.00 |
▷ Minimum class complexity | 573.00 |
▷ Maximum class complexity | 573.00 |
Average method complexity | 6.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.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 | 107 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 23.36% |
▷ Protected methods | 82 | 76.64% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin