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.03MB] [CPU: ▼6.94ms] Passed 4 tests
A check of server-side resources used by TinyMCE shortcode Addon
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.14 ▲2.38 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.21 ▼2.66 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 42.72 ▼4.33 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 78.87 ▼19.34 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.36 ▼1.42 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by TinyMCE shortcode Addon
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲139 | 13.67 ▼0.88 | 6.15 ▲4.27 | 39.94 ▲0.03 |
Dashboard /wp-admin | 2,211 ▲26 | 4.85 ▲0.02 | 103.99 ▼12.15 | 39.07 ▼7.91 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.18 ▲0.15 | 37.78 ▼0.97 | 33.14 ▼3.78 |
Add New Post /wp-admin/post-new.php | 1,531 ▲7 | 23.33 ▼0.05 | 666.31 ▲36.70 | 53.20 ▲2.26 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.27 ▲0.02 | 97.53 ▼3.84 | 42.59 ▼1.53 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/360crest-themeone-tinymce-shortcodes/includes/scripts.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/360crest-themeone-tinymce-shortcodes/includes/shortcode-functions.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/360crest-themeone-tinymce-shortcodes/includes/mce/sq_shortcodes_tinymce.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: toggle, columns, slider, shortcode, button...
360crest-themeone-tinymce-shortcodes/sq-shortcodes.php 92% from 13 tests
The main PHP file in "TinyMCE shortcode Addon" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("360crest-themeone-tinymce-shortcodes.php" instead of "sq-shortcodes.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
Good job! No executable or dangerous file extensions detected873 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 102 | 16 | 461 |
JavaScript | 2 | 50 | 26 | 265 |
PHP | 4 | 63 | 72 | 147 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 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
11 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/plus.png | 0.14KB | 0.09KB | ▼ 33.33% |
includes/images/plus-hover.png | 17.30KB | 0.09KB | ▼ 99.46% |
includes/images/li_minus_black.png | 0.16KB | 0.12KB | ▼ 24.39% |
includes/images/li_minus_blue.png | 0.16KB | 0.12KB | ▼ 24.39% |
includes/images/li_minus_orange.png | 0.16KB | 0.12KB | ▼ 24.39% |