Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.12ms] Passed 4 tests
This is a short check of server-side resources used by Shortcodes Finder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.80 ▼4.16 |
Dashboard /wp-admin | 3.33 ▲0.02 | 52.63 ▲0.78 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.25 ▲5.04 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.31 ▼12.40 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.87 ▲3.32 |
Shortcodes Finder /wp-admin/tools.php?page=shortcodes_finder | 3.22 | 31.56 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
sf_version |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Shortcodes Finder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲51 | 14.22 ▲0.18 | 1.85 ▲0.18 | 38.23 ▼6.22 |
Dashboard /wp-admin | 2,193 ▲16 | 5.65 ▲0.06 | 92.87 ▼10.12 | 39.72 ▼4.51 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.94 ▼0.03 | 40.35 ▲3.39 | 32.41 ▼3.95 |
Add New Post /wp-admin/post-new.php | 1,527 ▲1 | 23.09 ▼0.11 | 618.16 ▼115.91 | 54.81 ▼14.64 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.20 ▼0.10 | 100.47 ▼2.14 | 39.94 ▼5.34 |
Shortcodes Finder /wp-admin/tools.php?page=shortcodes_finder | 929 | 2.00 | 27.67 | 27.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
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
10 plugin tags: shortcodes, orphan, post, shortcode, search...
shortcodes-finder/shortcodes-finder.php 92% from 13 tests
The principal PHP file in "Shortcodes Finder" v. 1.5.4 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 156 characters long)
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
Everything looks great! No dangerous files found in this plugin2,191 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 341 | 709 | 1,439 |
CSS | 2 | 71 | 9 | 329 |
PO File | 1 | 79 | 100 | 244 |
JavaScript | 2 | 46 | 34 | 179 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 27 | 84.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.62% |
Functions | 34 | |
▷ Named functions | 34 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/logo.png | 2.12KB | 2.14KB | 0.00% |
admin/images/logo_scribit.png | 1.85KB | 1.98KB | 0.00% |
admin/images/random.png | 2.28KB | 2.26KB | ▼ 0.86% |
admin/images/proofreading.png | 2.02KB | 2.02KB | 0.00% |