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 gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▲1.11ms] Passed 4 tests
This is a short check of server-side resources used by Dashboard Welcome for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.18 ▼2.37 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.97 ▼0.39 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.32 ▲1.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 95.46 ▲10.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.83 ▲5.77 |
Server storage [IO: ▲0.14MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dashboard Welcome for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲74 | 13.22 ▼1.18 | 1.54 ▼0.10 | 36.37 ▼4.72 |
Dashboard /wp-admin | 2,212 ▲21 | 4.86 ▼0.04 | 109.75 ▲7.15 | 42.89 ▲4.75 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.01 ▼0.16 | 39.93 ▼2.08 | 35.48 ▲1.52 |
Add New Post /wp-admin/post-new.php | 1,543 ▲9 | 23.42 ▲0.41 | 613.48 ▼55.10 | 52.03 ▼6.59 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.21 ▲0.00 | 95.32 ▲0.47 | 39.43 ▼5.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_multisite() in wp-content/plugins/dashboard-welcome-for-elementor/includes/admin-settings.php:5
- > PHP Notice
Undefined variable: title in wp-content/plugins/dashboard-welcome-for-elementor/includes/admin-settings.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/dashboard-welcome-for-elementor/includes/welcome-panel.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
dashboard-welcome-for-elementor/dashboard-welcome-elementor.php 85% from 13 tests
The principal PHP file in "Dashboard Welcome for Elementor" v. 1.0.7 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("dashboard-welcome-for-elementor.php" instead of "dashboard-welcome-elementor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin2,162 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 497 | 803 | 1,938 |
Markdown | 2 | 77 | 0 | 184 |
JSON | 1 | 0 | 0 | 21 |
CSS | 1 | 4 | 0 | 19 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 40.83 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 2 | 33.33% |
Methods | 109 | |
▷ Static methods | 3 | 2.75% |
▷ Public methods | 71 | 65.14% |
▷ Protected methods | 6 | 5.50% |
▷ Private methods | 32 | 29.36% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin