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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.41MB] [CPU: ▲6.20ms] Passed 4 tests
An overview of server-side resources used by DethemeKit For Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.71 ▲1.24 | 47.80 ▲7.96 |
Dashboard /wp-admin | 4.76 ▲1.46 | 56.90 ▲4.36 |
Posts /wp-admin/edit.php | 4.87 ▲1.52 | 58.23 ▲7.59 |
Add New Post /wp-admin/post-new.php | 7.36 ▲1.47 | 99.70 ▲9.92 |
Media Library /wp-admin/upload.php | 4.68 ▲1.45 | 42.03 ▲4.90 |
Version Control /wp-admin/admin.php?page=dethemekit-addons-version | 4.66 | 38.73 |
Dethemekit /wp-admin/options-general.php?page=dethemekit-setting-page | 4.65 | 40.15 |
System Info /wp-admin/admin.php?page=dethemekit-addons-sys | 4.70 | 40.61 |
Google Maps /wp-admin/admin.php?page=dethemekit-addons-maps | 4.66 | 41.55 |
Settings /wp-admin/admin.php?page=dethemekit-addons-about | 4.65 | 39.49 |
Server storage [IO: ▲9.26MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 331 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
dethemekit_option |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for DethemeKit For Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,000 ▲239 | 13.62 ▼0.79 | 14.63 ▲12.58 | 36.60 ▼9.48 |
Dashboard /wp-admin | 2,254 ▲77 | 5.59 ▼0.01 | 91.70 ▼4.31 | 82.33 ▲39.10 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.12 ▲0.13 | 35.39 ▼0.14 | 34.63 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,557 ▲26 | 23.06 ▼0.25 | 606.74 ▼88.32 | 54.91 ▲7.66 |
Media Library /wp-admin/upload.php | 1,437 ▲40 | 4.32 ▲0.12 | 97.32 ▼19.97 | 43.73 ▼7.12 |
Version Control /wp-admin/admin.php?page=dethemekit-addons-version | 947 | 2.54 | 60.52 | 37.22 |
Dethemekit /wp-admin/options-general.php?page=dethemekit-setting-page | 879 | 2.17 | 24.12 | 27.77 |
System Info /wp-admin/admin.php?page=dethemekit-addons-sys | 999 | 2.56 | 53.74 | 36.88 |
Google Maps /wp-admin/admin.php?page=dethemekit-addons-maps | 1,251 | 2.55 | 44.46 | 35.06 |
Settings /wp-admin/admin.php?page=dethemekit-addons-about | 937 | 2.54 | 44.09 | 38.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- dethemekit_option
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 8× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/dethemekit-for-elementor/includes/test.php
- > /wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-content.php
- > /wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-filters-item.php
- > /wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-tabs-item.php
- > /wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-tabs.php
- > /wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-filters.php
- > /wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-templates.php
- > /wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-preview.php
- 16× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-error.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-header-back.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-insert-button.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-loading.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dethemekit-for-elementor/modules/controls/de-global-style.php:144
- > PHP Warning
Use of undefined constant DETHEMEKIT_ADDONS_URL - assumed 'DETHEMEKIT_ADDONS_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-header-logo.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/dethemekit-for-elementor/admin/settings/dethemekit-settings.php:209
- > PHP Fatal error
Uncaught Error: Class 'Detheme_Kit' not found in wp-content/plugins/dethemekit-for-elementor/core.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-header-logo.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/dethemekit-for-elementor/includes/templates/scripts/template-modal-item.php:19
- > 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 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Requires at least: Version format is invalid
- Tested up to: Version format is invalid
dethemekit-for-elementor/detheme-kit.php 85% from 13 tests
The entry point to "DethemeKit For Elementor" version 2.0.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dethemekit-for-elementor.php" instead of "detheme-kit.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin90,419 lines of code in 246 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 74 | 5,147 | 2,473 | 30,149 |
CSS | 49 | 2,962 | 567 | 27,449 |
PHP | 113 | 4,711 | 4,215 | 24,076 |
SVG | 8 | 0 | 0 | 4,128 |
Sass | 1 | 906 | 0 | 2,736 |
PO File | 1 | 891 | 1,208 | 1,881 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please tend to the following items
- Method cyclomatic complexity should be reduced to less than 100 (currently 148)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 15.79 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 149.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 148.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 89 | |
▷ Abstract classes | 6 | 6.74% |
▷ Concrete classes | 83 | 93.26% |
▷ Final classes | 2 | 2.41% |
Methods | 717 | |
▷ Static methods | 111 | 15.48% |
▷ Public methods | 565 | 78.80% |
▷ Protected methods | 117 | 16.32% |
▷ Private methods | 35 | 4.88% |
Functions | 78 | |
▷ Named functions | 59 | 75.64% |
▷ Anonymous functions | 19 | 24.36% |
Constants | 22 | |
▷ Global constants | 11 | 50.00% |
▷ Class constants | 11 | 50.00% |
▷ Public constants | 11 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
42 PNG files occupy 0.57MB with 0.34MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/frontend/images/prettyPhoto/default/sprite_prev.png | 1.34KB | 0.38KB | ▼ 71.73% |
admin/images/dethemekit-addons-logo.png | 9.84KB | 4.58KB | ▼ 53.45% |
assets/frontend/images/prettyPhoto1/default/sprite.png | 6.53KB | 3.21KB | ▼ 50.87% |
admin/images/dethemekit-blocks-logo.png | 5.17KB | 2.48KB | ▼ 51.99% |
assets/frontend/images/prettyPhoto1/default/sprite_prev.png | 1.34KB | 0.38KB | ▼ 71.73% |