Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.82ms] Passed 4 tests
Analyzing server-side resources used by Dynamic Elementor Addons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.80 ▼1.96 |
Dashboard /wp-admin | 3.32 ▼0.03 | 44.81 ▼17.91 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.54 ▼3.07 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.77 ▼12.32 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.03 ▲3.43 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Dynamic Elementor Addons: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲51 | 13.22 ▼1.37 | 1.73 ▼0.31 | 42.14 ▼1.38 |
Dashboard /wp-admin | 2,228 ▲37 | 4.90 ▼0.96 | 108.87 ▼7.92 | 42.43 ▼1.65 |
Posts /wp-admin/edit.php | 2,110 ▲24 | 2.03 ▲0.03 | 41.67 ▲6.14 | 35.85 ▲0.35 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 18.12 ▲0.48 | 622.98 ▼58.68 | 55.69 ▲2.72 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.17 ▼0.05 | 105.06 ▲10.04 | 41.57 ▼4.75 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/dynamic-elementor-addons/public/partials/dynamic-elementor-addons-public-display.php
- > /wp-content/plugins/dynamic-elementor-addons/admin/partials/dynamic-elementor-addons-admin-display.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function the_post_thumbnail() in wp-content/plugins/dynamic-elementor-addons/widgets/dae-templates/default-page-post.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function DynamicElementorAddons\\add_action() in wp-content/plugins/dynamic-elementor-addons/widgets/class-dynamic-elementor-addons-widget.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_post_thumbnail() in wp-content/plugins/dynamic-elementor-addons/widgets/dae-templates/default-post.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: dynamic post, widget, elementor
dynamic-elementor-addons/dynamic-elementor-addons.php Passed 13 tests
The principal PHP file in "Dynamic Elementor Addons" v. 1.0.0 is loaded by WordPress automatically on each request
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
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
There were no executable files found in this plugin642 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 214 | 726 | 636 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 3 | 6.98% |
▷ Public methods | 34 | 79.07% |
▷ Protected methods | 4 | 9.30% |
▷ Private methods | 5 | 11.63% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin