Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/userecho/userecho.php+464
Methods with the same name as their class will not be constructors in a future version of PHP; UserEcho_SSO_Widget has a deprecated constructor
Server metrics [RAM: ▼5.44MB] [CPU: ▼709,111.36ms] Passed 4 tests
A check of server-side resources used by UserEcho for Wordpress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼1.28 | 5.46 ▼38.23 |
Dashboard /wp-admin | 2.25 ▼15.64 | 6.16 ▼2,836,250.46 |
Posts /wp-admin/edit.php | 2.25 ▼1.15 | 7.40 ▼49.13 |
Add New Post /wp-admin/post-new.php | 2.25 ▼3.69 | 7.41 ▼107.62 |
Media Library /wp-admin/upload.php | 2.25 ▼1.03 | 6.97 ▼31.55 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 8 new options
New WordPress options |
---|
UserEcho_options |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_userecho_sso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for UserEcho for Wordpress
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲71 | 14.22 ▼0.12 | 7.91 ▲6.04 | 44.95 ▲4.15 |
Dashboard /wp-admin | 2,207 ▲33 | 5.56 ▼0.02 | 88.60 ▼0.82 | 79.64 ▲35.88 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 1.99 ▲0.00 | 36.46 ▼6.37 | 36.80 ▼0.77 |
Add New Post /wp-admin/post-new.php | 1,693 ▲165 | 22.16 ▼1.07 | 767.09 ▲90.84 | 59.48 ▼3.35 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.13 ▲0.02 | 111.70 ▲6.87 | 75.93 ▲31.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/userecho/userecho.php+464
Methods with the same name as their class will not be constructors in a future version of PHP; UserEcho_SSO_Widget has a deprecated constructor
- This plugin did not uninstall successfully, leaving 8 options in the database
- UserEcho_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_userecho_sso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/userecho/userecho.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: ideas, helpdesk, feedback, widget, livechat...
userecho/userecho.php Passed 13 tests
The entry point to "UserEcho for Wordpress" version 1.0.26 is a PHP file that has certain tags in its header comment area
77 characters long description:
UserEcho - feedback widget to collect and manage user feedback for your blog.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected461 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 63 | 43 | 461 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 16.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 17.65% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 0.27KB | 0.29KB | 0.00% |