Benchmarks
Plugin footprint 40% 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
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/social-icon-links/icon-links.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; CGI_IconLinkWidget has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼52.84ms] Passed 4 tests
An overview of server-side resources used by Social Icon Links
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.86 ▼37.03 |
Dashboard /wp-admin | 2.11 ▼1.20 | 7.10 ▼47.58 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 6.47 ▼40.58 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 6.26 ▼86.18 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 5.59 ▼32.06 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
widget_cgi-icon-links-widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Social Icon Links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.22 ▼1.16 | 6.32 ▲4.46 | 43.06 ▼6.45 |
Dashboard /wp-admin | 2,209 ▲21 | 5.85 ▲0.99 | 100.34 ▼4.96 | 39.44 ▼7.79 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▼0.02 | 33.41 ▼4.19 | 36.42 ▼0.55 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 23.11 ▼0.37 | 671.05 ▼11.11 | 62.44 ▲1.69 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.17 ▼0.01 | 94.56 ▼8.20 | 41.23 ▼2.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/social-icon-links/icon-links.php+11
Methods with the same name as their class will not be constructors in a future version of PHP; CGI_IconLinkWidget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_cgi-icon-links-widget
- widget_theysaidso_widget
- 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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/social-icon-links/icon-links.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (At front page), #2 (At admin widgets)
- Donate link: Invalid url: ""
social-icon-links/icon-links.php 92% from 13 tests
"Social Icon Links" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("social-icon-links.php" instead of "icon-links.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
Good job! No executable or dangerous file extensions detected126 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 36 | 7 | 126 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 6.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 | 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
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 36.21KB | 21.52KB | ▼ 40.56% |
screenshot-1.png | 19.45KB | 7.89KB | ▼ 59.43% |