Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.68MB] [CPU: ▲3.19ms] Passed 4 tests
Analyzing server-side resources used by Endless Addons - WordPress Plugin For Elementor Website Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.69 | 51.34 ▲7.07 |
Dashboard /wp-admin | 4.02 ▲0.71 | 59.31 ▲9.64 |
Posts /wp-admin/edit.php | 4.06 ▲0.70 | 53.88 ▲2.62 |
Add New Post /wp-admin/post-new.php | 6.56 ▲0.67 | 97.74 ▼5.40 |
Media Library /wp-admin/upload.php | 3.88 ▲0.65 | 43.40 ▲8.48 |
Server storage [IO: ▲12.73MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 276 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Endless Addons - WordPress Plugin For Elementor Website Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,026 ▲265 | 14.92 ▲0.29 | 20.93 ▲18.90 | 49.39 ▲2.70 |
Dashboard /wp-admin | 2,227 ▲53 | 5.70 ▲0.12 | 87.12 ▼8.40 | 83.78 ▲40.59 |
Posts /wp-admin/edit.php | 2,135 ▲32 | 2.16 ▲0.21 | 38.04 ▼7.45 | 36.75 ▼2.65 |
Add New Post /wp-admin/post-new.php | 1,555 ▲29 | 22.83 ▼0.29 | 711.65 ▲74.67 | 59.26 ▼5.35 |
Media Library /wp-admin/upload.php | 1,429 ▲32 | 4.17 ▼0.03 | 104.74 ▲0.86 | 69.86 ▲27.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Please fix the following
- 56× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/endless-addons-for-elementor/includes/class-endless-addons-tooltip.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_settings_field() in wp-content/plugins/endless-addons-for-elementor/includes/options/option-6.php:7
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/endless-addons-for-elementor/includes/floating/ea-accordion-floating.php:12
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/endless-addons-for-elementor/includes/widgets/endless-addons-button-widget.php:9
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/endless-addons-for-elementor/includes/widgets/endless-addons-business-hour-widget.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_settings_field() in wp-content/plugins/endless-addons-for-elementor/includes/options/option-5.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/endless-addons-for-elementor/includes/widgets/endless-addons-timeline-widget.php:12
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/endless-addons-for-elementor/includes/widgets/endless-addons-image-box-widget.php:12
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/endless-addons-for-elementor/includes/widgets/endless-addons-flipbox-widget.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/endless-addons-for-elementor/includes/floating/ea-contact-floating.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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:
- Tags: Too many tags (36 tag instead of maximum 10); only the first 5 tags are used in your directory listing
endless-addons-for-elementor/endless-addons.php 85% from 13 tests
The main PHP script in "Endless Addons - WordPress Plugin For Elementor Website Builder" version 1.0.5 is automatically included on every request by 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
- Main file name: The principal plugin file should be the same as the plugin slug ("endless-addons-for-elementor.php" instead of "endless-addons.php")
Code Analysis 97% from 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 detected84,000 lines of code in 175 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 74 | 3,502 | 3,513 | 38,692 |
CSS | 77 | 3,182 | 535 | 22,476 |
JavaScript | 20 | 548 | 1,036 | 16,010 |
SVG | 3 | 1 | 0 | 4,194 |
PO File | 1 | 1,234 | 3,491 | 2,628 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 212)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 51.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 212.00 |
Average method complexity | 9.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 212.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 42 | 100.00% |
▷ Final classes | 1 | 2.38% |
Methods | 242 | |
▷ Static methods | 13 | 5.37% |
▷ Public methods | 166 | 68.60% |
▷ Protected methods | 65 | 26.86% |
▷ Private methods | 11 | 4.55% |
Functions | 69 | |
▷ Named functions | 67 | 97.10% |
▷ Anonymous functions | 2 | 2.90% |
Constants | 12 | |
▷ Global constants | 7 | 58.33% |
▷ Class constants | 5 | 41.67% |
▷ Public constants | 5 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
32 PNG files occupy 1.29MB with 0.76MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/pricing/icon3.png | 17.09KB | 5.45KB | ▼ 68.11% |
public/img/shape/shape1.png | 27.61KB | 8.72KB | ▼ 68.43% |
public/img/shape/shape4.png | 9.45KB | 5.51KB | ▼ 41.69% |
public/img/shape/shape5.png | 9.18KB | 5.50KB | ▼ 40.11% |
public/img/business/business-hours-img-1.png | 135.92KB | 32.38KB | ▼ 76.18% |