Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼7.04ms] Passed 4 tests
An overview of server-side resources used by WP User Profiles
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 53.35 ▲5.58 |
Dashboard /wp-admin | 3.38 ▲0.03 | 48.32 ▼22.21 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 52.72 ▲1.22 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.12 ▼10.90 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.55 ▲3.74 |
Profile /wp-admin/users.php?page=profile | 3.29 | 37.71 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP User Profiles
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.38 ▲0.09 | 1.76 ▲0.04 | 43.67 ▼0.28 |
Dashboard /wp-admin | 2,195 ▲24 | 5.51 ▼0.15 | 86.09 ▼36.54 | 41.35 ▼16.30 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.04 ▲0.06 | 36.30 ▼2.12 | 36.21 ▲1.91 |
Add New Post /wp-admin/post-new.php | 1,527 ▼1 | 23.17 ▼0.03 | 677.82 ▼18.78 | 59.91 ▼0.90 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.18 ▲0.00 | 104.24 ▼15.73 | 45.26 ▼7.33 |
Profile /wp-admin/users.php?page=profile | 1,310 | 13.32 | 109.86 | 54.36 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-ms-sites-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/wp-user-profiles/wp-user-profiles/includes/sites-list-table.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-ms-sites-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-user-profiles/wp-user-profiles/includes/sites-list-table.php on line 9
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-user-profiles/wp-user-profiles/includes/sites-list-table.php on line 9
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #5, #6, #7 in wp-user-profiles/assets to your readme.txt
wp-user-profiles/wp-user-profiles.php Passed 13 tests
"WP User Profiles" version 2.6.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
52 characters long description:
Upgrade your WordPress admin user profile experience
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 detected3,018 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 932 | 1,786 | 2,340 |
JavaScript | 2 | 137 | 117 | 512 |
CSS | 4 | 46 | 30 | 166 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 12.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 96.55% |
▷ Protected methods | 1 | 3.45% |
▷ Private methods | 0 | 0.00% |
Functions | 79 | |
▷ Named functions | 78 | 98.73% |
▷ Anonymous functions | 1 | 1.27% |
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 were not PNG files found in your plugin