Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼0.89ms] Passed 4 tests
This is a short check of server-side resources used by Your Shortcodes List
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.33 ▼4.58 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.97 ▼5.05 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 48.25 ▲2.91 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 89.26 ▲4.78 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.12 ▲3.18 |
Your Shortcodes /wp-admin/options-general.php?page=your-shortcodes | 3.24 | 30.69 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Your Shortcodes List: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.65 ▼1.03 | 1.80 ▼0.24 | 41.96 ▼5.52 |
Dashboard /wp-admin | 2,214 ▲29 | 4.84 ▼0.21 | 109.86 ▲6.94 | 41.37 ▼0.98 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 2.02 ▲0.02 | 40.12 ▲3.83 | 34.59 ▼1.07 |
Add New Post /wp-admin/post-new.php | 1,524 ▼9 | 23.37 ▼0.05 | 594.45 ▼6.47 | 50.35 ▲2.91 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.18 ▼0.13 | 94.74 ▼5.55 | 42.08 ▼1.62 |
Your Shortcodes /wp-admin/options-general.php?page=your-shortcodes | 1,403 | 1.79 | 29.82 | 30.43 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=your-shortcodes
- > POST request to /?shortcode_finder=shortcode_finder
- > Notice in wp-content/plugins/your-shortcodes/classes/shortcode_info.php+31
Undefined offset: 1
- 7 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=your-shortcodes
- > POST request to /?shortcode_finder=shortcode_finder
- > Warning in wp-content/plugins/your-shortcodes/classes/shortcode_info.php+80
strpos(): Empty needle
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
Almost there! Just fix the following items
- 11× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: key in wp-content/plugins/your-shortcodes/views/admin.information.php on line 3
- > PHP Notice
Undefined variable: key in wp-content/plugins/your-shortcodes/views/admin.information.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/your-shortcodes/views/admin.information.php:25
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/your-shortcodes/views/admin.information.php on line 19
- > PHP Notice
Undefined variable: shortcode in wp-content/plugins/your-shortcodes/views/admin.information.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/your-shortcodes/views/admin.information.php on line 4
- > PHP Notice
Undefined variable: key in wp-content/plugins/your-shortcodes/views/admin.information.php on line 1
- > PHP Notice
Undefined variable: shortcode in wp-content/plugins/your-shortcodes/views/admin.information.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/your-shortcodes/views/admin_page.php:12
- > PHP Notice
Undefined variable: shortcode in wp-content/plugins/your-shortcodes/views/admin.information.php on line 4
- > PHP Notice
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 Passed 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
1 plugin tags: shortcode
your-shortcodes/your-shortcodes.php Passed 13 tests
"Your Shortcodes List" version 1.5.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
54 characters long description:
Find all shortcodes which you can use on your website.
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
There were no executable files found in this plugin846 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 226 | 109 | 773 |
LESS | 1 | 9 | 0 | 48 |
JavaScript | 2 | 5 | 0 | 24 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 41.75 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 125.00 |
Average method complexity | 5.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 5 | 13.16% |
▷ Public methods | 26 | 68.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 31.58% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 11 | |
▷ Global constants | 10 | 90.91% |
▷ Class constants | 1 | 9.09% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin