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
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.37ms] Passed 4 tests
This is a short check of server-side resources used by Help Ukraine
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.09 ▼3.99 |
Dashboard /wp-admin | 3.32 ▼0.03 | 47.93 ▼12.60 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.36 ▼1.18 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.50 ▼15.71 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.71 ▲4.32 |
Help Ukraine /wp-admin/options-general.php?page=help-ukraine | 3.20 | 31.08 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Help Ukraine
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.29 ▼1.01 | 5.89 ▲4.33 | 40.84 ▼5.71 |
Dashboard /wp-admin | 2,207 ▲22 | 5.79 ▲0.85 | 107.75 ▲5.48 | 38.66 ▼5.11 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.03 ▲0.02 | 43.04 ▲1.13 | 36.98 ▼1.66 |
Add New Post /wp-admin/post-new.php | 1,517 ▼19 | 17.57 ▼5.71 | 655.08 ▲47.59 | 54.73 ▲3.89 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▲0.03 | 103.97 ▲7.08 | 44.73 ▲3.66 |
Help Ukraine /wp-admin/options-general.php?page=help-ukraine | 858 | 2.03 | 24.26 | 38.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/help-ukraine/help-ukraine.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
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
1 plugin tags: ukraine
help-ukraine/help-ukraine.php Passed 13 tests
The entry point to "Help Ukraine" version 1.0.4 is a PHP file that has certain tags in its header comment area
125 characters long description:
A plugin to simplify adding a Help Ukraine banner, from the folks at https://helpukrainewinwidget.org/, to WordPress websites
Code Analysis Passed 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
Good job! No executable or dangerous file extensions detected283 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 28 | 19 | 165 |
JavaScript | 1 | 10 | 3 | 118 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin