Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method SendPress_EDD_Signup::plugin_activation() should not be called statically
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.97ms] Passed 4 tests
Server-side resources used by SendPress for Easy Digital Downloads
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 34.02 ▼6.90 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.67 ▼5.94 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 43.87 ▼5.97 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 93.26 ▼25.06 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.05 ▼0.14 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for SendPress for Easy Digital Downloads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲80 | 13.21 ▼1.08 | 1.61 ▼0.22 | 40.07 ▼0.01 |
Dashboard /wp-admin | 2,218 ▲26 | 5.79 ▲0.86 | 100.03 ▼15.93 | 39.59 ▼9.40 |
Posts /wp-admin/edit.php | 2,103 ▲11 | 2.00 ▲0.01 | 41.75 ▲0.34 | 35.13 ▼2.87 |
Add New Post /wp-admin/post-new.php | 1,529 ▼4 | 17.79 ▼5.36 | 592.97 ▼87.99 | 49.12 ▼7.82 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.22 ▲0.01 | 102.34 ▼10.26 | 43.92 ▼3.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method SendPress_EDD_Signup::plugin_deactivation() should not be called statically
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edd-sendpress/classes/edd-sendpress-signup.php:174
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/edd-sendpress/classes/edd-sendpress-signup.php:174
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: easy digital downloads, e-downloads, email, digital downloads, connect...
edd-sendpress/edd-sendpress.php Passed 13 tests
The principal PHP file in "SendPress for Easy Digital Downloads" v. 1.0 is loaded by WordPress automatically on each request
75 characters long description:
Include a SendPress signup option with your Easy Digital Downloads checkout
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin125 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 36 | 38 | 125 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 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 | 2 | 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 were not PNG files found in your plugin