Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.50MB] [CPU: ▼301.29ms] Passed 4 tests
A check of server-side resources used by Download After Email - Subscribe & Download Form Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.34 | 56.68 ▲0.87 |
Dashboard /wp-admin | 4.00 ▲0.59 | 39.87 ▼11.26 |
Posts /wp-admin/edit.php | 4.22 ▲0.58 | 48.48 ▼41.28 |
Add New Post /wp-admin/post-new.php | 7.46 ▲0.49 | 95.18 ▼1,153.50 |
Media Library /wp-admin/upload.php | 3.88 ▲0.59 | 33.27 ▲8.18 |
Subscribers /wp-admin/edit.php?post_type=dae_download&page=dae-subscribers | 3.86 | 28.16 |
All Downloads /wp-admin/edit.php?post_type=dae_download | 3.99 | 31.11 |
Messages /wp-admin/edit.php?post_type=dae_download&page=dae-messages | 3.98 | 40.43 |
Options /wp-admin/edit.php?post_type=dae_download&page=dae-options | 3.86 | 28.05 |
Add New /wp-admin/post-new.php?post_type=dae_download | 4.22 | 45.38 |
Server storage [IO: ▲2.91MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 33 new files
Database: 4 new tables, no new options
New tables |
---|
wp_dae_links |
wp_dae_subscribermeta |
wp_dae_linkmeta |
wp_dae_subscribers |
Browser metrics Passed 4 tests
Download After Email - Subscribe & Download Form Plugin: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,928 ▲174 | 15.69 ▲0.05 | 10.06 ▲3.77 | 1.94 ▼1.21 |
Dashboard /wp-admin | 2,931 ▲70 | 6.22 ▲0.01 | 123.06 ▼12.04 | 156.69 ▼4.30 |
Posts /wp-admin/edit.php | 2,736 ▲42 | 3.24 ▲0.01 | 62.96 ▼1.76 | 140.47 ▼4.98 |
Add New Post /wp-admin/post-new.php | 1,801 ▲166 | 21.13 ▲2.01 | 499.79 ▲31.21 | 163.31 ▲12.93 |
Media Library /wp-admin/upload.php | 1,737 ▲39 | 5.53 ▼0.01 | 177.60 ▲28.27 | 191.61 ▲3.43 |
Subscribers /wp-admin/edit.php?post_type=dae_download&page=dae-subscribers | 1,251 | 2.92 | 62.85 | 200.26 |
All Downloads /wp-admin/edit.php?post_type=dae_download | 1,445 | 2.93 | 59.68 | 170.85 |
Messages /wp-admin/edit.php?post_type=dae_download&page=dae-messages | 2,408 | 9.07 | 168.51 | 268.34 |
Options /wp-admin/edit.php?post_type=dae_download&page=dae-options | 1,295 | 2.89 | 58.36 | 156.28 |
Add New /wp-admin/post-new.php?post_type=dae_download | 8,437 | 11.14 | 306.03 | 271.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables were found after uninstall: 4 tables
- wp_dae_subscribermeta
- wp_dae_links
- wp_dae_linkmeta
- wp_dae_subscribers
Smoke tests Passed 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)
Even though everything seems fine, this is not an exhaustive test
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add descriptions for these screenshots #1, #10, #11, #2, #3, #4, #5, #6, #7, #8, #9 in download-after-email/assets to your readme.txt
download-after-email/dae.php 92% from 13 tests
The main PHP file in "Download After Email - Subscribe & Download Form Plugin" ver. 2.1.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main 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 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin15,678 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,590 |
PHP | 9 | 806 | 76 | 2,842 |
JavaScript | 4 | 122 | 0 | 292 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
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 | 63 | |
▷ Named functions | 60 | 95.24% |
▷ Anonymous functions | 3 | 4.76% |
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
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