Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼10.22ms] Passed 4 tests
Server-side resources used by Email Users on Update of Download for Easy Digital Downloads
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.32 ▼5.89 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.68 ▼22.80 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 50.05 ▲4.04 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 85.80 ▼14.65 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 36.55 ▲2.45 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Email Users on Update of Download for Easy Digital Downloads
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.55 ▼1.20 | 1.79 ▼0.44 | 37.37 ▼9.52 |
Dashboard /wp-admin | 2,204 ▲16 | 5.81 ▼0.00 | 105.32 ▼22.68 | 40.30 ▼3.30 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.97 ▼0.05 | 39.49 ▼0.31 | 35.79 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,517 ▼21 | 17.64 ▼5.74 | 676.29 ▲32.69 | 54.47 ▼0.61 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.28 ▲0.04 | 99.20 ▲1.62 | 44.08 ▲2.01 |
EDD Email Users /wp-admin/edd-email-users.php | 26 | 0.44 | 0.09 | 14.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/email-users-on-update-of-download-for-easy-digital-downloads/edd-email-user-admin-ajax.php
- > /wp-content/plugins/email-users-on-update-of-download-for-easy-digital-downloads/edd-email-user-email.php
- > /wp-content/plugins/email-users-on-update-of-download-for-easy-digital-downloads/edd-email-user-settingspage.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/email-users-on-update-of-download-for-easy-digital-downloads/edd-email-user.php:47
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following browser errors
- > GET request to /wp-admin/edd-email-users.php
- > Network (severe)
wp-admin/edd-email-users.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Screenshot #1 (Test...) image missing
email-users-on-update-of-download-for-easy-digital-downloads/edd-email-user.php 85% from 13 tests
"Email Users on Update of Download for Easy Digital Downloads" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("email-users-on-update-of-download-for-easy-digital-downloads.php" instead of "edd-email-user.php")
- Domain Path: The domain path is invalid: folder "/lang/" does not exist
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
There were no executable files found in this plugin347 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 155 | 130 | 347 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
No PNG files were detected