Benchmarks
Plugin footprint 65% 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.02MB] [CPU: ▼7.42ms] Passed 4 tests
Server-side resources used by WP OptinJeet - Create Form Lists and Manage leads
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.06 ▼2.26 |
Dashboard /wp-admin | 3.34 ▼0.00 | 49.86 ▼15.03 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 55.53 ▲6.69 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 93.55 ▼14.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.07 ▲2.12 |
Create Optins /wp-admin/admin.php?page=sub-createoptinJeet_Optin | 3.22 | 32.77 |
Create SMTP Settings /wp-admin/admin.php?page=sub-optinJeet_smtp_settings | 3.24 | 34.33 |
Create all smtp /wp-admin/admin.php?page=sub-optinJeet_createall_smtp_settings | 3.21 | 30.98 |
Send Email /wp-admin/admin.php?page=sub-optinJeet_send_email | 3.21 | 31.05 |
All SMTP Settings /wp-admin/admin.php?page=sub-optinJeet_all_smtppp_settings | 3.24 | 34.03 |
PHP Email Settings /wp-admin/admin.php?page=sub-optinJeet_php_email_settings | 3.21 | 33.80 |
Optins /wp-admin/admin.php?page=sub-optinJeet_Optin | 3.24 | 35.32 |
History /wp-admin/admin.php?page=sub-history_Optin | 3.24 | 36.79 |
Lists /wp-admin/admin.php?page=sub-optinJeet_list | 3.24 | 34.72 |
WP OptinJeet /wp-admin/admin.php?page=mt-top-optinJeet-handle | 3.22 | 34.38 |
Server storage [IO: ▲4.83MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 95 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_optinjeet_emaillist |
wp_optinjeet_smtp |
wp_optinjeet_email |
wp_optinjeet_phpmail |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
WP OptinJeet - Create Form Lists and Manage leads: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲93 | 14.27 ▲0.00 | 2.13 ▲0.36 | 44.43 ▲1.87 |
Dashboard /wp-admin | 2,261 ▲84 | 5.60 ▼0.00 | 95.81 ▲6.25 | 38.86 ▼3.58 |
Posts /wp-admin/edit.php | 2,166 ▲63 | 2.01 ▲0.01 | 39.92 ▼1.58 | 35.27 ▼1.77 |
Add New Post /wp-admin/post-new.php | 1,599 ▲73 | 23.34 ▲5.76 | 602.77 ▼35.35 | 48.59 ▲0.48 |
Media Library /wp-admin/upload.php | 1,463 ▲63 | 4.20 ▲0.01 | 95.11 ▼12.70 | 40.32 ▼2.03 |
Create Optins /wp-admin/admin.php?page=sub-createoptinJeet_Optin | 917 | 2.27 | 28.94 | 57.80 |
Create SMTP Settings /wp-admin/admin.php?page=sub-optinJeet_smtp_settings | 966 | 2.30 | 30.97 | 34.82 |
Create all smtp /wp-admin/admin.php?page=sub-optinJeet_createall_smtp_settings | 969 | 2.21 | 27.05 | 43.09 |
Send Email /wp-admin/admin.php?page=sub-optinJeet_send_email | 1,069 | 2.66 | 40.33 | 40.27 |
All SMTP Settings /wp-admin/admin.php?page=sub-optinJeet_all_smtppp_settings | 897 | 2.21 | 26.53 | 39.85 |
PHP Email Settings /wp-admin/admin.php?page=sub-optinJeet_php_email_settings | 3,406 | 2.25 | 29.29 | 36.96 |
Optins /wp-admin/admin.php?page=sub-optinJeet_Optin | 1,035 | 2.44 | 39.43 | 41.98 |
History /wp-admin/admin.php?page=sub-history_Optin | 954 | 2.31 | 29.31 | 38.75 |
Lists /wp-admin/admin.php?page=sub-optinJeet_list | 1,038 | 2.40 | 40.37 | 43.70 |
WP OptinJeet /wp-admin/admin.php?page=mt-top-optinJeet-handle | 1,458 | 2.66 | 49.01 | 42.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie tables were found after uninstall: 4 tables
- wp_optinjeet_emaillist
- wp_optinjeet_phpmail
- wp_optinjeet_smtp
- wp_optinjeet_email
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mt-top-optinJeet-handle
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/adminClass.php+446
Undefined variable: dsbld
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_createall_smtp_settings
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/form_all_smtp_settings.php+201
Undefined variable: smtp_name
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_createall_smtp_settings
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/form_all_smtp_settings.php+209
Undefined variable: smtp_hostname
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_createall_smtp_settings
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/form_all_smtp_settings.php+216
Undefined variable: smtp_port
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_createall_smtp_settings
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/form_all_smtp_settings.php+223
Undefined variable: smtp_from_email
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_createall_smtp_settings
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/form_all_smtp_settings.php+230
Undefined variable: smtp_password
- 494 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_php_email_settings
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/email_setting.php+113
Undefined offset: 0
- 492 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_php_email_settings
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/email_setting.php+113
Trying to get property 'timezone' of non-object
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_send_email
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/send_by_email.php+162
Undefined variable: var
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_send_email
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/send_by_email.php+162
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_send_email
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/send_by_email.php+168
Undefined variable: mailto
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_php_email_settings
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/email_setting.php+79
Trying to get property 'phpmail_from_email' of non-object
- > GET request to /wp-admin/admin.php?page=sub-optinJeet_php_email_settings
- > Notice in wp-content/plugins/wp-optinjeet/class/admin/email_setting.php+85
Trying to get property 'phpmail_password' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-optinjeet/class/admin/savedata/savedata_smtp_mail.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-optinjeet/WP-OptinJeet.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-optinjeet/class/admin/savedata/dbsave_email.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_email() in wp-content/plugins/wp-optinjeet/class/admin/savedata/savedata_phpmail_setting.php:6
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7, #8 in wp-optinjeet/assets to your readme.txt
wp-optinjeet/WP-OptinJeet.php 92% from 13 tests
The principal PHP file in "WP OptinJeet - Create Form Lists and Manage leads" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-optinjeet.php" instead of "WP-OptinJeet.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
Success! There were no dangerous files found in this plugin36,586 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 21 | 4,642 | 9,164 | 18,709 |
CSS | 22 | 1,964 | 339 | 15,709 |
PHP | 13 | 424 | 422 | 2,138 |
JSON | 1 | 0 | 0 | 22 |
HTML | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 7.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 24 | 96.00% |
▷ Anonymous functions | 1 | 4.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
14 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
datatables-1.9.4/images/sort_both.png | 1.11KB | 0.29KB | ▼ 74.12% |
datatables-1.9.4/images/forward_disabled.png | 1.33KB | 0.58KB | ▼ 56.42% |
datatables-1.9.4/images/back_enabled_hover.png | 1.34KB | 0.60KB | ▼ 55.56% |
images/msmall.png | 2.03KB | 1.57KB | ▼ 22.51% |
datatables-1.9.4/images/forward_enabled.png | 1.35KB | 0.58KB | ▼ 56.96% |