Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.95ms] Passed 4 tests
A check of server-side resources used by WP Editor Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 45.55 ▲2.77 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.33 ▼4.52 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 48.84 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 87.31 ▼22.06 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 39.81 ▲4.41 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_wp_editor_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Editor Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.34 ▲0.09 | 1.69 ▼0.06 | 43.56 ▼0.29 |
Dashboard /wp-admin | 2,195 ▲18 | 5.53 ▼0.01 | 86.55 ▼14.19 | 39.34 ▼2.37 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▼0.02 | 34.96 ▼4.21 | 38.31 ▲0.90 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.50 ▲0.64 | 663.81 ▼21.70 | 54.15 ▼19.74 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▼0.03 | 106.16 ▲1.10 | 47.37 ▲3.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_wp_editor_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: wysiwyg, wpml, rich text, widget, editor
wp-editor-widget/wp-editor-widget.php Passed 13 tests
The main PHP file in "WP Editor Widget" ver. 0.6.0 adds more information about the plugin and also serves as the entry point for this plugin
61 characters long description:
WP Editor Widget adds a WYSIWYG widget using the wp_editor().
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected387 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 75 | 163 |
PO File | 3 | 30 | 30 | 116 |
CSS | 1 | 2 | 3 | 57 |
JavaScript | 1 | 20 | 30 | 51 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
There were not PNG files found in your plugin