Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.42ms] Passed 4 tests
This is a short check of server-side resources used by Social Addons for Elementor (Lite)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.08 ▼6.24 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.06 ▼9.75 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.39 ▼5.54 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.16 ▼16.13 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.86 ▲5.40 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 69 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Social Addons for Elementor (Lite)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.25 ▼0.53 | 1.63 ▼0.16 | 43.27 ▼2.24 |
Dashboard /wp-admin | 2,215 ▲35 | 5.60 ▼0.05 | 83.92 ▼9.00 | 66.86 ▲27.20 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 1.99 ▼0.05 | 39.20 ▼1.98 | 36.62 ▲2.86 |
Add New Post /wp-admin/post-new.php | 1,712 ▲184 | 24.51 ▲1.40 | 693.07 ▲30.70 | 48.31 ▼6.24 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.13 ▼0.10 | 102.87 ▼2.54 | 67.33 ▲21.93 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php
- 16× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php on line 19
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php on line 20
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php on line 11
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php on line 21
- > PHP Notice
Undefined variable: settings in wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php on line 19
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php on line 27
- > PHP Notice
Undefined variable: settings in wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php on line 11
- > PHP Notice
Undefined variable: settings in wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php on line 21
- > PHP Notice
Undefined variable: settings in wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php on line 12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/social-elementor-lite/modules/icons/widgets/template.php on line 12
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: posts addon elementor, blog elementor, elementor
social-elementor-lite/social-elementor-lite.php 85% from 13 tests
"Social Addons for Elementor (Lite)" version 1.2.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 225 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected10,651 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 1,390 | 2,028 | 6,313 |
JavaScript | 16 | 854 | 989 | 3,261 |
CSS | 8 | 178 | 31 | 1,024 |
SVG | 1 | 0 | 0 | 53 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 14.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 170.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 5 | 19.23% |
▷ Concrete classes | 21 | 80.77% |
▷ Final classes | 2 | 9.52% |
Methods | 225 | |
▷ Static methods | 55 | 24.44% |
▷ Public methods | 206 | 91.56% |
▷ Protected methods | 15 | 6.67% |
▷ Private methods | 4 | 1.78% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 12 | 85.71% |
▷ Class constants | 2 | 14.29% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/user.png | 2.97KB | 2.34KB | ▼ 21.33% |
admin/assets/images/Siteicon.png | 5.63KB | 2.27KB | ▼ 59.63% |
admin/assets/images/WebEmpire.png | 18.10KB | 6.14KB | ▼ 66.06% |