Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.87MB] [CPU: ▲19.23ms] Passed 4 tests
A check of server-side resources used by Deliverability
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.47 ▲3.00 | 55.78 ▲12.26 |
Dashboard /wp-admin | 7.52 ▲4.17 | 74.63 ▲15.14 |
Posts /wp-admin/edit.php | 7.57 ▲4.21 | 82.92 ▲37.11 |
Add New Post /wp-admin/post-new.php | 10.04 ▲4.15 | 123.11 ▲19.96 |
Media Library /wp-admin/upload.php | 7.39 ▲4.16 | 61.86 ▲29.55 |
Deliverability Dashboard /wp-admin/admin.php?page=top-deliverability-dashboard | 7.75 | 480.14 |
Settings /wp-admin/admin.php?page=top-deliverability-settings | 8.15 | 423.79 |
About /wp-admin/admin.php?page=top-deliverability-about | 7.53 | 58.55 |
/wp-admin/admin.php?page=top-deliverability-callback | 7.36 | 52.96 |
Server storage [IO: ▲3.96MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 860 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
top_deliverability_auth0_cookie_secret |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Deliverability
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲95 | 14.67 ▲0.53 | 1.66 ▼0.02 | 30.26 ▼13.33 |
Dashboard /wp-admin | 2,247 ▲73 | 5.62 ▼0.02 | 97.82 ▲9.62 | 44.63 ▲5.26 |
Posts /wp-admin/edit.php | 2,153 ▲56 | 1.98 ▲0.02 | 39.77 ▲3.47 | 39.99 ▲7.23 |
Add New Post /wp-admin/post-new.php | 1,572 ▲46 | 22.77 ▼0.32 | 642.69 ▲29.58 | 51.83 ▼6.42 |
Media Library /wp-admin/upload.php | 1,452 ▲55 | 4.17 ▼0.01 | 96.01 ▼9.77 | 45.65 ▲2.93 |
Deliverability Dashboard /wp-admin/admin.php?page=top-deliverability-dashboard | 1,324 | 1.99 | 56.31 | 64.30 |
Settings /wp-admin/admin.php?page=top-deliverability-settings | 993 | 2.17 | 26.49 | 36.94 |
About /wp-admin/admin.php?page=top-deliverability-about | 899 | 2.01 | 22.60 | 33.75 |
/wp-admin/admin.php?page=top-deliverability-callback | 804 | 2.01 | 25.44 | 26.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- top_deliverability_auth0_cookie_secret
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 451× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPMailer\\PHPMailer\\PHPMailer' not found in wp-content/plugins/deliverability/src/Email/PHPMailer.php:7
- > PHP Fatal error
Uncaught Error: Class 'TopDeliverabilityVendor\\Monolog\\Handler\\SocketHandler' not found in wp-content/plugins/deliverability/vendor-prefixed/psr-4/Monolog/Handler/FlowdockHandler.php:32
- > PHP Fatal error
Uncaught Error: Interface 'TopDeliverabilityVendor\\Psr\\Http\\Message\\UriFactoryInterface' not found in wp-content/plugins/deliverability/vendor-prefixed/psr-4/League/Uri/HttpFactory.php:19
- > PHP Fatal error
Uncaught Error: Class 'TopDeliverabilityVendor\\Twig\\Extension\\AbstractExtension' not found in wp-content/plugins/deliverability/vendor-prefixed/psr-4/Twig/Extension/SandboxExtension.php:21
- > PHP Fatal error
Uncaught Error: Interface 'TopDeliverabilityVendor\\Monolog\\Handler\\HandlerInterface' not found in wp-content/plugins/deliverability/vendor-prefixed/psr-4/Monolog/Handler/HandlerWrapper.php:34
- > PHP Fatal error
Uncaught Error: Interface 'TopDeliverability\\FormHandler' not found in wp-content/plugins/deliverability/src/Settings/Widget/Signup/EmbeddedSignupFormHandler.php:19
- > PHP Fatal error
Uncaught Error: Class 'TopDeliverabilityVendor\\Http\\Client\\Exception\\TransferException' not found in wp-content/plugins/deliverability/vendor-prefixed/psr-4/Http/Client/Exception/RequestException.php:16
- > PHP Fatal error
Uncaught Error: Class 'TopDeliverability\\Api\\ApiClientError' not found in wp-content/plugins/deliverability/src/Api/ApiClientUnexpectedStatusError.php:5
- > PHP Fatal error
Uncaught Error: Class 'TopDeliverabilityVendor\\Twig\ode\ode' not found in wp-content/plugins/deliverability/vendor-prefixed/psr-4/Twig/Node/SandboxNode.php:21
- > PHP Fatal error
Uncaught Error: Interface 'TopDeliverabilityVendor\\Psr\\Log\\LoggerInterface' not found in wp-content/plugins/deliverability/vendor-prefixed/psr-4/Monolog/Logger.php:34
- > PHP Fatal error
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: dmarc, spf, email authentication, email, dkim...
deliverability/index.php 85% from 13 tests
The primary PHP file in "Deliverability" version 1.2.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("deliverability.php" instead of "index.php")
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
Everything looks great! No dangerous files found in this plugin63,978 lines of code in 822 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 748 | 11,903 | 26,790 | 51,409 |
PO File | 34 | 4,114 | 4,388 | 11,494 |
CSS | 5 | 76 | 0 | 433 |
Twig | 26 | 40 | 0 | 347 |
JavaScript | 5 | 19 | 4 | 196 |
JSON | 2 | 0 | 0 | 82 |
Markdown | 2 | 8 | 0 | 17 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 9.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 166.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 105 | |
Interfaces | 117 | |
Traits | 12 | |
Classes | 605 | |
▷ Abstract classes | 26 | 4.30% |
▷ Concrete classes | 579 | 95.70% |
▷ Final classes | 215 | 37.13% |
Methods | 4,097 | |
▷ Static methods | 534 | 13.03% |
▷ Public methods | 3,415 | 83.35% |
▷ Protected methods | 225 | 5.49% |
▷ Private methods | 457 | 11.15% |
Functions | 334 | |
▷ Named functions | 184 | 55.09% |
▷ Anonymous functions | 150 | 44.91% |
Constants | 467 | |
▷ Global constants | 7 | 1.50% |
▷ Class constants | 460 | 98.50% |
▷ Public constants | 341 | 74.13% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin