Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲4.62MB] [CPU: ▲11.26ms] Passed 4 tests
An overview of server-side resources used by Contact Widgets For Elementor all the contact links you need in one place
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.49 ▲5.03 | 61.65 ▲8.98 |
Dashboard /wp-admin | 8.51 ▲5.21 | 70.37 ▲13.12 |
Posts /wp-admin/edit.php | 8.52 ▲5.16 | 79.06 ▲24.03 |
Add New Post /wp-admin/post-new.php | 8.95 ▲3.07 | 107.74 ▼1.08 |
Media Library /wp-admin/upload.php | 8.52 ▲5.29 | 65.17 ▲28.15 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.52 | 58.19 |
Server storage [IO: ▲3.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 186 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_debug_mode |
fs_accounts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
fs_active_plugins |
fs_gdpr |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Widgets For Elementor all the contact links you need in one place
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲81 | 14.77 ▲0.15 | 1.78 ▲0.01 | 30.49 ▼8.27 |
Dashboard /wp-admin | 2,248 ▲68 | 5.52 ▼0.16 | 87.71 ▼1.86 | 46.82 ▲1.65 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.15 ▲0.19 | 43.75 ▲2.01 | 42.61 ▲2.28 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 21.70 ▼1.35 | 666.08 ▲33.52 | 51.60 ▼7.43 |
Media Library /wp-admin/upload.php | 1,453 ▲56 | 4.20 ▼0.01 | 99.08 ▼8.70 | 46.40 ▲1.83 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,076 | 1.69 | 28.51 | 27.94 |
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
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/contact-widgets-for-elementor/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 10 options
- widget_theysaidso_widget
- theysaidso_admin_options
- fs_active_plugins
- fs_gdpr
- db_upgraded
- widget_recent-comments
- fs_debug_mode
- can_compress_scripts
- fs_accounts
- widget_recent-posts
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
Even though no errors were found, this is by no means an exhaustive test
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function Elementorcontact\\add_action() in wp-content/plugins/contact-widgets-for-elementor/plugin.php:114
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
- Requires php: Invalid version format
contact-widgets-for-elementor/contact-widgets-for-elementor.php 92% from 13 tests
"Contact Widgets For Elementor all the contact links you need in one place" version 1.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
There were no executable files found in this plugin35,422 lines of code in 137 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 117 | 7,516 | 16,824 | 34,737 |
PO File | 1 | 138 | 435 | 326 |
JavaScript | 6 | 43 | 64 | 240 |
CSS | 12 | 13 | 3 | 100 |
SVG | 1 | 0 | 0 | 19 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 79.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 53 | |
▷ Abstract classes | 2 | 3.77% |
▷ Concrete classes | 51 | 96.23% |
▷ Final classes | 1 | 1.96% |
Methods | 1,201 | |
▷ Static methods | 174 | 14.49% |
▷ Public methods | 835 | 69.53% |
▷ Protected methods | 33 | 2.75% |
▷ Private methods | 333 | 27.73% |
Functions | 98 | |
▷ Named functions | 95 | 96.94% |
▷ Anonymous functions | 3 | 3.06% |
Constants | 126 | |
▷ Global constants | 98 | 77.78% |
▷ Class constants | 28 | 22.22% |
▷ Public constants | 28 | 100.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.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
includs/contact-icons-16.png | 2.22KB | 0.22KB | ▼ 90.04% |