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.48MB] [CPU: ▲4.23ms] Passed 4 tests
A check of server-side resources used by Harrys Gravatar Cache
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 48.17 ▲5.21 |
Dashboard /wp-admin | 3.78 ▲0.48 | 58.02 ▼0.59 |
Posts /wp-admin/edit.php | 3.89 ▲0.54 | 59.25 ▲11.06 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.47 | 98.41 ▲7.01 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 43.75 ▲5.29 |
Harrys Gravatar Cache Settings /wp-admin/options-general.php?page=harrys-gravatar-cache-options | 3.67 | 46.87 |
Server storage [IO: ▲6.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 35 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_harrys_gravatar_cache |
wp_harrys_gravatar_store |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Harrys Gravatar Cache
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.73 ▲0.34 | 1.64 ▼0.29 | 40.49 ▼3.11 |
Dashboard /wp-admin | 2,210 ▲19 | 4.84 ▼1.02 | 112.57 ▲6.79 | 41.64 ▼5.49 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.05 ▲0.01 | 39.21 ▲3.45 | 34.92 ▼1.79 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.08 ▼0.16 | 655.20 ▲37.08 | 47.66 ▼11.16 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▲0.06 | 97.49 ▼4.07 | 43.42 ▲0.91 |
Harrys Gravatar Cache Settings /wp-admin/options-general.php?page=harrys-gravatar-cache-options | 1,307 | 2.21 | 24.30 | 37.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Settings Page), #2 (Settings Page 2), #3 (Build the cache and Check 1), #4 (Build the cache and Check 2), #5 (Errorpage: Database), #6 (Errorpage: Cachefolder doesn't exist), #7 (Errorpage: Cachefolder has not the correct permissions), #8 (Errorpage: Cachefolder is not writeable), #9 (Errorpage: no Copyoption available)
harrys-gravatar-cache/harrys-gravatar-cache.php 92% from 13 tests
Analyzing the main PHP file in "Harrys Gravatar Cache" version 2.0.2
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 221 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin4,710 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 9 | 930 | 1,371 | 2,723 |
PHP | 1 | 56 | 82 | 1,987 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.69 |
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 | 25 | |
▷ Named functions | 25 | 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
3 PNG files occupy 0.27MB with 0.18MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
database.png | 227.19KB | 91.08KB | ▼ 59.91% |
amazon.de-logo.png | 26.14KB | 7.03KB | ▼ 73.09% |
paypal-donate.png | 22.02KB | 6.69KB | ▼ 69.62% |