Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.60ms] Passed 4 tests
An overview of server-side resources used by Smart User Slug Hider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.05 ▼3.75 |
Dashboard /wp-admin | 3.40 ▲0.10 | 52.35 ▲0.06 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 52.87 ▲4.59 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.35 ▼0.24 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.44 ▲1.54 |
Smart User Slug Hider /wp-admin/options-general.php?page=smartuserslughidersettings | 3.23 | 37.06 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
smart_user_slug_hider_data |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smart User Slug Hider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▼0.11 | 1.55 ▼0.31 | 43.80 ▼6.89 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▼0.02 | 86.41 ▼14.12 | 41.46 ▼2.44 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.94 ▼0.03 | 40.36 ▲3.47 | 34.58 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.15 ▼0.02 | 631.28 ▼80.09 | 53.37 ▼9.02 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.16 ▼0.01 | 105.45 ▼3.86 | 44.69 ▼9.82 |
Smart User Slug Hider /wp-admin/options-general.php?page=smartuserslughidersettings | 817 | 2.19 | 28.66 | 30.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- smart_user_slug_hider_data
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'PPF08_SubClass' not found in wp-content/plugins/smart-user-slug-hider/inc/ppf/ppf-settings.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/smart-user-slug-hider/shortcodes.php:13
- > PHP Fatal error
Uncaught Error: Class 'PPF08_SubClass' not found in wp-content/plugins/smart-user-slug-hider/inc/ppf/ppf-admin.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_Class' not found in wp-content/plugins/smart-user-slug-hider/inc/ppf/ppf-plugin.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_Plugin' not found in wp-content/plugins/smart-user-slug-hider/inc/ppf/ppf-plugin-addon.php:16
- > PHP Fatal error
Uncaught Error: Class 'PPF08_Class' not found in wp-content/plugins/smart-user-slug-hider/inc/ppf/ppf-subclass.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: There are too many tags (17 tag instead of maximum 10)
smart-user-slug-hider/smart-user-slug-hider.php Passed 13 tests
Analyzing the main PHP file in "Smart User Slug Hider" version 4.0.4
55 characters long description:
Hide usernames in author pages URLs to enhance security
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,138 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 784 | 1,084 | 812 |
CSS | 1 | 51 | 0 | 231 |
JavaScript | 2 | 35 | 22 | 90 |
SVG | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 1.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 6 | 66.67% |
▷ Concrete classes | 3 | 33.33% |
▷ Final classes | 0 | 0.00% |
Methods | 93 | |
▷ Static methods | 1 | 1.08% |
▷ Public methods | 79 | 84.95% |
▷ Protected methods | 5 | 5.38% |
▷ Private methods | 9 | 9.68% |
Functions | 11 | |
▷ Named functions | 3 | 27.27% |
▷ Anonymous functions | 8 | 72.73% |
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 images were found in this plugin