Benchmarks
Plugin footprint 65% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.60ms] Passed 4 tests
A check of server-side resources used by EmailVal - Email Address Validation & Verification
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 43.93 ▼1.77 |
Dashboard /wp-admin | 3.34 ▼0.00 | 53.58 ▼16.77 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.75 ▼1.16 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 101.83 ▲2.19 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.05 ▲1.29 |
EmailVal /wp-admin/admin.php?page=unified_software_emailval | 3.23 | 34.51 |
General /wp-admin/admin.php?page=unified_software | 3.23 | 37.60 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: 1 new table, 8 new options
New tables |
---|
emailval |
New WordPress options |
---|
widget_recent-comments |
unified_software_encryption_key |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
unified_software_emailval |
Browser metrics Passed 4 tests
EmailVal - Email Address Validation & Verification: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,927 ▲166 | 13.41 ▼1.01 | 8.85 ▲7.09 | 42.48 ▼4.19 |
Dashboard /wp-admin | 2,225 ▲51 | 5.55 ▼0.12 | 88.10 ▲1.32 | 43.83 ▼1.22 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.03 ▲0.03 | 34.95 ▼0.12 | 36.34 ▼1.68 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 22.84 ▼0.28 | 644.23 ▼48.65 | 51.04 ▼5.38 |
Media Library /wp-admin/upload.php | 1,430 ▲27 | 4.17 ▼0.02 | 101.41 ▼1.69 | 45.16 ▲3.13 |
EmailVal /wp-admin/admin.php?page=unified_software_emailval | 879 | 2.18 | 23.67 | 26.55 |
General /wp-admin/admin.php?page=unified_software | 815 | 2.03 | 25.22 | 25.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- emailval
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function UNIFIED_SOFTWARE\\EMAILVAL\\add_action() in wp-content/plugins/emailval/settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function UNIFIED_SOFTWARE\\EMAILVAL\\add_action() in wp-content/plugins/emailval/menu.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/emailval/template/emailval-form-template.php:6
- > PHP Fatal error
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Contributors: Plugin contributors not specified
emailval/emailval.php Passed 13 tests
The principal PHP file in "EmailVal - Email Address Validation & Verification" v. 0.1.0 is loaded by WordPress automatically on each request
73 characters long description:
Check that an email address is valid and relates to a live email account.
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
Success! There were no dangerous files found in this plugin847 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 175 | 27 | 768 |
JavaScript | 1 | 9 | 0 | 50 |
CSS | 1 | 8 | 1 | 29 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 43 | |
▷ Named functions | 40 | 93.02% |
▷ Anonymous functions | 3 | 6.98% |
Constants | 9 | |
▷ Global constants | 5 | 55.56% |
▷ Class constants | 4 | 44.44% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected