Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.67ms] Passed 4 tests
A check of server-side resources used by Email Protect
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.29 ▲0.71 |
Dashboard /wp-admin | 3.37 ▲0.07 | 54.00 ▲4.94 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 50.32 ▲3.67 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 85.80 ▼14.74 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.90 ▼12.30 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Email Protect
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲73 | 13.31 ▼1.28 | 2.29 ▲0.54 | 36.90 ▼11.46 |
Dashboard /wp-admin | 2,209 ▲21 | 4.86 ▼0.07 | 99.77 ▼18.97 | 38.64 ▼9.65 |
Posts /wp-admin/edit.php | 2,092 ▲24 | 2.02 ▲0.01 | 34.57 ▼0.55 | 31.55 ▼1.69 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 18.34 ▼4.83 | 664.69 ▼14.09 | 53.89 ▲4.47 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.17 ▼0.05 | 95.82 ▼8.28 | 39.74 ▼5.19 |
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 did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mail-crypter/mail-crypt.php
- > /wp-content/plugins/mail-crypter/mail-protect.php
- > /wp-content/plugins/mail-crypter/email-protect.php
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 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: You are using too many tags: 12 tag instead of maximum 10
mail-crypter/email-protect.php 85% from 13 tests
The entry point to "Email Protect" version 4.0.3 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("mail-crypter.php" instead of "email-protect.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 159 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected6,610 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 5,797 |
PHP | 15 | 172 | 491 | 725 |
Markdown | 1 | 37 | 0 | 87 |
JavaScript | 1 | 1 | 1 | 1 |
PHP code Passed 2 tests
A short review 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.46 |
Average class complexity | 17.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 2 | 33.33% |
Methods | 49 | |
▷ Static methods | 22 | 44.90% |
▷ Public methods | 46 | 93.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 6.12% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.00% |
Constants | 8 | |
▷ Global constants | 8 | 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