Benchmarks
Plugin footprint Passed 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.07MB] [CPU: ▼131.14ms] Passed 4 tests
Analyzing server-side resources used by User Email Compromised Check
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 29.46 ▲2.08 |
Dashboard /wp-admin | 3.12 ▲0.07 | 54.26 ▲7.81 |
Posts /wp-admin/edit.php | 3.21 ▲0.10 | 47.11 ▲7.51 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.05 | 97.74 ▼536.49 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 35.27 ▲2.36 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for User Email Compromised Check
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.77 ▼0.24 | 7.57 ▼1.10 | 49.02 ▲1.37 |
Dashboard /wp-admin | 2,973 ▲39 | 5.92 ▼0.02 | 140.31 ▲1.59 | 108.53 ▼5.96 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.69 ▲0.00 | 65.57 ▼0.76 | 94.29 ▲6.33 |
Add New Post /wp-admin/post-new.php | 1,498 ▼174 | 18.85 ▼0.07 | 364.64 ▼2.77 | 113.50 ▼5.98 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 4.99 ▼0.04 | 163.05 ▲18.25 | 123.21 ▼4.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/user-email-compromised-check/user-email-compromised-check.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 19 tag instead of maximum 10
user-email-compromised-check/user-email-compromised-check.php Passed 13 tests
This is the main PHP file of "User Email Compromised Check" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
95 characters long description:
Check if the admin email or any other registered users email has been compromised at any point.
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 detected1,170 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 137 | 188 | 469 |
CSS | 6 | 110 | 38 | 429 |
PHP | 1 | 23 | 80 | 258 |
Markdown | 1 | 9 | 0 | 14 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 4.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin