Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼10.09ms] Passed 4 tests
A check of server-side resources used by Add Email Signature
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.62 ▼6.48 |
Dashboard /wp-admin | 3.33 ▼0.01 | 49.67 ▼14.60 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.88 ▼2.22 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 82.94 ▼17.05 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.49 ▲2.38 |
Add Email Signature /wp-admin/options-general.php?page=add_email_signature | 3.20 | 31.32 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Add Email Signature
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.38 ▼0.18 | 1.67 ▲0.09 | 40.69 ▼2.61 |
Dashboard /wp-admin | 2,199 ▲22 | 5.54 ▼0.08 | 85.49 ▼3.21 | 39.09 ▼2.82 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.94 ▼0.09 | 35.12 ▼0.26 | 32.64 ▼4.44 |
Add New Post /wp-admin/post-new.php | 1,534 ▲8 | 23.37 ▼0.33 | 647.40 ▲37.30 | 57.63 ▼2.92 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.19 ▼0.05 | 94.08 ▼1.13 | 40.56 ▼2.62 |
Add Email Signature /wp-admin/options-general.php?page=add_email_signature | 870 | 1.99 | 22.26 | 27.09 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=add_email_signature
- > Notice in wp-content/plugins/add-email-signature/options.php+43
Trying to access array offset on value of type bool
SRP 50% 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 items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/add-email-signature/options.php
- > /wp-content/plugins/add-email-signature/add-email-signature.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
4 plugin tags: signature, add signature, email, mail
add-email-signature/add-email-signature.php Passed 13 tests
The main PHP file in "Add Email Signature" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
86 characters long description:
This plugin adds a configurable signature to every outgoing email that WordPress sends
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected93 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 56 | 51 | 93 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
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 | 9 | |
▷ Named functions | 9 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin