Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼291.39ms] Passed 4 tests
A check of server-side resources used by Addonify reCaptcha For EDD
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.15 | 53.96 ▲2.98 |
Dashboard /wp-admin | 3.49 ▲0.08 | 33.49 ▲0.42 |
Posts /wp-admin/edit.php | 3.72 ▲0.08 | 38.75 ▼0.76 |
Add New Post /wp-admin/post-new.php | 6.95 ▼0.02 | 90.68 ▼1,168.21 |
Media Library /wp-admin/upload.php | 3.37 ▲0.07 | 26.60 ▲3.34 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 23 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Addonify reCaptcha For EDD
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,829 ▲75 | 16.53 ▲0.84 | 14.35 ▲7.60 | 2.55 ▲0.02 |
Dashboard /wp-admin | 2,913 ▲55 | 6.15 ▼0.08 | 114.62 ▼21.78 | 155.54 ▼3.96 |
Posts /wp-admin/edit.php | 2,712 ▲18 | 3.25 ▲0.02 | 64.41 ▲1.30 | 140.88 ▲1.73 |
Add New Post /wp-admin/post-new.php | 1,782 ▲121 | 20.96 ▲3.18 | 443.98 ▲59.43 | 159.59 ▲7.70 |
Media Library /wp-admin/upload.php | 1,716 ▲21 | 5.52 ▲0.06 | 136.04 ▼4.51 | 194.82 ▲13.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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 items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/addonify-recaptcha-for-edd/public/partials/addonify-recaptcha-for-edd-public-display.php
- > /wp-content/plugins/addonify-recaptcha-for-edd/admin/partials/addonify-recaptcha-for-edd-admin-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/addonify-recaptcha-for-edd/admin/class-addonify-recaptcha-for-edd-settings.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: edd register recaptcha, security, edd login recaptcha, captcha for edd, recaptcha for edd...
addonify-recaptcha-for-edd/addonify-recaptcha-for-edd.php Passed 13 tests
The main PHP file in "Addonify reCaptcha For EDD" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
128 characters long description:
Addonify reCaptcha For EDD is a simple plugin that adds Google reCaptcha in Easy Digital Downloads login and registration 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
No dangerous file extensions were detected343 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 170 | 550 | 310 |
JavaScript | 2 | 11 | 40 | 33 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
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 | 4.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 27 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 18.18% |
Functions | 3 | |
▷ Named functions | 3 | 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
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