Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.58ms] Passed 4 tests
A check of server-side resources used by Email Marketing by SendX
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.56 ▼0.03 |
Dashboard /wp-admin | 3.35 ▲0.05 | 46.44 ▼2.85 |
Posts /wp-admin/edit.php | 3.46 ▲0.11 | 44.95 ▼2.81 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 89.71 ▼2.69 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.52 ▼1.95 |
SendX /wp-admin/options-general.php?page=sendx | 3.24 | 30.94 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
sendx_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Email Marketing by SendX: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲25 | 14.26 ▼0.25 | 1.59 ▼0.11 | 39.70 ▼0.41 |
Dashboard /wp-admin | 2,195 ▲18 | 5.56 ▼0.10 | 79.75 ▼5.13 | 40.95 ▼1.22 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.03 ▲0.03 | 35.04 ▼3.62 | 33.99 ▼0.05 |
Add New Post /wp-admin/post-new.php | 1,534 ▲3 | 23.38 ▲0.02 | 595.74 ▼84.91 | 62.43 ▲10.96 |
Media Library /wp-admin/upload.php | 1,406 ▲3 | 4.40 ▲0.12 | 96.29 ▼0.52 | 40.27 ▼6.45 |
SendX /wp-admin/options-general.php?page=sendx | 850 | 2.12 | 22.25 | 36.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/email-marketing-by-sendx/views/tracking-code.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: account_id in wp-content/plugins/email-marketing-by-sendx/views/tracking-code.php on line 11
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/email-marketing-by-sendx/views/options.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/email-marketing-by-sendx/lib/constants.php:18
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/email-marketing-by-sendx/lib/constants.php on line 18
- > PHP Notice
Undefined variable: account_id in wp-content/plugins/email-marketing-by-sendx/views/tracking-code.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/email-marketing-by-sendx/lib/constants.php:18
- > PHP Warning
Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/email-marketing-by-sendx/lib/constants.php on line 18
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: email newsletters, autoresponders, email campaign, drip sequences, email marketing...
email-marketing-by-sendx/sendx.php 85% from 13 tests
The main PHP script in "Email Marketing by SendX" version 1.0.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 324 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("email-marketing-by-sendx.php" instead of "sendx.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
Everything looks great! No dangerous files found in this plugin294 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 47 | 174 | 160 |
CSS | 1 | 19 | 3 | 134 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 1 | 5.56% |
▷ Public methods | 17 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.56% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin