Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/ssv-users/functions.php+235
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▼1.25MB] [CPU: ▼58.83ms] Passed 4 tests
An overview of server-side resources used by SSV Users
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 8.61 ▼38.38 |
Dashboard /wp-admin | 2.77 ▼0.57 | 10.03 ▼59.34 |
Posts /wp-admin/edit.php | 2.77 ▼0.59 | 9.68 ▼43.50 |
Add New Post /wp-admin/post-new.php | 2.77 ▼3.12 | 11.75 ▼94.09 |
Media Library /wp-admin/upload.php | 2.77 ▼0.46 | 13.37 ▼25.97 |
Users /wp-admin/admin.php?page=ssv-users-settings | 2.77 | 11.06 |
General /wp-admin/admin.php?page=ssv_settings | 2.77 | 12.55 |
Server storage [IO: ▲0.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 45 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_ssv_general_custom_fields |
New WordPress options |
---|
ssv_users__new_member_registration_email |
widget_recent-comments |
can_compress_scripts |
ssv_users__main_column |
theysaidso_admin_options |
db_upgraded |
ssv_users__user_columns |
ssv_users__member_role_changed_email |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by SSV Users
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.28 ▼0.28 | 2.03 ▲0.02 | 42.17 ▼1.28 |
Dashboard /wp-admin | 2,227 ▲50 | 5.56 ▼0.03 | 87.23 ▼5.65 | 37.11 ▼3.03 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 2.20 ▲0.19 | 36.41 ▼0.74 | 39.04 ▲5.31 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.36 ▼0.07 | 686.97 ▲34.49 | 38.49 ▼10.78 |
Media Library /wp-admin/upload.php | 1,438 ▲35 | 4.19 ▲0.04 | 103.54 ▲1.81 | 46.53 ▼1.52 |
Users /wp-admin/admin.php?page=ssv-users-settings | 957 | 2.04 | 30.87 | 26.43 |
General /wp-admin/admin.php?page=ssv_settings | 898 | 1.93 | 23.66 | 28.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/ssv-users/functions.php+235
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- Zombie tables were found after uninstall: 1 table
- wp_ssv_general_custom_fields
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_recent-posts
- ssv_users__member_role_changed_email
- db_upgraded
- widget_recent-comments
- ssv_users__user_columns
- ssv_users__new_member_registration_email
- ssv_users__main_column
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ssv_settings
- > Deprecated in wp-content/plugins/ssv-users/functions.php+235
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: moridrin, users, user management, ssv, members...
ssv-users/ssv-users.php Passed 13 tests
This is the main PHP file of "SSV Users" version 3.1.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
128 characters long description:
SSV Users is a plugin that allows you to manage members of a Students Sports Club the way you want to. With this plugin you can:
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
There were no executable files found in this plugin5,629 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 566 | 1,445 | 4,490 |
JavaScript | 2 | 37 | 19 | 1,065 |
Markdown | 2 | 16 | 0 | 62 |
SVG | 1 | 0 | 1 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 28.80 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 4.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 1 | 5.00% |
▷ Concrete classes | 19 | 95.00% |
▷ Final classes | 0 | 0.00% |
Methods | 169 | |
▷ Static methods | 72 | 42.60% |
▷ Public methods | 137 | 81.07% |
▷ Protected methods | 28 | 16.57% |
▷ Private methods | 4 | 2.37% |
Functions | 48 | |
▷ Named functions | 41 | 85.42% |
▷ Anonymous functions | 7 | 14.58% |
Constants | 70 | |
▷ Global constants | 6 | 8.57% |
▷ Class constants | 64 | 91.43% |
▷ Public constants | 64 | 100.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
general/images/link-new-tab.png | 7.55KB | 4.53KB | ▼ 40.03% |
general/images/link-new-tab-small.png | 0.32KB | 0.39KB | 0.00% |