Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼296.20ms] Passed 4 tests
An overview of server-side resources used by Zeus For Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.04 | 57.02 ▼3.11 |
Dashboard /wp-admin | 3.45 ▲0.04 | 33.00 ▲0.13 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 35.92 ▼0.00 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.05 | 94.80 ▼1,175.67 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 24.84 ▼6.00 |
Server storage [IO: ▲3.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 336 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Zeus For Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,806 ▲64 | 15.96 ▲0.29 | 5.75 ▼0.66 | 2.80 ▼0.02 |
Dashboard /wp-admin | 2,915 ▲54 | 6.12 ▼0.03 | 121.20 ▼11.31 | 158.82 ▼4.12 |
Posts /wp-admin/edit.php | 2,704 ▲10 | 3.24 ▲0.00 | 67.42 ▲3.48 | 140.67 ▼3.93 |
Add New Post /wp-admin/post-new.php | 1,761 ▲9 | 21.48 ▲0.55 | 438.20 ▼4.42 | 153.63 ▼0.69 |
Media Library /wp-admin/upload.php | 1,710 ▲12 | 5.50 ▼0.01 | 136.85 ▲1.08 | 186.79 ▼7.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 40× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zeus-elementor/modules/off-canvas/widgets/off-canvas.php:12
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zeus-elementor/modules/wpforms/widgets/wpforms.php:12
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zeus-elementor/modules/scroll-up/widgets/scroll-up.php:11
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zeus-elementor/modules/ninja-forms/widgets/ninja-forms.php:12
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zeus-elementor/modules/circle-progress/widgets/circle-progress.php:11
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zeus-elementor/modules/woo-products/widgets/woo-products.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zeus-elementor/includes/themes/class-generatepress-theme.php:26
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zeus-elementor/modules/member-carousel/widgets/member-carousel.php:14
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zeus-elementor/modules/testimonial-carousel/widgets/testimonial-carousel.php:14
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/zeus-elementor/modules/woo-slider/widgets/woo-slider.php:12
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
- Screenshots: Screenshot #1 (General Panel) image not found
zeus-elementor/zeus-elementor.php 85% from 13 tests
The main PHP script in "Zeus For Elementor" version 1.0.6 is automatically included on every request by WordPress
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 159 characters long)
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" 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
Success! There were no dangerous files found in this plugin60,981 lines of code in 327 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 133 | 7,066 | 1,663 | 46,346 |
CSS | 111 | 1,445 | 270 | 9,226 |
JavaScript | 66 | 1,265 | 210 | 4,951 |
SVG | 17 | 0 | 3 | 458 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 11.31 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 112 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 124 | |
▷ Abstract classes | 1 | 0.81% |
▷ Concrete classes | 123 | 99.19% |
▷ Final classes | 1 | 0.81% |
Methods | 780 | |
▷ Static methods | 20 | 2.56% |
▷ Public methods | 578 | 74.10% |
▷ Protected methods | 185 | 23.72% |
▷ Private methods | 17 | 2.18% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 compressed PNG files occupy 0.20MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/img/templates.png | 207.31KB | 219.76KB | 0.00% |
assets/css/vendors/photo-swipe/default-skin.png | 0.53KB | 0.72KB | 0.00% |