Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲2.44ms] Passed 4 tests
This is a short check of server-side resources used by EmailPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 46.92 ▲5.58 |
Dashboard /wp-admin | 3.50 ▲0.19 | 78.17 ▲28.62 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 56.66 ▲5.03 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 91.49 ▼7.07 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 45.08 ▲6.23 |
Settings /wp-admin/admin.php?page=KvSubscriptions | 3.32 | 53.16 |
Subscribers /wp-admin/admin.php?page=Subscribers | 3.33 | 48.80 |
EmailPress /wp-admin/admin.php?page=emailpress | 3.33 | 43.71 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 16 new files
Database: 2 new tables, 10 new options
New tables |
---|
wp_Kv_Subscribers |
wp_Kv_Mail_Queue |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
kvcodes_SubscriptionText |
widget_recent-comments |
widget_emailpress_widget |
can_compress_scripts |
kvcodes_Subscription |
kvcodes_Subscription_Email |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for EmailPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,106 ▲345 | 15.15 ▲0.59 | 5.40 ▲3.62 | 40.28 ▼7.43 |
Dashboard /wp-admin | 2,360 ▲183 | 6.35 ▲0.69 | 119.78 ▲29.04 | 95.59 ▲53.95 |
Posts /wp-admin/edit.php | 2,306 ▲203 | 3.51 ▲1.48 | 49.14 ▲7.07 | 59.36 ▲20.91 |
Add New Post /wp-admin/post-new.php | 1,719 ▲193 | 22.19 ▼0.92 | 610.99 ▼91.98 | 35.78 ▼16.03 |
Media Library /wp-admin/upload.php | 1,437 ▲40 | 4.26 ▲0.02 | 84.89 ▼23.95 | 83.93 ▲38.37 |
Settings /wp-admin/admin.php?page=KvSubscriptions | 1,535 | 3.54 | 68.33 | 66.00 |
Subscribers /wp-admin/admin.php?page=Subscribers | 1,193 | 3.21 | 49.06 | 68.09 |
EmailPress /wp-admin/admin.php?page=emailpress | 1,161 | 3.21 | 43.29 | 69.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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 2 tables in the database
- wp_Kv_Mail_Queue
- wp_Kv_Subscribers
- Zombie WordPress options were found after uninstall: 10 options
- widget_emailpress_widget
- widget_theysaidso_widget
- kvcodes_Subscription
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- kvcodes_Subscription_Email
- widget_recent-comments
- kvcodes_SubscriptionText
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
Please fix the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/emailpress/Newsletter.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/emailpress/Email.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/emailpress/Kv-SubcriptionFront.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/emailpress/Kv-SubcriptionFront.php:8
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/emailpress/Newsletter.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/emailpress/Newsletter.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #1 (Plugin Settings Page to Customize it.) image missing
emailpress/EmailPress.php 92% from 13 tests
Analyzing the main PHP file in "EmailPress" version 1.0
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("emailpress.php" instead of "EmailPress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,817 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 251 | 311 | 1,486 |
CSS | 1 | 3 | 0 | 290 |
JavaScript | 1 | 2 | 3 | 41 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 20.40 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 59 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
7 PNG files occupy 0.13MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/emailpress.png | 12.06KB | 4.02KB | ▼ 66.69% |
images/subscription-icon.png | 11.67KB | 5.08KB | ▼ 56.48% |
images/kv_logo.png | 1.19KB | 0.56KB | ▼ 53.03% |
screenshot-1.png | 98.69KB | 44.12KB | ▼ 55.29% |
images/close_blue.png | 6.71KB | 7.58KB | 0.00% |