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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼143.46ms] Passed 4 tests
Server-side resources used by MyMail reCaptcha™ for Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.05 | 36.54 ▼0.28 |
Dashboard /wp-admin | 3.12 ▲0.06 | 46.42 ▼0.45 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 46.15 ▼2.77 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 90.47 ▼564.57 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 29.41 ▼6.03 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for MyMail reCaptcha™ for Forms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲107 | 15.91 ▲0.63 | 12.00 ▲1.43 | 49.61 ▲0.69 |
Dashboard /wp-admin | 2,967 ▲33 | 5.94 ▼0.05 | 149.52 ▼11.34 | 114.93 ▼7.67 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.01 | 69.05 ▲0.33 | 83.75 ▼8.53 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.78 ▲2.12 | 406.50 ▼31.19 | 110.29 ▼2.01 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▼0.07 | 162.51 ▲6.40 | 113.92 ▼3.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mymail-recaptcha/mymail-recaptcha.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: mymail, form, recaptcha, secure, forms...
mymail-recaptcha/mymail-recaptcha.php Passed 13 tests
The principal PHP file in "MyMail reCaptcha™ for Forms" v. 0.7 is loaded by WordPress automatically on each request
53 characters long description:
Adds a reCaptcha™ to your MyMail subscription forms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin393 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 113 | 105 | 393 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 3.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG images were found in this plugin