Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.79ms] Passed 4 tests
Server-side resources used by User Profile Tabs
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.11 ▼7.53 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.82 ▼3.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.59 ▼0.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.16 ▲7.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 35.59 ▼0.27 |
Server storage [IO: ▲0.01MB] [DB: ▲0.31MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by User Profile Tabs
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.25 ▼1.17 | 1.67 ▼0.27 | 38.98 ▼4.75 |
Dashboard /wp-admin | 2,209 ▲21 | 4.83 ▼1.07 | 110.00 ▼7.42 | 37.38 ▼6.93 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.06 | 40.40 ▲2.32 | 34.72 ▲0.89 |
Add New Post /wp-admin/post-new.php | 1,533 ▼5 | 23.12 ▼0.05 | 653.79 ▼35.18 | 58.63 ▲6.19 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.17 ▲0.05 | 96.66 ▼3.14 | 41.09 ▼2.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/user-profile-tabs/user-profile-tabs.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 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
5 plugin tags: memberships, user meta, users, user profile, user fields
user-profile-tabs/user-profile-tabs.php Passed 13 tests
"User Profile Tabs" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
42 characters long description:
Group user profile page fields under tabs.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected215 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 18 | 39 | 108 |
CSS | 1 | 2 | 0 | 71 |
Markdown | 2 | 9 | 0 | 26 |
PHP | 1 | 2 | 7 | 10 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 1 | |
▷ Named functions | 1 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin