Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/img-simple-site-options/img-simple-site-options.php+278
Undefined variable: wpdb
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.66ms] Passed 4 tests
An overview of server-side resources used by IMG Simple Site Options
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.43 ▲1.83 |
Dashboard /wp-admin | 3.34 ▼0.00 | 47.07 ▼12.84 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.72 ▲3.55 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 79.38 ▼22.42 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.54 ▲2.81 |
Simple Site Options /wp-admin/admin.php?page=imgsimplesiteoptions | 3.23 | 30.93 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
IMG Simple Site Options: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲85 | 13.24 ▼1.36 | 4.70 ▲3.03 | 44.23 ▲3.71 |
Dashboard /wp-admin | 2,240 ▲48 | 5.88 ▲0.97 | 100.16 ▼8.51 | 41.14 ▲2.27 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 1.99 ▼0.05 | 35.69 ▲1.38 | 34.74 ▲0.13 |
Add New Post /wp-admin/post-new.php | 1,558 ▲44 | 23.36 ▲5.79 | 692.75 ▲10.27 | 55.56 ▲9.48 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.20 ▼0.03 | 95.06 ▼4.84 | 42.45 ▲0.20 |
Social Media /wp-admin/admin.php?page=imgsso_social_media | 919 | 2.06 | 24.21 | 28.76 |
Contact Details /wp-admin/admin.php?page=imgsso_company_address | 929 | 2.06 | 22.31 | 28.60 |
Simple Site Options /wp-admin/admin.php?page=imgsimplesiteoptions | 997 | 2.02 | 23.13 | 27.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
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
Good news, no errors were detected
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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: wpdb in wp-content/plugins/img-simple-site-options/img-simple-site-options.php on line 278
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/img-simple-site-options/img-simple-site-options.php:79
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Edit Social Media usernames form), #2 (Edit Contact Details values form), #3 (Using a shortcode to show titter username and your post code via the Visual Editor)
img-simple-site-options/img-simple-site-options.php Passed 13 tests
The main file in "IMG Simple Site Options" v. 1.12 serves as a complement to information provided in readme.txt and as the entry point to the plugin
83 characters long description:
Functionality to allow the management of social media usernames and contact details
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin167 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 59 | 52 | 167 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.15MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 57.98KB | 34.07KB | ▼ 41.23% |
screenshot-2.png | 48.28KB | 27.83KB | ▼ 42.36% |
screenshot-3.png | 51.91KB | 30.08KB | ▼ 42.06% |