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.03MB] [CPU: ▼10.22ms] Passed 4 tests
An overview of server-side resources used by Podamibe Custom User Gravatar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.42 ▼8.44 |
Dashboard /wp-admin | 3.34 ▼0.00 | 48.50 ▼9.62 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.14 ▼1.51 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.95 ▼20.10 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.51 ▼2.72 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Podamibe Custom User Gravatar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▲0.09 | 1.91 ▲0.34 | 41.27 ▲0.97 |
Dashboard /wp-admin | 2,198 ▲21 | 5.59 ▲0.02 | 85.30 ▼6.43 | 40.95 ▲2.20 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▼0.03 | 39.08 ▼1.59 | 33.42 ▼8.86 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.20 ▼0.05 | 676.43 ▲16.84 | 50.45 ▼4.98 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.12 ▼0.07 | 104.39 ▼6.39 | 41.93 ▼4.85 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: gravatar, change gravatar, podamibe, custom gravatar
podamibe-custom-user-gravatar/pod-custom-user-gravatar.php 62% from 13 tests
The primary PHP file in "Podamibe Custom User Gravatar" version 1.0.8 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Requires at least: Required version must be the same as the one declared in readme.txt ("3.7.0" instead of "4.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("podamibe-custom-user-gravatar.php" instead of "pod-custom-user-gravatar.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin170 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 68 | 122 |
JavaScript | 1 | 7 | 4 | 48 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 3.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 6 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 14.29% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin