Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼2.98ms] Passed 4 tests
Analyzing server-side resources used by Piotnet Addons For Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 47.19 ▲8.13 |
Dashboard /wp-admin | 3.45 ▲0.11 | 49.15 ▼14.15 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 53.97 ▲8.01 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 88.11 ▼13.90 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 39.48 ▲8.66 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 71 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Piotnet Addons For Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,892 ▲130 | 13.43 ▼0.97 | 10.29 ▲8.62 | 41.79 ▼2.32 |
Dashboard /wp-admin | 2,212 ▲32 | 5.54 ▼0.14 | 87.15 ▼15.63 | 37.59 ▼9.49 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 1.99 ▲0.03 | 38.21 ▼0.03 | 34.66 ▼6.38 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.10 ▼0.27 | 648.95 ▲1.23 | 61.53 ▲13.15 |
Media Library /wp-admin/upload.php | 1,420 ▲26 | 4.28 ▲0.06 | 98.16 ▼1.01 | 44.46 ▲2.02 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 28× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
Use of undefined constant ELEMENTOR_VERSION - assumed 'ELEMENTOR_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/piotnet-addons-for-elementor/controls/controls-manager.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/piotnet-addons-for-elementor/controls/controls-manager.php:20
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/piotnet-addons-for-elementor/widgets/pafe-product-tabs.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/piotnet-addons-for-elementor/widgets/pafe-dual-color-headline.php:3
- > PHP Warning
Use of undefined constant ELEMENTOR_VERSION - assumed 'ELEMENTOR_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/piotnet-addons-for-elementor/controls/controls-manager.php on line 19
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/piotnet-addons-for-elementor/controls/pafe-gradient-button.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/piotnet-addons-for-elementor/controls/controls-manager.php:20
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/piotnet-addons-for-elementor/widgets/pafe-posts-list.php:2
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/piotnet-addons-for-elementor/widgets/pafe-image-accordion.php:2
- > PHP Warning
Use of undefined constant ELEMENTOR_VERSION - assumed 'ELEMENTOR_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/piotnet-addons-for-elementor/controls/controls-manager.php on line 19
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: gradient button, elementor addons, gradient text, image carousel multiple custom urls, pafe
piotnet-addons-for-elementor/piotnet-addons-for-elementor.php 92% from 13 tests
The main PHP file in "Piotnet Addons For Elementor" ver. 2.4.25 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected13,539 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 782 | 60 | 9,686 |
JavaScript | 19 | 602 | 207 | 2,438 |
CSS | 18 | 218 | 11 | 1,414 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 12.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 1 | 4.17% |
Methods | 200 | |
▷ Static methods | 4 | 2.00% |
▷ Public methods | 161 | 80.50% |
▷ Protected methods | 38 | 19.00% |
▷ Private methods | 1 | 0.50% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 5 | 55.56% |
▷ Class constants | 4 | 44.44% |
▷ Public constants | 4 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/piotnet-logo.png | 9.58KB | 2.99KB | ▼ 68.80% |