Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼1.60ms] Passed 4 tests
Analyzing server-side resources used by User Toolkit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 38.51 ▼1.27 |
Dashboard /wp-admin | 3.59 ▲0.28 | 46.32 ▼1.63 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 47.43 ▼1.90 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 93.69 ▼1.58 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 38.11 ▲4.55 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by User Toolkit
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 14.10 ▼0.28 | 1.86 ▼0.10 | 40.34 ▲0.33 |
Dashboard /wp-admin | 2,211 ▲19 | 5.77 ▲0.84 | 123.93 ▲8.15 | 41.22 ▼5.23 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.67 ▲0.66 | 51.93 ▲9.98 | 34.46 ▼1.10 |
Add New Post /wp-admin/post-new.php | 1,520 ▲6 | 23.34 ▲5.62 | 593.65 ▼86.03 | 47.42 ▼7.80 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.99 ▲0.79 | 105.86 ▲3.29 | 42.24 ▲0.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please describe screenshot #4 in user-toolkit/assets to your readme.txt
user-toolkit/user-toolkit.php Passed 13 tests
Analyzing the main PHP file in "User Toolkit" version 1.2.1
81 characters long description:
The missing user tools and activity data that you need and don't have by default.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected20,876 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 19,280 |
PHP | 16 | 323 | 406 | 1,156 |
JavaScript | 4 | 33 | 38 | 143 |
CSS | 2 | 9 | 3 | 112 |
PO File | 1 | 35 | 35 | 106 |
Sass | 1 | 16 | 0 | 79 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 17.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 19 | 23.46% |
▷ Public methods | 78 | 96.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.70% |
Functions | 12 | |
▷ Named functions | 2 | 16.67% |
▷ Anonymous functions | 10 | 83.33% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected