Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.33MB] [CPU: ▼0.72ms] Passed 4 tests
This is a short check of server-side resources used by Definitive Addons for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 43.25 ▲3.43 |
Dashboard /wp-admin | 3.63 ▲0.32 | 47.47 ▲1.42 |
Posts /wp-admin/edit.php | 3.74 ▲0.38 | 47.72 ▲4.85 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 90.27 ▼10.53 |
Media Library /wp-admin/upload.php | 3.55 ▲0.32 | 36.79 ▲2.81 |
Server storage [IO: ▲2.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 64 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Definitive Addons for Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲221 | 13.72 ▼0.66 | 8.82 ▲7.13 | 42.36 ▼4.10 |
Dashboard /wp-admin | 2,241 ▲53 | 5.81 ▼0.05 | 101.21 ▼5.18 | 74.29 ▲30.12 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.01 ▼0.00 | 40.02 ▲3.19 | 37.83 ▲2.33 |
Add New Post /wp-admin/post-new.php | 1,558 ▲38 | 18.09 ▼5.06 | 758.39 ▲70.63 | 56.90 ▲2.65 |
Media Library /wp-admin/upload.php | 1,420 ▲38 | 4.16 ▼0.24 | 98.91 ▲0.54 | 83.54 ▲39.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 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 Passed 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
Congratulations! This plugin passed the SRP test
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: widget, elementor, element, addons, definitive
definitive-addons-for-elementor/definitive_adons_elementor.php 92% from 13 tests
The main PHP file in "Definitive Addons for Elementor" ver. 1.5.16 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("definitive-addons-for-elementor.php" instead of "definitive_adons_elementor.php")
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
No dangerous file extensions were detected29,634 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 4,141 | 2,488 | 19,162 |
CSS | 6 | 1,098 | 92 | 5,372 |
JavaScript | 10 | 1,620 | 1,055 | 5,087 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 7.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 1.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 39 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 39 | 100.00% |
▷ Final classes | 1 | 2.56% |
Methods | 291 | |
▷ Static methods | 25 | 8.59% |
▷ Public methods | 221 | 75.95% |
▷ Protected methods | 70 | 24.05% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ 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
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/admin/assets/img/icon-256x256.png | 30.65KB | 16.46KB | ▼ 46.31% |