Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.47MB] [CPU: ▲2.47ms] Passed 4 tests
This is a short check of server-side resources used by Easy Select and Share
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.12 ▲0.65 | 45.59 ▲5.36 |
Dashboard /wp-admin | 3.77 ▲0.42 | 1,250.03 ▲1,189.43 |
Posts /wp-admin/edit.php | 3.89 ▲0.53 | 50.06 ▲1.31 |
Add New Post /wp-admin/post-new.php | 6.35 ▲0.47 | 97.85 ▼1.98 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 38.13 ▲5.21 |
Server storage [IO: ▲3.42MB] [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: 56 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_sas_log |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Select and Share
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,081 ▲334 | 13.86 ▼0.37 | 10.60 ▲8.95 | 43.27 ▲0.68 |
Dashboard /wp-admin | 2,308 ▲137 | 5.66 ▼0.04 | 90.33 ▼3.83 | 43.40 ▼9.92 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.02 ▲0.01 | 39.91 ▲0.40 | 36.74 ▼6.46 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.39 ▲0.21 | 601.32 ▲2.80 | 55.30 ▼6.50 |
Media Library /wp-admin/upload.php | 1,421 ▲21 | 4.24 ▲0.01 | 95.44 ▲1.56 | 42.10 ▲1.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_sas_log
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-select-and-share/class-easyselectandshare.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
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
These attributes need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6 in easy-select-and-share/assets to your readme.txt
easy-select-and-share/easy-select-and-share.php Passed 13 tests
The main file in "Easy Select and Share" v. 1.0.8 serves as a complement to information provided in readme.txt and as the entry point to the plugin
62 characters long description:
Share your selected Post content to social networks instantly.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected18,704 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 12 | 8,955 |
JavaScript | 6 | 660 | 459 | 4,365 |
CSS | 8 | 396 | 47 | 2,911 |
PHP | 4 | 87 | 209 | 2,473 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Method cyclomatic complexity has to be reduced to less than 100 (currently 146)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 237.00 |
▷ Minimum class complexity | 107.00 |
▷ Maximum class complexity | 367.00 |
Average method complexity | 17.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 146.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
18 PNG files occupy 0.28MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
asset/images/image-layouts.png | 87.02KB | 35.34KB | ▼ 59.39% |
admin/css/images/ui-icons_444444_256x240.png | 6.84KB | 4.18KB | ▼ 38.90% |
admin/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
admin/images/preset-layouts.png | 75.39KB | 29.92KB | ▼ 60.31% |
admin/images/logo.png | 2.15KB | 1.52KB | ▼ 29.24% |