Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.57ms] Passed 4 tests
Analyzing server-side resources used by Moods Addon for Ultimate TinyMCE
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.24 ▼1.44 |
Dashboard /wp-admin | 3.31 ▲0.01 | 51.14 ▲0.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.64 ▼5.15 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 87.43 ▼7.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.01 ▲2.54 |
Server storage [IO: ▲4.66MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Moods Addon for Ultimate TinyMCE
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.07 | 1.98 ▲0.38 | 39.46 ▼5.12 |
Dashboard /wp-admin | 2,195 ▲21 | 5.59 ▲0.03 | 82.91 ▼7.92 | 43.39 ▲0.81 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.02 | 34.34 ▼6.66 | 35.77 ▼3.65 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.34 ▼0.22 | 685.87 ▼14.98 | 55.55 ▼1.35 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.15 ▼0.03 | 103.86 ▲2.74 | 44.23 ▲0.52 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/moods-addon-for-ultimate-tinymce/main.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were 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
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (A view of the popup editor window for inserting the animated smiley into your content area.)
moods-addon-for-ultimate-tinymce/main.php 92% from 13 tests
Analyzing the main PHP file in "Moods Addon for Ultimate TinyMCE" version 1.2
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("moods-addon-for-ultimate-tinymce.php" instead of "main.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 detected437 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 1 | 34 | 13 | 254 |
JavaScript | 4 | 29 | 12 | 166 |
PHP | 1 | 9 | 25 | 17 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
moods/mybutton.png | 1.08KB | 1.23KB | 0.00% |
screenshot-1.png | 26.06KB | 10.58KB | ▼ 59.42% |