Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/realsatisfied-widget/realsatisfied.php+466
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.58ms] Passed 4 tests
This is a short check of server-side resources used by RealSatisfied Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.36 ▼35.50 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.62 ▼46.33 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.04 ▼46.88 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.10 ▼85.59 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 4.66 ▼35.02 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_real_satisfied_testimonials_widget |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for RealSatisfied Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲181 | 13.64 ▼0.52 | 7.05 ▲5.29 | 43.24 ▲0.14 |
Dashboard /wp-admin | 2,210 ▲28 | 4.86 ▼1.13 | 98.85 ▼5.47 | 43.42 ▼2.38 |
Posts /wp-admin/edit.php | 2,101 ▲15 | 2.05 ▲0.05 | 43.78 ▲4.96 | 36.19 ▼4.19 |
Add New Post /wp-admin/post-new.php | 1,531 ▼13 | 23.19 ▲5.11 | 632.47 ▼4.72 | 45.93 ▼16.23 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.28 ▲0.06 | 101.07 ▼3.33 | 43.52 ▼1.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/realsatisfied-widget/realsatisfied.php+466
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-posts
- widget_real_satisfied_testimonials_widget
- db_upgraded
- 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 | This is a short smoke test looking for 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/realsatisfied-widget/realsatisfied.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Settings within the widget), #2 (Example of display on a WordPress Site)
realsatisfied-widget/realsatisfied.php 92% from 13 tests
The primary PHP file in "RealSatisfied Widget" version 1.9.7 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("realsatisfied-widget.php" instead of "realsatisfied.php")
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
No dangerous file extensions were detected1,276 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 94 | 116 | 737 |
PHP | 1 | 90 | 66 | 377 |
CSS | 2 | 36 | 23 | 162 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 14.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
flexslider/images/bg_direction_nav.png | 1.82KB | 0.79KB | ▼ 56.38% |
images/RealSatisfied-Trust-Seal-80pix.png | 12.78KB | 4.78KB | ▼ 62.63% |