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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.55ms] Passed 4 tests
This is a short check of server-side resources used by Shordio
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.65 ▼2.84 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.99 ▼2.58 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.86 ▲3.08 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 93.99 ▼3.70 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 43.40 ▲2.92 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Shordio
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,015 ▲244 | 19.57 ▲5.18 | 23.62 ▲21.73 | 43.12 ▼4.79 |
Dashboard /wp-admin | 2,229 ▲41 | 7.38 ▲2.33 | 139.93 ▲32.37 | 56.46 ▲15.53 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 4.61 ▲2.63 | 69.03 ▲31.57 | 65.69 ▲29.42 |
Add New Post /wp-admin/post-new.php | 1,691 ▲163 | 26.62 ▲3.55 | 634.31 ▼9.96 | 47.54 ▼11.84 |
Media Library /wp-admin/upload.php | 1,411 ▲26 | 6.28 ▲2.08 | 123.65 ▲21.49 | 54.23 ▲7.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
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
These attributes need your attention:
- Screenshots: A description for screenshot #2 is missing in shordio/assets to your readme.txt
shordio/shordio.php 92% from 13 tests
Analyzing the main PHP file in "Shordio" version 1.2.5
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,529 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 114 | 100 | 1,389 |
CSS | 4 | 157 | 133 | 890 |
PHP | 1 | 31 | 17 | 187 |
SVG | 11 | 0 | 0 | 63 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
19 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
supportingfiles/assets/shordio_embed/images/popup-close.png | 0.30KB | 0.29KB | ▼ 1.95% |
supportingfiles/assets/shordio_embed/images/play.png | 1.06KB | 0.27KB | ▼ 74.17% |
supportingfiles/assets/shordio_embed/images/backward-2x.png | 2.31KB | 1.61KB | ▼ 30.29% |
supportingfiles/assets/shordio_embed/images/pause.png | 14.24KB | 0.12KB | ▼ 99.14% |
supportingfiles/assets/shordio_embed/images/pause_black.png | 1.03KB | 0.12KB | ▼ 88.10% |