Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.89MB] [CPU: ▼180.96ms] Passed 4 tests
This is a short check of server-side resources used by GG Infucaptcha reCaptcha for Infusionsoft
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 42.85 ▲20.43 |
Dashboard /wp-admin | 2.76 ▼0.29 | 26.01 ▼26.56 |
Posts /wp-admin/edit.php | 2.76 ▼0.35 | 23.10 ▼27.27 |
Add New Post /wp-admin/post-new.php | 2.76 ▼2.67 | 22.25 ▼656.11 |
Media Library /wp-admin/upload.php | 2.76 ▼0.24 | 23.56 ▼13.88 |
GG InfuCaptcha /wp-admin/options-general.php?page=gg-infucaptcha-plugin-settings | 2.76 | 23.69 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for GG Infucaptcha reCaptcha for Infusionsoft
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.80 ▲0.25 | 10.39 ▼0.06 | 44.94 ▼5.62 |
Dashboard /wp-admin | 2,975 ▲41 | 5.96 ▼0.16 | 148.09 ▼7.13 | 107.26 ▼3.82 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▼0.01 | 70.85 ▼6.90 | 85.00 ▼8.46 |
Add New Post /wp-admin/post-new.php | 1,503 ▼78 | 18.46 ▼1.86 | 381.29 ▼36.23 | 111.54 ▼7.61 |
Media Library /wp-admin/upload.php | 1,815 ▲8 | 5.01 ▼0.02 | 164.43 ▲10.06 | 118.20 ▼0.95 |
GG InfuCaptcha /wp-admin/options-general.php?page=gg-infucaptcha-plugin-settings | 1,140 | 2.08 | 76.03 | 70.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5663
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=gg-infucaptcha-plugin-settings
- > User notice in wp-includes/functions.php+5663
add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be an integer representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/gg-infucaptcha-recaptcha-for-infusionsoft/gg-infucaptcha.php:12
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: infusionsoft, recaptcha, captcha, antispam
gg-infucaptcha-recaptcha-for-infusionsoft/gg-infucaptcha.php 92% from 13 tests
This is the main PHP file of "GG Infucaptcha reCaptcha for Infusionsoft" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gg-infucaptcha-recaptcha-for-infusionsoft.php" instead of "gg-infucaptcha.php")
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 plugin242 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 24 | 79 | 166 |
JavaScript | 1 | 0 | 0 | 76 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 50.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
recaptcha.png | 1.52KB | 0.71KB | ▼ 53.72% |