Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/raise-the-money/raise-the-money-widget.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; RaiseTheMoneyWidget has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼58.58ms] Passed 4 tests
An overview of server-side resources used by Raise The Money
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 4.81 ▼34.35 |
Dashboard /wp-admin | 2.10 ▼1.25 | 6.59 ▼57.91 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 8.25 ▼44.06 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 5.63 ▼98.00 |
Media Library /wp-admin/upload.php | 2.10 ▼1.14 | 5.22 ▼29.85 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Raise The Money: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.30 ▼1.08 | 1.99 ▲0.03 | 43.03 ▲7.02 |
Dashboard /wp-admin | 2,203 ▲15 | 4.86 ▼1.05 | 108.53 ▲3.69 | 42.33 ▼1.78 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.01 | 40.41 ▲5.82 | 35.24 ▲3.09 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 18.53 ▼4.71 | 602.96 ▼76.23 | 48.13 ▼13.40 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▼0.04 | 94.30 ▼2.02 | 42.81 ▼1.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/raise-the-money/raise-the-money-widget.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; RaiseTheMoneyWidget has a deprecated constructor
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/raise-the-money/raise-the-money.php:41
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/raise-the-money/raise-the-money-widget.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: fundraising, contributions, donate, political
raise-the-money/raise-the-money.php Passed 13 tests
"Raise The Money" version 5.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
87 characters long description:
A WordPress plugin for embedding the Raise The Money contribution form in your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected73 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 21 | 41 | 73 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 2.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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
No PNG images were found in this plugin