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 gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.48ms] Passed 4 tests
A check of server-side resources used by Widget Content Blocks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 41.27 ▼1.85 |
Dashboard /wp-admin | 3.37 ▲0.07 | 48.79 ▼2.06 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 45.49 ▲0.40 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.58 ▼10.41 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.85 ▲2.18 |
New Widget Block /wp-admin/post-new.php?post_type=wysiwyg-widget | 3.41 | 47.73 |
All Widget Blocks /wp-admin/edit.php?post_type=wysiwyg-widget | 3.34 | 34.20 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_wysiwyg_widgets_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Widget Content Blocks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲95 | 13.31 ▼1.05 | 6.56 ▲4.69 | 43.34 ▼3.53 |
Dashboard /wp-admin | 2,233 ▲50 | 4.86 ▼0.07 | 111.66 ▲1.53 | 42.87 ▼4.05 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 1.99 ▼0.04 | 36.13 ▼0.34 | 32.81 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,557 ▲21 | 23.34 ▲0.01 | 672.03 ▲27.37 | 58.31 ▼6.85 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.17 ▲0.01 | 93.17 ▼3.98 | 42.23 ▲0.57 |
New Widget Block /wp-admin/post-new.php?post_type=wysiwyg-widget | 2,251 | 7.59 | 175.96 | 69.09 |
All Widget Blocks /wp-admin/edit.php?post_type=wysiwyg-widget | 1,080 | 1.99 | 30.19 | 29.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- widget_wysiwyg_widgets_widget
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wysiwyg-widgets/includes/plugin.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wysiwyg-widgets/includes/class-widget.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: widget, rich text, fckeditor, tinymce, visual...
wysiwyg-widgets/wysiwyg-widgets.php Passed 13 tests
The entry point to "Widget Content Blocks" version 2.3.9 is a PHP file that has certain tags in its header comment area
73 characters long description:
Adds a WYSIWYG Widget with a rich text editor and media upload functions.
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
There were no executable files found in this plugin654 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 5 | 133 | 141 | 376 |
PHP | 5 | 49 | 81 | 176 |
Markdown | 1 | 41 | 0 | 102 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
PNG images were not found in this plugin