Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.53ms] Passed 4 tests
A check of server-side resources used by Unique Easy Share Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 33.77 ▼5.91 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.92 ▼0.64 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.80 ▲1.77 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 95.45 ▼9.33 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.50 ▲3.01 |
UEShare Post /wp-admin/admin.php?page=wkc-mspost-share | 3.22 | 33.54 |
Settings /wp-admin/admin.php?page=mb-shares-settings | 3.21 | 28.65 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Unique Easy Share Posts: 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,832 ▲97 | 14.76 ▲0.02 | 1.49 ▼0.36 | 42.45 ▲1.14 |
Dashboard /wp-admin | 2,226 ▲35 | 5.85 ▲1.02 | 109.86 ▲0.45 | 77.19 ▲32.44 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.03 ▼0.02 | 37.72 ▼2.75 | 34.83 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,556 ▲14 | 23.26 ▲5.07 | 651.64 ▲43.86 | 57.26 ▼7.58 |
Media Library /wp-admin/upload.php | 1,417 ▲26 | 4.18 ▼0.02 | 95.83 ▼1.32 | 80.71 ▲37.96 |
UEShare Post /wp-admin/admin.php?page=wkc-mspost-share | 947 | 2.03 | 24.99 | 31.88 |
Settings /wp-admin/admin.php?page=mb-shares-settings | 859 | 2.07 | 26.38 | 34.74 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=wkc-mspost-share
- > Warning in wp-content/plugins/unique-easy-share-posts/index.php+42
Use of undefined constant the_title - assumed 'the_title' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=mb-shares-settings
- > Warning in wp-content/plugins/unique-easy-share-posts/index.php+138
Use of undefined constant yes - assumed 'yes' (this will throw an Error in a future version of PHP)
- > GET request to /wp-admin/admin.php?page=mb-shares-settings
- > Warning in wp-content/plugins/unique-easy-share-posts/index.php+139
Use of undefined constant no - assumed 'no' (this will throw an Error in a future version of PHP)
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/unique-easy-share-posts/index.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Select a post from dropdown), #2 (Preview the featured Image of the Selected Post), #3 (click on the share buttons to Share the post without refreshing the page), #4 (Add More Social Links), #5 (Settings for Showing Social Links on Front Page), #6 (Social Links Results on Front Page)
- Tags: Please reduce the number of tags, currently 30 tag instead of maximum 10
unique-easy-share-posts/index.php 92% from 13 tests
The primary PHP file in "Unique Easy Share Posts" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("unique-easy-share-posts.php" instead of "index.php")
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 plugin439 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 0 | 3 | 243 |
PHP | 1 | 2 | 11 | 160 |
JavaScript | 1 | 0 | 0 | 36 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
6 PNG files occupy 0.26MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 73.27KB | 23.25KB | ▼ 68.27% |
screenshot-5.png | 13.64KB | 7.91KB | ▼ 42.04% |
screenshot-6.png | 10.33KB | 5.60KB | ▼ 45.81% |
screenshot-2.png | 72.28KB | 24.37KB | ▼ 66.29% |
screenshot-3.png | 72.10KB | 23.87KB | ▼ 66.90% |