Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼7.28ms] Passed 4 tests
Server-side resources used by Shortcodes In Use
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 41.35 ▼2.84 |
Dashboard /wp-admin | 3.47 ▲0.12 | 48.26 ▼13.73 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 43.39 ▼2.47 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 80.51 ▼10.06 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 36.35 ▲4.34 |
Shortcodes In Use /wp-admin/tools.php?page=shortcodes-in-use | 3.38 | 40.18 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Shortcodes In Use: 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,793 ▲32 | 14.35 ▼0.23 | 1.69 ▼0.14 | 47.08 ▲3.72 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▲0.10 | 85.98 ▼16.10 | 37.96 ▼8.65 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.99 ▼0.03 | 32.58 ▼4.29 | 35.76 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.22 ▲0.40 | 656.44 ▼3.38 | 64.08 ▲8.72 |
Media Library /wp-admin/upload.php | 1,401 ▲7 | 4.20 ▲0.02 | 105.07 ▲0.47 | 46.70 ▲1.40 |
Shortcodes In Use /wp-admin/tools.php?page=shortcodes-in-use | 1,044 | 2.06 | 28.72 | 28.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/shortcodes-in-use/shortcodes-in-use.php+144
Use of undefined constant WP_UNINSTALL_PLUGIN - assumed 'WP_UNINSTALL_PLUGIN' (this will throw an Error in a future version of PHP)
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
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)
No browser errors were detected
Optimizations
Plugin configuration 97% 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:
- Tags: You are using too many tags: 12 tag instead of maximum 10
shortcodes-in-use/shortcodes-in-use.php Passed 13 tests
The primary PHP file in "Shortcodes In Use" version 1.2.1 is used by WordPress to initiate all plugin functionality
63 characters long description:
List or search for all/any shortcodes that are currently in use
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,133 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 154 | 250 | 895 |
CSS | 1 | 0 | 1 | 174 |
JavaScript | 1 | 0 | 11 | 64 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.65 |
Average class complexity | 209.00 |
▷ Minimum class complexity | 209.00 |
▷ Maximum class complexity | 209.00 |
Average method complexity | 9.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 71.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 3 | 12.00% |
▷ Public methods | 13 | 52.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 48.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin