Benchmarks
Plugin footprint 65% 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.02MB] [CPU: ▼6.74ms] Passed 4 tests
Server-side resources used by GITST CUSTOM AVATAR
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.11 ▼1.81 |
Dashboard /wp-admin | 3.29 ▼0.06 | 40.13 ▼20.90 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 45.55 ▼3.98 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 95.96 ▲1.53 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.05 ▼0.28 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_gitst_avatar |
New WordPress options |
---|
widget_theysaidso_widget |
recovery_mode_email_last_sent |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
GITST CUSTOM AVATAR: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,850 ▼896 | 12.29 ▼2.02 | 1.75 ▲0.01 | 37.79 ▼6.10 |
Dashboard /wp-admin | 1,264 ▼924 | 1.38 ▼3.53 | 14.97 ▼90.61 | 34.33 ▼7.44 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.05 | 38.84 ▼2.51 | 43.49 ▲8.87 |
Add New Post /wp-admin/post-new.php | 1,522 ▲8 | 23.20 ▲5.76 | 640.48 ▼41.20 | 35.96 ▼24.55 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.18 ▲0.01 | 103.39 ▲2.90 | 45.80 ▲3.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_gitst_avatar
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- recovery_mode_email_last_sent
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
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== gitst-custom-avatar-user-profile-pictures-manager ===
) - Screenshots: Please add descriptions for these screenshots #1, #1, #2, #2, #3, #3 in gitst-custom-avatar-user-profile-pictures-manager/assets to your readme.txt
gitst-custom-avatar-user-profile-pictures-manager/get_avatar.php 85% from 13 tests
The primary PHP file in "GITST CUSTOM AVATAR" version 1.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gitst-custom-avatar-user-profile-pictures-manager.php" instead of "get_avatar.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 636 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected224 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 75 | 34 | 224 |
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.36 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected