Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▲0.27ms] Passed 4 tests
Analyzing server-side resources used by Black Studio TinyMCE Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 37.97 ▼3.06 |
Dashboard /wp-admin | 3.57 ▲0.26 | 46.76 ▼1.19 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 44.92 ▲1.49 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 102.78 ▲7.89 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 37.32 ▲3.85 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 85 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_black-studio-tinymce |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Black Studio TinyMCE Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.24 ▼1.13 | 1.96 ▲0.21 | 43.75 ▼4.66 |
Dashboard /wp-admin | 2,203 ▲12 | 5.84 ▲0.93 | 98.27 ▼5.18 | 40.48 ▼1.28 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.01 | 33.02 ▼4.23 | 31.05 ▼4.10 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.46 ▲6.08 | 656.29 ▲3.25 | 56.65 ▲3.15 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.29 ▲0.05 | 98.03 ▼6.07 | 44.71 ▼3.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_black-studio-tinymce
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
black-studio-tinymce-widget/black-studio-tinymce-widget.php Passed 13 tests
Analyzing the main PHP file in "Black Studio TinyMCE Widget" version 2.7.2
84 characters long description:
Adds a new "Visual Editor" widget type based on the native WordPress TinyMCE editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin3,839 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 29 | 421 | 1,030 | 1,891 |
PHP | 9 | 207 | 1,256 | 1,049 |
JavaScript | 12 | 126 | 153 | 695 |
CSS | 4 | 73 | 19 | 204 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 22.12 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 7 | 87.50% |
Methods | 114 | |
▷ Static methods | 15 | 13.16% |
▷ Public methods | 100 | 87.72% |
▷ Protected methods | 14 | 12.28% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin