Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.95ms] Passed 4 tests
Analyzing server-side resources used by Email Signup for Link
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.89 ▼6.05 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.79 ▼6.24 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.36 ▼7.82 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 95.95 ▲10.34 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.74 ▲0.31 |
Email for Link /wp-admin/options-general.php?page=email_for_link_edit_menu | 3.21 | 29.80 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Email Signup for Link
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.20 ▼1.38 | 1.62 ▼0.54 | 38.07 ▼7.77 |
Dashboard /wp-admin | 2,210 ▲22 | 5.90 ▲1.00 | 105.83 ▼6.66 | 41.30 ▼1.05 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.15 | 36.45 ▼0.76 | 33.89 ▲2.59 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 18.44 ▼4.78 | 621.51 ▼70.75 | 56.55 ▲0.53 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▲0.04 | 97.73 ▼6.78 | 40.63 ▼1.89 |
Email for Link /wp-admin/options-general.php?page=email_for_link_edit_menu | 778 | 2.08 | 23.31 | 40.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/email-signup-for-link/mail.php
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/email-signup-for-link/email-signup-for-link.php:28
- > PHP Notice
Undefined index: userLastName in wp-content/plugins/email-signup-for-link/mail.php on line 23
- > PHP Notice
Undefined index: siteTitle in wp-content/plugins/email-signup-for-link/mail.php on line 13
- > PHP Notice
Undefined index: link in wp-content/plugins/email-signup-for-link/mail.php on line 30
- > PHP Notice
Undefined index: userEmailAddress in wp-content/plugins/email-signup-for-link/mail.php on line 19
- > PHP Notice
Undefined index: link in wp-content/plugins/email-signup-for-link/mail.php on line 23
- > PHP Notice
Undefined index: userFirstName in wp-content/plugins/email-signup-for-link/mail.php on line 30
- > PHP Notice
Undefined index: userLastName in wp-content/plugins/email-signup-for-link/mail.php on line 30
- > PHP Notice
Undefined variable: message in wp-content/plugins/email-signup-for-link/mail.php on line 23
- > PHP Notice
Undefined index: adminEmail in wp-content/plugins/email-signup-for-link/mail.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== email-signup-for-link ===
)
email-signup-for-link/email-signup-for-link.php 92% from 13 tests
This is the main PHP file of "Email Signup for Link" version 0.9.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 399 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected108 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 32 | 66 | 108 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin