Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼4.70ms] Passed 4 tests
This is a short check of server-side resources used by Email Marketing by EmailOctopus
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 40.98 ▲0.04 |
Dashboard /wp-admin | 3.65 ▲0.34 | 47.34 ▼12.92 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 51.38 ▼1.71 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 91.78 ▼4.19 |
Media Library /wp-admin/upload.php | 3.51 ▲0.27 | 39.05 ▲1.81 |
Forms /wp-admin/admin.php?page=emailoctopus-forms | 3.50 | 35.57 |
Settings /wp-admin/admin.php?page=emailoctopus-settings | 3.48 | 34.42 |
Form Display Settings /wp-admin/admin.php?page=emailoctopus-form | 3.53 | 36.17 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 64 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Email Marketing by EmailOctopus
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲152 | 13.55 ▼0.90 | 1.93 ▲0.09 | 38.67 ▼5.66 |
Dashboard /wp-admin | 2,268 ▲94 | 5.07 ▼0.83 | 107.25 ▲5.29 | 40.88 ▼5.13 |
Posts /wp-admin/edit.php | 2,154 ▲65 | 2.07 ▲0.06 | 37.03 ▼5.35 | 36.81 ▲2.98 |
Add New Post /wp-admin/post-new.php | 1,496 ▼27 | 18.37 ▼4.84 | 706.31 ▲25.98 | 51.00 ▼24.62 |
Media Library /wp-admin/upload.php | 1,451 ▲60 | 4.34 ▲0.14 | 98.27 ▲0.63 | 43.81 ▲1.44 |
Forms /wp-admin/admin.php?page=emailoctopus-forms | 912 | 2.07 | 25.09 | 31.96 |
Settings /wp-admin/admin.php?page=emailoctopus-settings | 925 | 2.09 | 25.26 | 28.75 |
Form Display Settings /wp-admin/admin.php?page=emailoctopus-form | 889 | 2.07 | 25.97 | 27.58 |
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 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Almost there! Just fix the following items
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/emailoctopus/public/views/component-welcome.php:4
- > PHP Fatal error
Uncaught Error: Class 'EmailOctopus\\Ajax\\Ajax_Handler' not found in wp-content/plugins/emailoctopus/src/Ajax/Load_Forms.php:7
- > PHP Fatal error
Uncaught Error: Class 'EmailOctopus\\Ajax\\Ajax_Handler' not found in wp-content/plugins/emailoctopus/src/Ajax/Update_Settings.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
emailoctopus/emailoctopus.php Passed 13 tests
The primary PHP file in "Email Marketing by EmailOctopus" version 3.1.5 is used by WordPress to initiate all plugin functionality
91 characters long description:
Use this official plugin to display EmailOctopus subscription forms on your WordPress site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected3,552 lines of code in 61 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 535 | 905 | 2,483 |
JavaScript | 14 | 70 | 41 | 474 |
CSS | 4 | 78 | 22 | 414 |
JSON | 4 | 0 | 0 | 116 |
SVG | 3 | 0 | 0 | 41 |
Sass | 1 | 1 | 1 | 24 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 1 | 6.25% |
▷ Concrete classes | 15 | 93.75% |
▷ Final classes | 1 | 6.67% |
Methods | 126 | |
▷ Static methods | 39 | 30.95% |
▷ Public methods | 121 | 96.03% |
▷ Protected methods | 1 | 0.79% |
▷ Private methods | 4 | 3.17% |
Functions | 9 | |
▷ Named functions | 1 | 11.11% |
▷ Anonymous functions | 8 | 88.89% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin