Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.88ms] Passed 4 tests
Analyzing server-side resources used by Download After Email - Subscribe & Download Form Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.72 ▼4.29 |
Dashboard /wp-admin | 3.36 ▲0.05 | 49.46 ▲0.84 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 44.83 ▼2.65 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 84.22 ▼13.41 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.33 ▲1.87 |
Options /wp-admin/edit.php?post_type=dae_download&page=dae-options | 3.25 | 31.42 |
Messages /wp-admin/edit.php?post_type=dae_download&page=dae-messages | 3.31 | 42.95 |
All Downloads /wp-admin/edit.php?post_type=dae_download | 3.32 | 37.26 |
Add New /wp-admin/post-new.php?post_type=dae_download | 3.40 | 47.35 |
Subscribers /wp-admin/edit.php?post_type=dae_download&page=dae-subscribers | 3.25 | 36.14 |
Server storage [IO: ▲2.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_dae_subscribermeta |
wp_dae_subscribers |
wp_dae_linkmeta |
wp_dae_links |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Download After Email - Subscribe & Download Form Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲216 | 13.99 ▼0.31 | 11.41 ▲9.54 | 43.86 ▼4.47 |
Dashboard /wp-admin | 2,245 ▲57 | 4.85 ▼0.05 | 105.40 ▼8.46 | 41.97 ▼4.37 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.01 ▼0.03 | 33.75 ▼2.17 | 36.13 ▲0.55 |
Add New Post /wp-admin/post-new.php | 1,567 ▲34 | 23.17 ▲0.05 | 675.02 ▼3.66 | 52.16 ▲1.14 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.17 ▼0.03 | 93.16 ▼16.12 | 40.86 ▼9.12 |
Options /wp-admin/edit.php?post_type=dae_download&page=dae-options | 1,023 | 1.97 | 26.68 | 35.15 |
Messages /wp-admin/edit.php?post_type=dae_download&page=dae-messages | 1,852 | 6.91 | 140.51 | 66.97 |
All Downloads /wp-admin/edit.php?post_type=dae_download | 1,113 | 1.94 | 30.46 | 28.55 |
Add New /wp-admin/post-new.php?post_type=dae_download | 5,519 | 8.43 | 295.32 | 96.70 |
Subscribers /wp-admin/edit.php?post_type=dae_download&page=dae-subscribers | 967 | 1.98 | 30.50 | 43.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables were found after uninstall: 4 tables
- wp_dae_subscribermeta
- wp_dae_subscribers
- wp_dae_links
- wp_dae_linkmeta
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in download-after-email/assets to your readme.txt
- Tags: You are using too many tags: 12 tag instead of maximum 10
download-after-email/dae.php 92% from 13 tests
The entry point to "Download After Email - Subscribe & Download Form Plugin" version 2.1.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("download-after-email.php" instead of "dae.php")
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 plugin15,696 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 8,954 |
CSS | 3 | 1,436 | 12 | 3,592 |
PHP | 9 | 810 | 76 | 2,855 |
JavaScript | 4 | 123 | 0 | 295 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 34.00 |
▷ Minimum class complexity | 34.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 5.12 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 12.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 | 8 | |
▷ Static methods | 7 | 87.50% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 64 | |
▷ Named functions | 61 | 95.31% |
▷ Anonymous functions | 3 | 4.69% |
Constants | 1 | |
▷ Global constants | 1 | 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