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.80MB] [CPU: ▲3.80ms] Passed 4 tests
Server-side resources used by Shortcode Cleaner Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.27 ▲0.81 | 44.06 ▲6.90 |
Dashboard /wp-admin | 4.11 ▲0.81 | 48.40 ▲2.40 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 58.23 ▲11.43 |
Add New Post /wp-admin/post-new.php | 6.69 ▲0.80 | 91.08 ▼5.10 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 44.81 ▲10.99 |
Server storage [IO: ▲1.53MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 141 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
_jo_scl_settings_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Shortcode Cleaner Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲75 | 14.46 ▲0.11 | 1.94 ▲0.23 | 44.02 ▲3.84 |
Dashboard /wp-admin | 2,215 ▲27 | 5.85 ▼0.00 | 137.25 ▲33.81 | 63.93 ▲20.20 |
Posts /wp-admin/edit.php | 2,113 ▲21 | 2.03 ▲0.03 | 42.49 ▲6.57 | 36.67 ▲1.71 |
Add New Post /wp-admin/post-new.php | 1,548 ▲34 | 23.20 ▲5.64 | 680.77 ▼2.78 | 56.79 ▲4.78 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.23 ▼0.01 | 110.20 ▼1.39 | 47.61 ▲0.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/templates/metaboxes-options.php
- 38× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Codestar\\Options\\Field' not found in wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/core/Options/Field/Icon.php:35
- > PHP Fatal error
Uncaught Error: Class 'Codestar\\Helper\\System' not found in wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/templates/system-info.php:12
- > PHP Fatal error
Uncaught Error: Class 'Codestar\\Options\\Field' not found in wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/core/Options/Field/Checkbox.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function get_transient() in wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/templates/settings-options.php:8
- > PHP Fatal error
Uncaught Error: Class 'Codestar\\Options\\Field' not found in wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/core/Options/Field/Fieldset.php:36
- > PHP Fatal error
Uncaught Error: Class 'Codestar\\Options\\Field' not found in wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/core/Options/Field/Image.php:35
- > PHP Fatal error
Uncaught Error: Class 'Codestar\\Options\\Field' not found in wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/core/Options/Field/Gallery.php:35
- > PHP Fatal error
Uncaught Error: Class 'Codestar\\Options\\Field' not found in wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/core/Options/Field/ImageSelect.php:35
- > PHP Fatal error
Uncaught Error: Class 'Codestar\\Options\\Field' not found in wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/core/Options/Field/Subheading.php:35
- > PHP Fatal error
Uncaught Error: Class 'Codestar\\Options\\Field' not found in wp-content/plugins/shortcode-cleaner-lite/vendor/codestar/codestar/core/Options/Field/Text.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
shortcode-cleaner-lite/shortcode-cleaner-lite.php 92% from 13 tests
The entry point to "Shortcode Cleaner Lite" version 1.0.9 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin20,476 lines of code in 127 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 82 | 3,065 | 6,272 | 8,823 |
JavaScript | 10 | 831 | 912 | 5,120 |
CSS | 16 | 439 | 261 | 3,385 |
Sass | 6 | 341 | 0 | 2,089 |
PO File | 2 | 246 | 272 | 665 |
JSON | 8 | 0 | 0 | 323 |
Markdown | 3 | 30 | 0 | 71 |
PHP code Passed 2 tests
An overview of 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.47 |
Average class complexity | 13.95 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 3.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.00 |
Code structure | ||
---|---|---|
Namespaces | 12 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 64 | |
▷ Abstract classes | 1 | 1.56% |
▷ Concrete classes | 63 | 98.44% |
▷ Final classes | 1 | 1.59% |
Methods | 283 | |
▷ Static methods | 131 | 46.29% |
▷ Public methods | 273 | 96.47% |
▷ Protected methods | 8 | 2.83% |
▷ Private methods | 2 | 0.71% |
Functions | 21 | |
▷ Named functions | 20 | 95.24% |
▷ Anonymous functions | 1 | 4.76% |
Constants | 29 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 29 | 100.00% |
▷ Public constants | 29 | 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
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/shortcode-cleaner-lite.png | 2.26KB | 1.35KB | ▼ 40.58% |
vendor/codestar/codestar/assets/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
vendor/codestar/codestar/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
vendor/codestar/codestar/assets/images/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |