Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.16MB] [CPU: ▼17.68ms] Passed 4 tests
A check of server-side resources used by Genius Addons For Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.16 ▼4.71 |
Dashboard /wp-admin | 3.20 ▼0.10 | 32.26 ▼17.80 |
Posts /wp-admin/edit.php | 3.27 ▼0.08 | 31.52 ▼16.73 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.45 | 69.47 ▼31.47 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 32.08 ▼1.55 |
Server storage [IO: ▲4.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 66 new files
Database: no new tables, 7 new options
New WordPress options |
---|
recovery_mode_email_last_sent |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Genius Addons For Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,475 ▼1,271 | 12.77 ▼1.98 | 2.32 ▲0.38 | 43.13 ▲0.27 |
Dashboard /wp-admin | 843 ▼1,345 | 1.38 ▼4.52 | 12.60 ▼103.04 | 21.46 ▼20.63 |
Posts /wp-admin/edit.php | 854 ▼1,235 | 1.53 ▼0.49 | 6.73 ▼29.15 | 21.17 ▼18.46 |
Add New Post /wp-admin/post-new.php | 580 ▼939 | 1.73 ▼21.47 | 19.74 ▼625.46 | 7.86 ▼44.54 |
Media Library /wp-admin/upload.php | 739 ▼649 | 1.73 ▼2.40 | 24.13 ▼81.60 | 27.92 ▼16.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- recovery_mode_email_last_sent
- widget_recent-comments
- can_compress_scripts
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 everything seems fine, this is not 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/genius-addon-lite/admin/partials/tabs/get-pro.php
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
Use of undefined constant GENIUS_ADDON_ADMIN_ASSETS - assumed 'GENIUS_ADDON_ADMIN_ASSETS' (this will throw an Error in a future version of PHP) in wp-content/plugins/genius-addon-lite/admin/partials/tabs/home.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/genius-addon-lite/admin/partials/tabs/home.php:17
- > PHP Fatal error
Uncaught Error: Class 'Genius\\Core\\Widget_Manager' not found in wp-content/plugins/genius-addon-lite/admin/partials/genius-manu-page-display.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/genius-addon-lite/admin/partials/tabs/cache-option.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/genius-addon-lite/admin/partials/tabs/extensions.php:4
- > PHP Fatal error
Uncaught Error: Class 'Genius\\Core\\Widget_Manager' not found in wp-content/plugins/genius-addon-lite/admin/partials/tabs/elements.php:6
- > PHP Fatal error
Uncaught Error: Class 'Genius\\Core\\Widget_Manager' not found in wp-content/plugins/genius-addon-lite/admin/partials/tabs/third-party.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/genius-addon-lite/admin/partials/tabs/configurations.php:4
- > PHP Warning
Use of undefined constant GENIUS_ADDON_ADMIN_ASSETS - assumed 'GENIUS_ADDON_ADMIN_ASSETS' (this will throw an Error in a future version of PHP) in wp-content/plugins/genius-addon-lite/admin/partials/tabs/home.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/genius-addon-lite/admin/partials/tabs/custom-css.php:4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 86% 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
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
genius-addon-lite/genius-addon.php 77% from 13 tests
The principal PHP file in "Genius Addons For Elementor" v. 1.0.3 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 72 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("genius-addon-lite.php" instead of "genius-addon.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.2" instead of "5.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected17,611 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 2,279 | 46 | 7,981 |
PHP | 30 | 395 | 1,045 | 4,702 |
SVG | 3 | 0 | 0 | 4,674 |
JavaScript | 5 | 38 | 33 | 254 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 6.61 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 22 | 18.49% |
▷ Public methods | 91 | 76.47% |
▷ Protected methods | 26 | 21.85% |
▷ Private methods | 2 | 1.68% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
7 PNG files occupy 0.48MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/image/love.png | 36.63KB | 10.39KB | ▼ 71.64% |
admin/assets/icon/menu-icon.png | 0.32KB | 0.26KB | ▼ 20.24% |
assets/icon/menu-icon.png | 0.32KB | 0.26KB | ▼ 20.24% |
admin/assets/image/help.png | 23.58KB | 7.47KB | ▼ 68.33% |
admin/assets/image/subscribe.png | 40.73KB | 12.11KB | ▼ 70.27% |