Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.24MB] [CPU: ▲0.77ms] 75% from 4 tests
Server-side resources used by All-in-one Floating Contact Form, Call, Chat, and 50+ Social Icon Tabs - My Sticky Elements
It is recommended to improve the following
- CPU: Total CPU usage must kept under 500.00ms (currently 2,547.79ms on /wp-admin/admin.php?page=recommended-plugins)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.72 ▲1.25 | 48.19 ▲5.36 |
Dashboard /wp-admin | 4.60 ▲1.25 | 50.63 ▼12.40 |
Posts /wp-admin/edit.php | 4.65 ▲1.29 | 50.27 ▲4.98 |
Add New Post /wp-admin/post-new.php | 7.12 ▲1.23 | 96.75 ▲5.12 |
Media Library /wp-admin/upload.php | 4.46 ▲1.23 | 41.32 ▲7.00 |
Integrations /wp-admin/admin.php?page=my-sticky-elements-integration | 4.45 | 42.62 |
Contact Form Leads /wp-admin/admin.php?page=my-sticky-elements-leads | 4.44 | 39.64 |
Recommended Plugins /wp-admin/admin.php?page=recommended-plugins | 4.93 | 2,547.79 |
Dashboard /wp-admin/admin.php?page=my-sticky-elements | 4.46 | 52.31 |
+ Create New Widget /wp-admin/admin.php?page=my-sticky-elements&widget=0 | 4.46 | 43.86 |
Widget Analytics /wp-admin/admin.php?page=my-sticky-elements-analytics | 4.44 | 38.42 |
Upgrade to Pro ⭐️ /wp-admin/admin.php?page=my-sticky-elements-upgrade | 4.67 | 42.82 |
Server storage [IO: ▲5.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 156 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_mystickyelement_contact_lists |
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
mystickyelements_show_upgrade_box_after |
mystickyelements-update_2_0 |
mystickyelements_intro_popup |
mysticky_element_update_message |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for All-in-one Floating Contact Form, Call, Chat, and 50+ Social Icon Tabs - My Sticky Elements
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲186 | 13.46 ▼0.89 | 13.76 ▲11.77 | 42.33 ▼2.30 |
Dashboard /wp-admin | 2,245 ▲68 | 5.50 ▼0.15 | 89.20 ▲0.21 | 41.34 ▼0.51 |
Posts /wp-admin/edit.php | 2,150 ▲50 | 1.95 ▼0.06 | 37.25 ▲0.26 | 35.33 ▼2.52 |
Add New Post /wp-admin/post-new.php | 1,566 ▲40 | 23.12 ▲0.08 | 634.28 ▲44.03 | 54.40 ▼0.81 |
Media Library /wp-admin/upload.php | 1,444 ▲50 | 4.23 ▲0.05 | 99.69 ▼7.72 | 44.33 ▲1.09 |
Integrations /wp-admin/admin.php?page=my-sticky-elements-integration | 1,092 | 1.67 | 23.35 | 42.01 |
Contact Form Leads /wp-admin/admin.php?page=my-sticky-elements-leads | 1,058 | 1.66 | 27.26 | 31.07 |
Recommended Plugins /wp-admin/admin.php?page=recommended-plugins | 1,244 | 1.80 | 24.85 | 40.15 |
Dashboard /wp-admin/admin.php?page=my-sticky-elements | 1,638 | 1.69 | 28.42 | 54.92 |
+ Create New Widget /wp-admin/admin.php?page=my-sticky-elements&widget=0 | 1,619 | 1.66 | 27.24 | 37.38 |
Widget Analytics /wp-admin/admin.php?page=my-sticky-elements-analytics | 1,050 | 1.66 | 22.54 | 56.24 |
Upgrade to Pro ⭐️ /wp-admin/admin.php?page=my-sticky-elements-upgrade | 5,213 | 2.15 | 57.82 | 110.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables were found after uninstall: 1 table
- wp_mystickyelement_contact_lists
- This plugin did not uninstall successfully, leaving 11 options in the database
- db_upgraded
- mystickyelements-update_2_0
- mysticky_element_update_message
- widget_recent-comments
- can_compress_scripts
- mystickyelements_show_upgrade_box_after
- theysaidso_admin_options
- widget_recent-posts
- mystickyelement_show_affiliate_box_after
- mystickyelements_intro_popup
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/mystickyelements/mystickyelements.php
- 22× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/mystickyelements/admin/sticktelements-preview.php on line 6
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/mystickyelements/admin/social-media.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mystickyelements/mystickyelements-deactivate-form.php:122
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin-install.php' (include_path='.:/usr/share/php') in wp-content/plugins/mystickyelements/recommended-plugins.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mystickyelements/admin/social-media.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mystickyelements/admin/general-settings.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mystickyelements/includes/class-affiliate.php:7
- > PHP Notice
Undefined variable: contact_field in wp-content/plugins/mystickyelements/admin/social-media.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mystickyelements/admin/stickyelements-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mystickyelements/mystickyelements-front.php:11
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
mystickyelements/mystickyelements.php 92% from 13 tests
The main PHP script in "All-in-one Floating Contact Form, Call, Chat, and 50+ Social Icon Tabs - My Sticky Elements" version 2.1.5 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 175 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected41,566 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 15 | 283 | 276 | 17,342 |
PHP | 25 | 1,121 | 349 | 13,764 |
JavaScript | 17 | 591 | 471 | 9,086 |
SVG | 30 | 0 | 5 | 1,294 |
PO File | 1 | 32 | 80 | 80 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 294)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 161.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 399.00 |
Average method complexity | 6.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 294.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 165 | |
▷ Static methods | 1 | 0.61% |
▷ Public methods | 165 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 19 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
44 PNG files occupy 0.81MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/owner.png | 46.48KB | 16.16KB | ▼ 65.23% |
img/white/flickr.png | 0.28KB | 0.37KB | 0.00% |
images/testimonial.png | 9.84KB | 5.10KB | ▼ 48.19% |
img/white/soundcloud.png | 0.86KB | 1.28KB | 0.00% |
images/line-logo.png | 2.60KB | 1.70KB | ▼ 34.83% |