Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼6.03ms] Passed 4 tests
Analyzing server-side resources used by Drozd - Addons for Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.19 ▼0.20 |
Dashboard /wp-admin | 3.43 ▲0.12 | 49.78 ▼0.55 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.06 ▼1.22 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 79.93 ▼22.13 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.98 ▲5.24 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 65 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Drozd - Addons for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲170 | 13.67 ▼0.64 | 5.50 ▲3.53 | 47.00 ▲3.94 |
Dashboard /wp-admin | 2,224 ▲36 | 5.89 ▼0.01 | 112.47 ▼3.10 | 83.56 ▲35.74 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.03 ▲0.06 | 34.92 ▼2.52 | 34.41 ▼3.29 |
Add New Post /wp-admin/post-new.php | 1,699 ▲170 | 22.55 ▼0.58 | 746.18 ▲80.50 | 55.15 ▲8.17 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.17 ▼0.01 | 105.76 ▲6.55 | 45.38 ▲2.06 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
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
Good news, no errors were detected
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× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/drozd-addons-for-elementor/public/partials/drozd-public-display.php
- > /wp-content/plugins/drozd-addons-for-elementor/admin/partials/elements.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/drozd-addons-for-elementor/admin/partials/general.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/drozd-addons-for-elementor/public/elementor/functions/elementor-functions.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #4, #5, #6, #7 in drozd-addons-for-elementor/assets to your readme.txt
drozd-addons-for-elementor/drozd.php 92% from 13 tests
The primary PHP file in "Drozd - Addons for Elementor" version 1.1.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("drozd-addons-for-elementor.php" instead of "drozd.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin19,719 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 42 | 2,936 | 1,318 | 17,378 |
CSS | 3 | 94 | 185 | 2,292 |
SVG | 1 | 0 | 0 | 31 |
JavaScript | 2 | 37 | 2 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 9.35 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 34 | 100.00% |
▷ Final classes | 1 | 2.94% |
Methods | 217 | |
▷ Static methods | 3 | 1.38% |
▷ Public methods | 134 | 61.75% |
▷ Protected methods | 78 | 35.94% |
▷ Private methods | 5 | 2.30% |
Functions | 11 | |
▷ Named functions | 11 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/drozd-logo.png | 1.01KB | 0.34KB | ▼ 66.31% |
admin/images/documents.png | 0.35KB | 0.36KB | 0.00% |
admin/images/icon-element.png | 0.31KB | 0.32KB | 0.00% |
admin/images/logo-150.png | 8.34KB | 8.54KB | 0.00% |
admin/images/drozd-100.png | 1.71KB | 1.76KB | 0.00% |