Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.14MB] [CPU: ▲20.31ms] Passed 4 tests
An overview of server-side resources used by Social Links Icons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 65.56 ▲23.54 |
Dashboard /wp-admin | 3.47 ▲0.17 | 71.26 ▲22.78 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 64.43 ▲17.12 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 104.62 ▲17.80 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 59.52 ▲24.52 |
Social media management /wp-admin/options-general.php?page=social-networks | 3.35 | 55.02 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Social Links Icons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲11 | 14.16 ▼0.43 | 1.79 ▼0.14 | 43.88 ▼7.14 |
Dashboard /wp-admin | 2,203 ▲29 | 5.58 ▲0.00 | 96.66 ▼5.45 | 42.72 ▲0.49 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 1.97 ▼0.05 | 34.37 ▼2.60 | 33.34 ▼1.69 |
Add New Post /wp-admin/post-new.php | 1,533 ▲2 | 22.92 ▲0.04 | 668.31 ▼17.76 | 55.68 ▲4.42 |
Media Library /wp-admin/upload.php | 1,405 ▲8 | 4.18 ▼0.06 | 99.90 ▼5.57 | 44.83 ▼3.21 |
Social media management /wp-admin/options-general.php?page=social-networks | 5,120 | 1.68 | 26.67 | 29.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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=social-networks
- > Deprecated in wp-content/plugins/social-links-icons/templates/texts/find-icons.php+9
implode(): Passing glue string after array is deprecated. Swap the parameters
SRP 0% 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
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/social-links-icons/templates/tab/menu.php
- > /wp-content/plugins/social-links-icons/templates/tab/body.php
- 36× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SLI_Social_Abstract' not found in wp-content/plugins/social-links-icons/includes/Social/SLI_Social_Blogger.php:10
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/social-links-icons/templates/tab/body.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'SLI_Social_Abstract' not found in wp-content/plugins/social-links-icons/includes/Social/SLI_Social_Stackoverflow.php:10
- > PHP Fatal error
Uncaught Error: Class 'SLI_Social_Abstract' not found in wp-content/plugins/social-links-icons/includes/Social/SLI_Social_Instagram.php:10
- > PHP Fatal error
Uncaught Error: Class 'SLI_Social_Abstract' not found in wp-content/plugins/social-links-icons/includes/Social/SLI_Social_Vimeo.php:10
- > PHP Fatal error
Uncaught Error: Class 'SLI_Social_Abstract' not found in wp-content/plugins/social-links-icons/includes/Social/SLI_Social_GooglePlay.php:10
- > PHP Fatal error
Uncaught Error: Class 'SLI_Social_Abstract' not found in wp-content/plugins/social-links-icons/includes/Social/SLI_Social_Flickr.php:10
- > PHP Fatal error
Uncaught Error: Class 'SLI_Social_Abstract' not found in wp-content/plugins/social-links-icons/includes/Social/SLI_Social_Pinterest.php:10
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/social-links-icons/templates/texts/find-icons.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'SLI_Social_Abstract' not found in wp-content/plugins/social-links-icons/includes/Social/SLI_Social_Reddit.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
- Tags: There are too many tags (11 tag instead of maximum 10)
social-links-icons/social-links-icons.php Passed 13 tests
The entry point to "Social Links Icons" version 1.1.2 is a PHP file that has certain tags in its header comment area
54 characters long description:
Simply set up links and icons to your social networks.
Code Analysis Passed 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 detected940 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 373 | 1,086 | 845 |
PO File | 1 | 27 | 28 | 93 |
CSS | 1 | 0 | 5 | 1 |
JavaScript | 1 | 0 | 5 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 2.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 1 | 3.12% |
▷ Concrete classes | 31 | 96.88% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 5 | 11.36% |
▷ Public methods | 29 | 65.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 34.09% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 11 | |
▷ Global constants | 5 | 45.45% |
▷ Class constants | 6 | 54.55% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin