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.01MB] [CPU: ▼307.85ms] Passed 4 tests
An overview of server-side resources used by Gravitate Gforms API Helper
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.04 | 52.15 ▲0.20 |
Dashboard /wp-admin | 3.45 ▲0.04 | 35.74 ▲2.48 |
Posts /wp-admin/edit.php | 3.68 ▲0.03 | 37.80 ▼0.76 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.06 | 97.19 ▼1,230.60 |
Media Library /wp-admin/upload.php | 3.33 ▲0.03 | 24.68 ▼0.25 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Gravitate Gforms API Helper
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲19 | 16.26 ▲0.20 | 5.92 ▲0.13 | 2.32 ▼0.04 |
Dashboard /wp-admin | 2,888 ▲34 | 6.06 ▼0.13 | 114.69 ▼25.30 | 154.98 ▼5.16 |
Posts /wp-admin/edit.php | 2,691 ▼0 | 3.24 ▲0.00 | 63.17 ▼1.20 | 143.03 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,773 ▲21 | 21.70 ▲0.12 | 503.18 ▲55.40 | 153.45 ▼4.13 |
Media Library /wp-admin/upload.php | 1,698 ▲3 | 5.50 ▼0.03 | 137.43 ▼5.65 | 188.13 ▼0.26 |
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 successfully, without leaving any 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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravitate-gforms-api-helper/gravitate-gforms-api-helper.php:14
- > 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 errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: api, gravity forms, gravitate
gravitate-gforms-api-helper/gravitate-gforms-api-helper.php Passed 13 tests
This is the main PHP file of "Gravitate Gforms API Helper" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
97 characters long description:
This is a Plugin Helper to allow you to easily setup an External API on Gravity Form Submissions.
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
Success! There were no dangerous files found in this plugin142 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 51 | 51 | 142 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected