Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼141.77ms] Passed 4 tests
A check of server-side resources used by e11 reCAPTCHA
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 37.05 ▲17.11 |
Dashboard /wp-admin | 3.15 ▲0.10 | 45.95 ▼4.29 |
Posts /wp-admin/edit.php | 3.20 ▲0.08 | 44.08 ▼2.44 |
Add New Post /wp-admin/post-new.php | 5.51 ▲0.08 | 95.13 ▼563.62 |
Media Library /wp-admin/upload.php | 3.09 ▲0.09 | 37.67 ▲3.26 |
e11 reCAPTCHA /wp-admin/options-general.php?page=e11_recaptcha | 3.06 | 31.45 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for e11 reCAPTCHA
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,709 ▲72 | 16.60 ▲0.68 | 12.16 ▲2.92 | 50.61 ▲0.79 |
Dashboard /wp-admin | 3,004 ▲73 | 6.91 ▲0.91 | 145.81 ▼9.09 | 116.50 ▼3.67 |
Posts /wp-admin/edit.php | 2,754 ▲15 | 3.13 ▲0.44 | 80.37 ▲9.97 | 95.24 ▼6.95 |
Add New Post /wp-admin/post-new.php | 3,960 ▲2,345 | 16.44 ▼5.01 | 490.79 ▲202.03 | 140.25 ▲26.54 |
Media Library /wp-admin/upload.php | 1,822 ▲15 | 5.57 ▲0.56 | 163.42 ▼9.35 | 134.33 ▲12.32 |
e11 reCAPTCHA /wp-admin/options-general.php?page=e11_recaptcha | 1,168 | 2.77 | 62.10 | 93.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: register, recaptcha, users, comments, spam...
e11-recaptcha/e11-recaptcha.php Passed 13 tests
The principal PHP file in "e11 reCAPTCHA" v. 1.0 is loaded by WordPress automatically on each request
35 characters long description:
Add reCAPTCHA support to WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected521 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 178 | 213 | 478 |
CSS | 2 | 9 | 0 | 43 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 4.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 17 | 100.00% |
▷ Public methods | 16 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.88% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected