Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.24ms] Passed 4 tests
A check of server-side resources used by TinyMCE Clear Float
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 34.13 ▼6.14 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.57 ▼3.68 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 49.19 ▲5.78 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 90.33 ▲2.06 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.75 ▲2.79 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
TinyMCE Clear Float: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.43 | 1.65 ▼0.12 | 39.70 ▼5.58 |
Dashboard /wp-admin | 2,206 ▲21 | 5.89 ▲1.01 | 106.29 ▼13.16 | 39.48 ▼5.81 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.04 | 41.79 ▲3.31 | 36.52 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 18.58 ▲1.14 | 616.48 ▼70.77 | 62.96 ▲2.01 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.25 ▲0.06 | 96.34 ▼4.78 | 42.01 ▼3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 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 50% from 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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class '_WP_Editors' not found in wp-content/plugins/tinymce-clear-buttons/admin/tinymce/tinymce-clear-float/languages/tinymce-clear-float-lang.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: formatting, wordpress editor, wysiwyg, clear floats, tinymce...
tinymce-clear-buttons/tinymce-clear-buttons.php 92% from 13 tests
Analyzing the main PHP file in "TinyMCE Clear Float" version 1.3.2
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected206 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 70 | 287 | 131 |
JavaScript | 2 | 15 | 24 | 64 |
CSS | 2 | 2 | 0 | 10 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 1 | 5.88% |
▷ Public methods | 14 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 17.65% |
Functions | 1 | |
▷ Named functions | 1 | 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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/tinymce/tinymce-clear-float/images/tinymce-clear-float-placeholder-2x.png | 0.66KB | 0.66KB | 0.00% |
admin/tinymce/tinymce-clear-float/images/tinymce-clear-float-placeholder.png | 0.36KB | 0.37KB | 0.00% |