Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.16MB] [CPU: ▼14.33ms] Passed 4 tests
A check of server-side resources used by D-Elementor-widgets
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.72 ▼0.66 |
Dashboard /wp-admin | 3.21 ▼0.09 | 33.47 ▼15.65 |
Posts /wp-admin/edit.php | 3.28 ▼0.08 | 36.81 ▼12.00 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 69.25 ▼29.00 |
Media Library /wp-admin/upload.php | 3.21 ▼0.01 | 32.70 ▼0.63 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for D-Elementor-widgets
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲97 | 13.14 ▼1.23 | 1.84 ▲0.14 | 40.56 ▲0.53 |
Dashboard /wp-admin | 2,224 ▲39 | 4.86 ▼0.99 | 109.84 ▲7.06 | 41.88 ▲1.65 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.00 ▲0.01 | 41.09 ▲5.17 | 36.62 ▲5.55 |
Add New Post /wp-admin/post-new.php | 1,555 ▲13 | 18.25 ▼0.02 | 635.62 ▲41.71 | 52.53 ▼10.36 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.16 ▼0.06 | 97.43 ▼1.96 | 42.49 ▼2.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function DelwElementor\\apply_filters() in wp-content/plugins/d-elementor-widgets/elementor/class-widgets.php:6
- > PHP Fatal error
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 important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (19 tag instead of maximum 10)
d-elementor-widgets/d-elementor.php 77% from 13 tests
Analyzing the main PHP file in "D-Elementor-widgets" version 5.8
It is important to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("5.6" instead of "5.5")
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("d-elementor-widgets.php" instead of "d-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin9,052 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 518 | 281 | 5,755 |
PHP | 7 | 456 | 214 | 3,296 |
JavaScript | 1 | 1 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 18.67 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 46 | |
▷ Static methods | 1 | 2.17% |
▷ Public methods | 39 | 84.78% |
▷ Protected methods | 7 | 15.22% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG files were detected