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.20MB] [CPU: ▼6.84ms] Passed 4 tests
A check of server-side resources used by Moosend Website Connector
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 42.57 ▲3.33 |
Dashboard /wp-admin | 3.55 ▲0.25 | 46.30 ▼2.95 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 47.08 ▼3.44 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 86.96 ▼20.37 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 36.29 ▼0.59 |
Moosend Website Tracking Settings /wp-admin/options-general.php?page=moosend-website-tracking | 3.38 | 31.51 |
Server storage [IO: ▲1.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 202 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Moosend Website Connector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 14.01 ▼0.21 | 7.11 ▲5.38 | 46.61 ▲4.95 |
Dashboard /wp-admin | 2,230 ▲42 | 5.79 ▲0.90 | 95.80 ▼19.05 | 39.89 ▼3.52 |
Posts /wp-admin/edit.php | 2,113 ▲27 | 2.06 ▲0.04 | 35.55 ▼6.42 | 31.84 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,551 ▲32 | 23.18 ▼0.02 | 666.71 ▼10.02 | 57.66 ▲6.15 |
Media Library /wp-admin/upload.php | 1,412 ▲27 | 4.26 ▼0.03 | 94.89 ▼4.01 | 44.54 ▼0.70 |
Moosend Website Tracking Settings /wp-admin/options-general.php?page=moosend-website-tracking | 808 | 2.03 | 24.95 | 29.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- 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
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 60× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/psr7/src/Request.php:15
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Exception/InvalidArgumentException.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Client\\ClientExceptionInterface' not found in wp-content/plugins/moosend-email-marketing/vendor/psr/http-client/src/NetworkExceptionInterface.php:14
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Cookie\\CookieJarInterface' not found in wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php:11
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Cookie/SessionCookieJar.php:8
- > PHP Fatal error
Uncaught Error: Class 'PhpSpec\\ObjectBehavior' not found in wp-content/plugins/moosend-email-marketing/vendor/moosend/website-tracking/spec/Models/ProductSpec.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/psr7/src/LimitStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\ResponseInterface' not found in wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/psr7/src/Response.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Exception/ClientException.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7, #8, #9 in moosend-email-marketing/assets to your readme.txt
moosend-email-marketing/index.php 92% from 13 tests
This is the main PHP file of "Moosend Website Connector" version 1.0.190, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("moosend-email-marketing.php" instead of "index.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
There were no executable files found in this plugin16,861 lines of code in 188 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 153 | 2,449 | 6,498 | 11,823 |
Markdown | 17 | 1,323 | 0 | 3,846 |
JSON | 14 | 0 | 0 | 1,157 |
YAML | 3 | 4 | 0 | 26 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 11.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 88.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 27 | |
Traits | 3 | |
Classes | 105 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 105 | 100.00% |
▷ Final classes | 35 | 33.33% |
Methods | 883 | |
▷ Static methods | 155 | 17.55% |
▷ Public methods | 743 | 84.14% |
▷ Protected methods | 10 | 1.13% |
▷ Private methods | 130 | 14.72% |
Functions | 151 | |
▷ Named functions | 55 | 36.42% |
▷ Anonymous functions | 96 | 63.58% |
Constants | 102 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 102 | 100.00% |
▷ Public constants | 91 | 89.22% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected