Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼292.59ms] Passed 4 tests
Server-side resources used by Zem Email System
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.17 | 56.44 ▲4.41 |
Dashboard /wp-admin | 3.53 ▲0.12 | 33.82 ▼0.29 |
Posts /wp-admin/edit.php | 3.76 ▲0.11 | 38.64 ▼0.03 |
Add New Post /wp-admin/post-new.php | 7.00 ▲0.02 | 91.84 ▼1,174.19 |
Media Library /wp-admin/upload.php | 3.41 ▲0.11 | 26.61 ▲4.16 |
Send Email /wp-admin/admin.php?page=sendemail | 3.47 | 27.59 |
Email Templates /wp-admin/admin.php?page=emailtemplate | 3.43 | 23.80 |
Settings /wp-admin/admin.php?page=settings | 3.35 | 22.49 |
Email Addresses /wp-admin/admin.php?page=emailaddress | 3.42 | 24.74 |
Zem Email System /wp-admin/admin.php?page=zememailsystem | 3.40 | 26.01 |
Groups /wp-admin/admin.php?page=groups | 3.43 | 23.81 |
Server storage [IO: ▲1.00MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 51 new files
Database: 4 new tables, 3 new options
New tables |
---|
wp_zememailsystem_emailtemplates |
wp_zememailsystem_settings |
wp_zememailsystem_emailaddress |
wp_zememailsystem_groups |
New WordPress options |
---|
zemes_p_size |
zemes_sender_name |
zemes_sender_email |
Browser metrics Passed 4 tests
An overview of browser requirements for Zem Email System
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,812 ▲67 | 16.17 ▲0.59 | 5.89 ▼2.00 | 2.36 ▲0.10 |
Dashboard /wp-admin | 2,941 ▲80 | 6.04 ▼0.16 | 118.02 ▼28.49 | 157.40 ▼15.27 |
Posts /wp-admin/edit.php | 2,737 ▲43 | 3.24 ▲0.01 | 67.73 ▲4.69 | 146.14 ▲11.74 |
Add New Post /wp-admin/post-new.php | 1,791 ▲130 | 22.47 ▲6.28 | 408.71 ▼7.45 | 161.20 ▲9.76 |
Media Library /wp-admin/upload.php | 1,752 ▲54 | 5.53 ▲0.04 | 142.12 ▲0.97 | 184.76 ▲2.45 |
Send Email /wp-admin/admin.php?page=sendemail | 1,823 | 7.29 | 136.03 | 179.52 |
Email Templates /wp-admin/admin.php?page=emailtemplate | 1,220 | 2.42 | 53.61 | 160.92 |
Settings /wp-admin/admin.php?page=settings | 1,095 | 2.36 | 53.84 | 103.14 |
Email Addresses /wp-admin/admin.php?page=emailaddress | 1,152 | 2.37 | 52.98 | 158.31 |
Zem Email System /wp-admin/admin.php?page=zememailsystem | 1,242 | 2.44 | 54.66 | 136.26 |
Groups /wp-admin/admin.php?page=groups | 1,385 | 2.40 | 52.29 | 148.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 3 options
- zemes_p_size
- zemes_sender_name
- zemes_sender_email
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=settings
- > Warning in wp-content/plugins/zem-email-system/_resource/classes/includer.php+32
include_once(wp-content/plugins/zem-email-system/source/settings/handler.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=settings
- > Warning in wp-content/plugins/zem-email-system/_resource/classes/includer.php+32
include_once(): Failed opening 'wp-content/plugins/zem-email-system/source/settings/handler.php' for inclusion (include_path='.:/usr/share/php')
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 26× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/zem-email-system/source/groups/class.php
- > /wp-content/plugins/zem-email-system/_resource/classes/activation.php
- > /wp-content/plugins/zem-email-system/_resource/classes/request.php
- > /wp-content/plugins/zem-email-system/_resource/classes/messages.php
- > /wp-content/plugins/zem-email-system/source/sendemail/handler.php
- > /wp-content/plugins/zem-email-system/main.zemes.php
- > /wp-content/plugins/zem-email-system/_resource/classes/tables/emailaddress.php
- > /wp-content/plugins/zem-email-system/_resource/classes/layout.php
- > /wp-content/plugins/zem-email-system/_resource/classes/formfield.php
- > /wp-content/plugins/zem-email-system/source/settings/class.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/zem-email-system/source/zememailsystem/tmpl/_mainpage.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/zem-email-system/source/emailtemplate/tmpl/_formemailtemplate.php:2
- > PHP Fatal error
Uncaught Error: Class 'zemesMessages' not found in wp-content/plugins/zem-email-system/source/emailaddress/tmpl/_emailaddresses.php:2
- > PHP Fatal error
Uncaught Error: Class 'zemesMessages' not found in wp-content/plugins/zem-email-system/source/sendemail/tmpl/_formsendemail.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/zem-email-system/source/groups/tmpl/_formgroup.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/zem-email-system/source/emailaddress/tmpl/_formemailaddress.php:7
- > PHP Fatal error
Uncaught Error: Class 'zemesMessages' not found in wp-content/plugins/zem-email-system/source/groups/tmpl/_groups.php:2
- > PHP Fatal error
Uncaught Error: Class 'zemesMessages' not found in wp-content/plugins/zem-email-system/source/emailtemplate/tmpl/_emailtemplates.php:2
- > 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 require attention:
- Donate link: Invalid URI found ("")
zem-email-system/zem-email-system.php Passed 13 tests
Analyzing the main PHP file in "Zem Email System" version 1.0.0
119 characters long description:
ZEM emailsystem is easy to use Emailsystem. Zem emailsystem has an easy admin interface, user can send email in groups.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,635 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 213 | 20 | 1,794 |
SVG | 1 | 0 | 0 | 685 |
CSS | 3 | 23 | 3 | 156 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 7.84 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 112 | |
▷ Static methods | 43 | 38.39% |
▷ Public methods | 107 | 95.54% |
▷ Protected methods | 1 | 0.89% |
▷ Private methods | 4 | 3.57% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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
4 compressed PNG files occupy 0.00MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
_resource/images/notice.png | 0.46KB | 0.48KB | 0.00% |
_resource/images/success.png | 0.69KB | 0.65KB | ▼ 5.54% |
_resource/images/error.png | 0.70KB | 0.74KB | 0.00% |
_resource/images/warning.png | 0.47KB | 0.45KB | ▼ 4.14% |