Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.09ms] Passed 4 tests
This is a short check of server-side resources used by Widgetmax
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.21 ▼2.57 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.81 ▼0.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.17 ▲4.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.35 ▲2.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.89 ▲0.40 |
Server storage [IO: ▲0.77MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Widgetmax
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 14.75 ▲0.55 | 1.69 ▲0.15 | 39.97 ▲0.43 |
Dashboard /wp-admin | 2,224 ▲36 | 5.03 ▲0.12 | 112.71 ▲7.51 | 42.69 ▼1.68 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.01 ▼0.03 | 40.31 ▲5.17 | 36.18 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,550 ▲36 | 23.51 ▲5.83 | 586.69 ▼20.98 | 53.92 ▼0.29 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.23 ▲0.01 | 98.90 ▼1.22 | 43.78 ▲1.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% 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)
Even though no errors were found, this is by no means 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 take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/widgetmax-for-elementor/widgets/hello.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/widgetmax-for-elementor/widgets/Progresbar/widget.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: widget, elementor, elementor widget, elementor addons, elementor addon
widgetmax-for-elementor/widgetmax.php 85% from 13 tests
Analyzing the main PHP file in "Widgetmax" version 1.0
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("widgetmax-for-elementor.php" instead of "widgetmax.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 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 detected9,454 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 888 | 764 | 6,010 |
CSS | 3 | 371 | 45 | 2,890 |
SVG | 1 | 0 | 0 | 362 |
JavaScript | 5 | 42 | 39 | 192 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 27.40 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 165.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 1 | 10.00% |
Methods | 104 | |
▷ Static methods | 2 | 1.92% |
▷ Public methods | 59 | 56.73% |
▷ Protected methods | 43 | 41.35% |
▷ Private methods | 2 | 1.92% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin