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
Installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼292.00ms] Passed 4 tests
Server-side resources used by Gravity Forms YMLP Add-on
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 56.50 ▲7.56 |
Dashboard /wp-admin | 3.41 ▲0.01 | 34.17 ▲0.24 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 39.58 ▲0.98 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 131.59 ▼1,173.62 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 29.77 ▲4.41 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Gravity Forms YMLP Add-on
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲41 | 15.79 ▲0.21 | 5.62 ▼0.75 | 3.26 ▲0.29 |
Dashboard /wp-admin | 2,892 ▲38 | 6.03 ▼0.05 | 120.19 ▼19.65 | 170.25 ▲4.06 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.24 ▼0.01 | 69.28 ▲7.46 | 141.85 ▼5.50 |
Add New Post /wp-admin/post-new.php | 1,717 ▲6 | 21.57 ▲0.79 | 458.45 ▼1.97 | 204.14 ▼32.63 |
Media Library /wp-admin/upload.php | 1,692 ▼6 | 5.52 ▼0.07 | 166.25 ▲26.38 | 208.46 ▼56.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
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 no errors were found, 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× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ymlp/ymlp.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add images for these screenshots: #1 (The Gravity Forms YMLP Add-on settings page), #2 (It's easy to integrate Gravity Forms with YMLP: set up a "Feed" and match up the fields you'd like sent to YMLP), #3 (Configure many integrations at once with multiple Gravity Forms)
ymlp/ymlp.php Passed 13 tests
The principal PHP file in "Gravity Forms YMLP Add-on" v. 1.0.2 is loaded by WordPress automatically on each request
106 characters long description:
Integrates Gravity Forms with YMLP allowing form submissions to be automatically sent to your YMLP account
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,369 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 285 | 122 | 1,369 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 163.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 83 | |
▷ Static methods | 39 | 46.99% |
▷ Public methods | 69 | 83.13% |
▷ Protected methods | 3 | 3.61% |
▷ Private methods | 11 | 13.25% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/remove.png | 3.32KB | 0.62KB | ▼ 81.33% |
images/add.png | 3.37KB | 0.66KB | ▼ 80.54% |
images/active0.png | 0.65KB | 0.61KB | ▼ 5.56% |
images/active1.png | 0.71KB | 0.63KB | ▼ 11.28% |