Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼177.26ms] Passed 4 tests
This is a short check of server-side resources used by Email Keep
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 43.78 ▲17.92 |
Dashboard /wp-admin | 3.14 ▲0.09 | 51.46 ▼12.45 |
Posts /wp-admin/edit.php | 3.26 ▲0.15 | 52.90 ▼2.95 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 106.99 ▼697.56 |
Media Library /wp-admin/upload.php | 3.09 ▲0.09 | 42.21 ▲3.93 |
Email Keep /wp-admin/options-general.php?page=email-keep | 3.03 | 34.66 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 20 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_email_keep |
New WordPress options |
---|
email_keep_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Email Keep
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,736 ▲154 | 15.95 ▲0.33 | 14.93 ▲4.33 | 53.23 ▲8.35 |
Dashboard /wp-admin | 3,000 ▲69 | 6.12 ▼0.10 | 161.32 ▼5.98 | 117.96 ▼4.14 |
Posts /wp-admin/edit.php | 2,772 ▲33 | 2.72 ▲0.01 | 75.26 ▲3.73 | 104.16 ▲3.79 |
Add New Post /wp-admin/post-new.php | 1,708 ▲25 | 15.65 ▼0.66 | 454.74 ▼18.91 | 122.57 ▼3.60 |
Media Library /wp-admin/upload.php | 1,840 ▲33 | 5.03 ▲0.01 | 188.11 ▲17.32 | 131.38 ▲3.89 |
Email Keep /wp-admin/options-general.php?page=email-keep | 1,188 | 2.48 | 73.72 | 76.54 |
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
- Zombie tables detected upon uninstall: 1 table
- wp_email_keep
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=email-keep
- > Notice in wp-content/plugins/email-keep/admin/class-admin.php+50
Undefined index: subject-keywords
SRP 0% 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 items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/email-keep/admin/partials/header.php
- > /wp-content/plugins/email-keep/admin/partials/read.php
- > /wp-content/plugins/email-keep/admin/partials/inbox.php
- 23× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: email in wp-content/plugins/email-keep/admin/partials/read.php on line 7
- > PHP Notice
Undefined variable: type in wp-content/plugins/email-keep/admin/partials/inbox.php on line 10
- > PHP Notice
Undefined variable: email in wp-content/plugins/email-keep/admin/partials/read.php on line 8
- > PHP Notice
Undefined variable: type in wp-content/plugins/email-keep/admin/partials/inbox.php on line 6
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/email-keep/admin/partials/inbox.php on line 24
- > PHP Notice
Undefined variable: counts in wp-content/plugins/email-keep/admin/partials/inbox.php on line 6
- > PHP Notice
Undefined variable: counts in wp-content/plugins/email-keep/admin/partials/inbox.php on line 5
- > PHP Notice
Trying to get property 'from' of non-object in wp-content/plugins/email-keep/admin/partials/read.php on line 6
- > PHP Notice
Undefined variable: type in wp-content/plugins/email-keep/admin/partials/inbox.php on line 5
- > PHP Notice
Undefined variable: type in wp-content/plugins/email-keep/admin/partials/inbox.php on line 43
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% 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:
- Screenshots: Screenshot #1 (screenshot-1.png) image not found
email-keep/email-keep.php 92% from 13 tests
The main file in "Email Keep" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
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
Everything looks great! No dangerous files found in this plugin634 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 85 | 129 | 487 |
CSS | 1 | 0 | 3 | 105 |
JavaScript | 1 | 6 | 16 | 42 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 18 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 40.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.11MB with 0.08MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 112.22KB | 26.35KB | ▼ 76.51% |