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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.10ms] Passed 4 tests
Server-side resources used by Subscriber Discounts for Easy Digital Downloads
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.27 ▼4.99 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.60 ▼3.48 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.77 ▲4.85 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 93.88 ▲3.92 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.69 ▲4.16 |
Subscriber Discounts /wp-admin/edit.php?post_type=download&page=subscriber-discounts-edd | 3.06 | 23.27 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Subscriber Discounts for Easy Digital Downloads
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.39 ▼1.25 | 4.40 ▲2.67 | 42.73 ▼4.52 |
Dashboard /wp-admin | 2,210 ▲19 | 4.85 ▼0.06 | 101.52 ▼2.73 | 38.88 ▼3.11 |
Posts /wp-admin/edit.php | 2,095 ▲9 | 2.04 ▲0.05 | 41.65 ▲6.65 | 37.37 ▲3.31 |
Add New Post /wp-admin/post-new.php | 1,543 ▲1 | 23.50 ▲5.25 | 593.41 ▼13.54 | 47.64 ▼2.57 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.21 ▲0.03 | 95.21 ▼48.40 | 41.46 ▼13.22 |
Subscriber Discounts /wp-admin/edit.php?post_type=download&page=subscriber-discounts-edd | 28 | 0.44 | 0.10 | 3.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=download&page=subscriber-discounts-edd
- > Network (severe)
wp-admin/edit.php?post_type=download&page=subscriber-discounts-edd - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: mailchimp, easy digital downloads, discounts, activecampaign
subscriber-discounts-for-easy-digital-downloads/subscriber-discounts-for-easy-digital-downloads.php 92% from 13 tests
The entry point to "Subscriber Discounts for Easy Digital Downloads" version 1.1.3 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin391 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 40 | 143 | 391 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin