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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼2.95ms] Passed 4 tests
An overview of server-side resources used by Dashboard System Info
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 39.49 ▲0.27 |
Dashboard /wp-admin | 3.38 ▲0.03 | 52.67 ▼7.57 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 46.50 ▲2.30 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 87.83 ▼1.81 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.98 ▼2.67 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Dashboard System Info
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,078 ▲332 | 13.21 ▼1.17 | 1.78 ▼0.00 | 30.68 ▼9.63 |
Dashboard /wp-admin | 2,484 ▲293 | 5.86 ▼0.04 | 94.85 ▼10.33 | 46.25 ▲5.33 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.05 | 35.04 ▼0.24 | 38.20 ▲3.64 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.68 ▲0.51 | 663.88 ▼28.49 | 52.21 ▼3.19 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▼0.01 | 94.99 ▼10.32 | 43.37 ▼0.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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 return non-empty strings:
- > /wp-content/plugins/dashboard-system-info/src/view/widget-content.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/dashboard-system-info/src/view/widget-content.php on line 6
- > PHP Notice
Undefined variable: data in wp-content/plugins/dashboard-system-info/src/view/widget-content.php on line 6
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: system information, dashboard, overview
dashboard-system-info/dashboard-system-info.php Passed 13 tests
This is the main PHP file of "Dashboard System Info" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
64 characters long description:
Display system information on the administration dashboard page.
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
Success! There were no dangerous files found in this plugin524 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 3 | 105 | 105 | 263 |
PHP | 7 | 42 | 135 | 224 |
Sass | 1 | 8 | 0 | 36 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 4 | 33.33% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.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