Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.29MB] [CPU: ▲0.60ms] Passed 4 tests
An overview of server-side resources used by AlertsDLX - Alerts, Callouts, and Notifications
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.30 | 42.53 ▲4.05 |
Dashboard /wp-admin | 3.58 ▲0.27 | 49.29 ▲1.83 |
Posts /wp-admin/edit.php | 3.70 ▲0.33 | 46.71 ▼1.18 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 83.41 ▲2.35 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 35.43 ▼0.59 |
Server storage [IO: ▲2.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 84 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
AlertsDLX - Alerts, Callouts, and Notifications: 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,789 ▲28 | 14.35 ▲0.04 | 1.63 ▲0.11 | 43.12 ▲1.27 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▼0.01 | 100.06 ▲13.73 | 42.13 ▲2.31 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.00 | 35.16 ▼1.73 | 33.06 ▼7.04 |
Add New Post /wp-admin/post-new.php | 6,217 ▲4,691 | 19.53 ▼3.55 | 929.39 ▲256.65 | 40.21 ▼18.75 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.01 | 93.87 ▼19.52 | 44.57 ▼3.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after 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 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function DLXPlugins\\AlertsDLX\\add_action() in wp-content/plugins/alerts-dlx/alerts-dlx.php:88
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: shortcode, blocks, notifications, notice, alerts
alerts-dlx/alerts-dlx.php 92% from 13 tests
The main file in "AlertsDLX - Alerts, Callouts, and Notifications" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected4,605 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 7 | 0 | 0 | 2,672 |
PHP | 14 | 290 | 463 | 1,222 |
JSON | 5 | 0 | 0 | 693 |
CSS | 13 | 12 | 12 | 15 |
JavaScript | 1 | 0 | 3 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 23.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 38 | 57.58% |
▷ Public methods | 64 | 96.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.03% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin