Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/blue-utopia/blueutopia.php+45
Function create_function() is deprecated
Server metrics [RAM: ▼1.78MB] [CPU: ▼191.63ms] Passed 4 tests
This is a short check of server-side resources used by Blue Utopia Donate Now
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.85 ▼0.86 | 5.49 ▼14.52 |
Dashboard /wp-admin | 1.87 ▼1.18 | 6.55 ▼42.88 |
Posts /wp-admin/edit.php | 1.87 ▼1.23 | 5.74 ▼40.53 |
Add New Post /wp-admin/post-new.php | 1.87 ▼3.56 | 5.72 ▼652.98 |
Media Library /wp-admin/upload.php | 1.87 ▼1.13 | 5.77 ▼30.11 |
Blue Utopia Donate Now /wp-admin/options-general.php?page=blueutopiadonate | 1.87 | 6.10 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_blueutopiadonatewidget |
Browser metrics Passed 4 tests
An overview of browser requirements for Blue Utopia Donate Now
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.83 ▲0.28 | 11.14 ▲2.78 | 48.09 ▼3.01 |
Dashboard /wp-admin | 2,978 ▲44 | 5.91 ▼0.05 | 143.42 ▼3.97 | 108.19 ▼5.04 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▲0.00 | 61.19 ▼7.37 | 86.94 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,501 ▼182 | 18.82 ▲0.12 | 427.01 ▲25.28 | 107.39 ▼1.21 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.01 ▼0.04 | 156.65 ▼12.33 | 114.23 ▲4.21 |
Blue Utopia Donate Now /wp-admin/options-general.php?page=blueutopiadonate | 1,029 | 2.10 | 58.31 | 76.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/blue-utopia/blueutopia.php+45
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_blueutopiadonatewidget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=blueutopiadonate
- > Deprecated in wp-content/plugins/blue-utopia/blueutopia.php+45
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=blueutopiadonate
- > User deprecated in wp-includes/functions.php+5304
The called constructor method for WP_Widget in BlueUtopiaDonateWidget is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=blueutopiadonate
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=blueutopiadonate
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=blueutopiadonate
- > Notice in wp-content/plugins/blue-utopia/assets/api.php+171
Undefined variable: account_info
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
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/blue-utopia/blueutopia.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
blue-utopia/blueutopia.php 92% from 13 tests
The main PHP script in "Blue Utopia Donate Now" version 1.0.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("blue-utopia.php" instead of "blueutopia.php")
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
No dangerous file extensions were detected682 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 66 | 38 | 385 |
CSS | 11 | 34 | 0 | 297 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 45.50 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 5.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 89.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 10.53% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 were not PNG files found in your plugin