Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.92ms] Passed 4 tests
Analyzing server-side resources used by Simple User Profile
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 33.94 ▼15.48 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.43 ▼2.81 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.45 ▼4.27 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.55 ▼5.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 35.98 ▲1.47 |
User Profile /wp-admin/options-general.php?page=adj-usr-profilr | 3.21 | 32.27 |
Simplify Profile /wp-admin/users.php?page=adj-usr-profilr-usr | 3.22 | 33.91 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
usrprof_about |
theysaidso_admin_options |
usrprof_contact |
usrprof_name |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
usrprof_personal |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple User Profile
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲62 | 13.67 ▼0.53 | 1.93 ▼0.12 | 42.23 ▲4.09 |
Dashboard /wp-admin | 2,214 ▲26 | 4.86 ▼0.06 | 110.29 ▲1.29 | 42.00 ▼2.74 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.06 ▲0.00 | 40.00 ▲0.08 | 33.62 ▼3.25 |
Add New Post /wp-admin/post-new.php | 1,539 ▲5 | 23.36 ▲0.23 | 588.56 ▼65.94 | 49.20 ▼9.96 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.28 ▲0.11 | 96.37 ▼4.48 | 41.30 ▼1.49 |
User Profile /wp-admin/options-general.php?page=adj-usr-profilr | 999 | 2.03 | 22.58 | 37.09 |
Simplify Profile /wp-admin/users.php?page=adj-usr-profilr-usr | 999 | 2.06 | 21.91 | 26.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_recent-posts
- usrprof_about
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- usrprof_name
- usrprof_personal
- widget_theysaidso_widget
- usrprof_contact
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
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/simple-user-profile/simple-profile.php:16
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: edit profile, simplify profile, remove profile fields, user profile, remove profile bio
simple-user-profile/simple-profile.php 85% from 13 tests
This is the main PHP file of "Simple User Profile" version 1.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 285 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("simple-user-profile.php" instead of "simple-profile.php")
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
Good job! No executable or dangerous file extensions detected154 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 168 | 10 | 154 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin