Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▲3.30ms] Passed 4 tests
Server-side resources used by Shorthand Connect
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 51.02 ▲10.15 |
Dashboard /wp-admin | 3.47 ▲0.16 | 52.95 ▼1.30 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 57.51 ▲4.23 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 103.54 ▲3.67 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 39.60 ▲6.59 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=shorthand_story | 3.39 | 42.19 |
Add Shorthand Story /wp-admin/post-new.php?post_type=shorthand_story | 3.50 | 56.93 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=shorthand_story | 3.39 | 35.27 |
Shorthand /wp-admin/options-general.php?page=shorthand-options | 3.37 | 39.30 |
Shorthand /wp-admin/edit.php?post_type=shorthand_story | 3.45 | 40.51 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
sh_permalink |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
category_children |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shorthand Connect
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.82 ▲0.44 | 1.93 ▲0.38 | 45.03 ▲1.99 |
Dashboard /wp-admin | 2,236 ▲59 | 5.59 ▼0.02 | 95.47 ▲9.27 | 82.09 ▲38.88 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.02 ▲0.03 | 37.91 ▼4.70 | 34.58 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 23.28 ▲5.57 | 640.75 ▼53.45 | 56.75 ▲6.80 |
Media Library /wp-admin/upload.php | 1,441 ▲41 | 4.21 ▼0.07 | 102.54 ▼4.24 | 72.65 ▲24.48 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=shorthand_story | 1,490 | 2.28 | 29.12 | 45.53 |
Add Shorthand Story /wp-admin/post-new.php?post_type=shorthand_story | 2,126 | 4.03 | 77.40 | 103.73 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=shorthand_story | 1,357 | 2.14 | 30.01 | 34.33 |
Shorthand /wp-admin/options-general.php?page=shorthand-options | 1,015 | 2.02 | 25.18 | 32.26 |
Shorthand /wp-admin/edit.php?post_type=shorthand_story | 1,170 | 2.01 | 33.79 | 28.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- widget_theysaidso_widget
- db_upgraded
- category_children
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- sh_permalink
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/shorthand-connect/shorthand_connect.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/shorthand-connect/templates/single-shorthand_story.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shorthand-connect/includes/shorthand_options.php:303
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
shorthand-connect/shorthand_connect.php 92% from 13 tests
The main PHP script in "Shorthand Connect" version 1.3.29 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("shorthand-connect.php" instead of "shorthand_connect.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,152 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 212 | 80 | 1,152 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 44 | |
▷ Named functions | 41 | 93.18% |
▷ Anonymous functions | 3 | 6.82% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/icon.png | 14.93KB | 0.66KB | ▼ 95.57% |