Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲1.01MB] [CPU: ▲15.71ms] Passed 4 tests
This is a short check of server-side resources used by Premium Addons for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.40 ▲0.93 | 56.54 ▲16.98 |
Dashboard /wp-admin | 4.34 ▲1.00 | 66.72 ▲4.41 |
Posts /wp-admin/edit.php | 4.46 ▲1.10 | 63.14 ▲15.52 |
Add New Post /wp-admin/post-new.php | 6.94 ▲1.06 | 111.05 ▲25.94 |
Media Library /wp-admin/upload.php | 4.27 ▲1.04 | 59.54 ▲26.04 |
Server storage [IO: ▲12.79MB] [DB: ▲0.05MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 588 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Premium Addons for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,017 ▲270 | 13.42 ▼0.86 | 8.92 ▲7.21 | 34.54 ▼9.03 |
Dashboard /wp-admin | 2,303 ▲126 | 5.57 ▼0.08 | 97.14 ▼2.21 | 87.34 ▲42.81 |
Posts /wp-admin/edit.php | 2,227 ▲124 | 2.11 ▲0.13 | 41.52 ▲3.21 | 35.12 ▼0.21 |
Add New Post /wp-admin/post-new.php | 1,792 ▲266 | 22.19 ▼0.86 | 670.32 ▲12.77 | 56.70 ▼0.43 |
Media Library /wp-admin/upload.php | 1,520 ▲117 | 4.13 ▼0.07 | 101.31 ▲0.92 | 84.12 ▲41.66 |
General /wp-admin/admin.php?page=premium-addons#tab=general | 9,928 | 2.64 | 76.43 | 101.07 |
Global Features /wp-admin/admin.php?page=premium-addons#tab=features | 9,932 | 2.75 | 73.58 | 52.44 |
White Labeling /wp-admin/admin.php?page=premium-addons#tab=white-label | 9,914 | 2.64 | 63.17 | 72.79 |
Version Control /wp-admin/admin.php?page=premium-addons#tab=vcontrol | 9,922 | 2.63 | 58.26 | 57.05 |
System Info /wp-admin/admin.php?page=premium-addons#tab=system-info | 9,920 | 2.64 | 57.51 | 55.81 |
Widgets & Add-ons /wp-admin/admin.php?page=premium-addons#tab=elements | 10,154 | 2.62 | 57.69 | 104.04 |
Integrations /wp-admin/admin.php?page=premium-addons#tab=integrations | 9,931 | 2.62 | 53.91 | 53.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 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
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
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
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 6× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/premium-addons-for-elementor/includes/templates/scripts/template-modal-content.php
- > /wp-content/plugins/premium-addons-for-elementor/includes/templates/scripts/template-modal-filters.php
- > /wp-content/plugins/premium-addons-for-elementor/includes/templates/scripts/template-modal-tabs.php
- > /wp-content/plugins/premium-addons-for-elementor/includes/templates/scripts/template-modal-preview.php
- > /wp-content/plugins/premium-addons-for-elementor/includes/templates/scripts/template-modal-filters-item.php
- > /wp-content/plugins/premium-addons-for-elementor/includes/templates/scripts/template-modal-templates.php
- 21× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses_post() in wp-content/plugins/premium-addons-for-elementor/includes/templates/scripts/template-modal-keywords.php:11
- > PHP Warning
require_once(PREMIUM_ADDONS_PATHwidgets/dep/urlopen.php): failed to open stream: No such file or directory in wp-content/plugins/premium-addons-for-elementor/includes/assets-manager.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/premium-addons-for-elementor/admin/includes/templates/info.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/premium-addons-for-elementor/includes/templates/scripts/template-modal-search-field.php:8
- > PHP Warning
require_once(PREMIUM_ADDONS_PATHincludes/pa-display-conditions/pa-controls-handler.php): failed to open stream: No such file or directory in wp-content/plugins/premium-addons-for-elementor/modules/pa-display-conditions/module.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'PremiumAddons\\Includes\\Helper_Functions' not found in wp-content/plugins/premium-addons-for-elementor/admin/includes/elements.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/premium-addons-for-elementor/modules/woocommerce/templates/quick-view-modal.php:9
- > PHP Fatal error
require_once(): Failed opening required 'PREMIUM_ADDONS_PATHwidgets/dep/urlopen.php' (include_path='.:/usr/share/php') in wp-content/plugins/premium-addons-for-elementor/includes/assets-manager.php on line 12
- > PHP Warning
Use of undefined constant PREMIUM_ADDONS_PATH - assumed 'PREMIUM_ADDONS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/premium-addons-for-elementor/includes/assets-manager.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function PremiumAddons\\Includes\\add_action() in wp-content/plugins/premium-addons-for-elementor/includes/class-pa-core.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #1 (Premium Addons Dashboard Tab) image required
premium-addons-for-elementor/premium-addons-for-elementor.php 92% from 13 tests
The principal PHP file in "Premium Addons for Elementor" v. 4.10.15 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 206 characters long)
Code Analysis Passed 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
No dangerous file extensions were detected199,719 lines of code in 526 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 196 | 15,987 | 13,011 | 94,997 |
CSS | 169 | 10,510 | 1,477 | 66,191 |
JavaScript | 140 | 10,469 | 3,139 | 38,038 |
XML | 1 | 28 | 0 | 267 |
SVG | 20 | 0 | 0 | 226 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 25.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 211.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 148 | |
▷ Abstract classes | 6 | 4.05% |
▷ Concrete classes | 142 | 95.95% |
▷ Final classes | 0 | 0.00% |
Methods | 1,383 | |
▷ Static methods | 157 | 11.35% |
▷ Public methods | 1,039 | 75.13% |
▷ Protected methods | 155 | 11.21% |
▷ Private methods | 189 | 13.67% |
Functions | 32 | |
▷ Named functions | 20 | 62.50% |
▷ Anonymous functions | 12 | 37.50% |
Constants | 28 | |
▷ Global constants | 12 | 42.86% |
▷ Class constants | 16 | 57.14% |
▷ Public constants | 16 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
30 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/frontend/images/prettyPhoto/default/sprite_x.png | 1.07KB | 0.11KB | ▼ 89.79% |
assets/frontend/images/prettyPhoto/default/sprite_next.png | 1.33KB | 0.39KB | ▼ 70.69% |
assets/frontend/images/prettyPhoto/facebook/contentPatternBottom.png | 0.14KB | 0.11KB | ▼ 21.13% |
assets/frontend/images/prettyPhoto/facebook/sprite.png | 4.13KB | 2.26KB | ▼ 45.33% |
assets/frontend/images/prettyPhoto/default/sprite_y.png | 1.13KB | 0.13KB | ▼ 88.81% |