Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Compile error in wp-content/plugins/wp-pgp-email/encrypt.php+9
Cannot redeclare wp_mail() (previously declared in wp-includes/pluggable.php:174)
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.58ms] Passed 4 tests
Server-side resources used by WP PGP email
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 47.48 ▲5.46 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.98 ▼2.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.93 ▼0.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.25 ▼17.81 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.99 ▼0.64 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP PGP email
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.72 ▲0.34 | 2.09 ▲0.32 | 40.33 ▼2.24 |
Dashboard /wp-admin | 2,192 ▲12 | 5.61 ▼0.01 | 86.09 ▼4.04 | 43.83 ▼0.26 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 1.97 ▼0.04 | 35.56 ▼0.83 | 36.26 ▼2.91 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.21 ▲0.33 | 664.64 ▼78.26 | 72.02 ▲11.04 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.12 ▼0.06 | 102.95 ▼10.07 | 44.67 ▼8.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
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)
There were no browser issues found
Optimizations
Plugin configuration 97% 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 need to be fixed:
- Screenshots: Please add an image for screenshot #1 (User profile page.)
wp-pgp-email/wp-pgp-email.php Passed 13 tests
Analyzing the main PHP file in "WP PGP email" version 0.1
54 characters long description:
Provides mechanism to encrypt outgoing email using PGP
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected1,232 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 235 | 147 | 1,208 |
Markdown | 1 | 15 | 0 | 24 |
PHP code Passed 2 tests
Analyzing 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.26 |
Average class complexity | 16.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 4.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 14 | 48.28% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 13.28KB | 7.79KB | ▼ 41.32% |