Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.06ms] Passed 4 tests
An overview of server-side resources used by Gravity Forms YMLP Add-on
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.89 ▼0.57 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.97 ▼3.06 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.67 ▲3.70 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.32 ▲5.47 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.15 ▼0.29 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Gravity Forms YMLP Add-on
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.67 ▼0.71 | 1.80 ▼0.25 | 43.31 ▲0.82 |
Dashboard /wp-admin | 2,206 ▲15 | 5.91 ▲0.85 | 103.87 ▼12.72 | 42.39 ▼4.93 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.02 | 39.61 ▲1.85 | 34.95 ▲1.30 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.38 ▲0.30 | 640.30 ▼24.25 | 55.80 ▼3.84 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.18 ▼0.02 | 92.00 ▼14.39 | 40.34 ▼6.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 | 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 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 just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Please 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
Analyzing the main PHP file in "Gravity Forms YMLP Add-on" version 1.0.2
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 | Executable files are considered dangerous and should not be included with 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
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
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/active1.png | 0.71KB | 0.63KB | ▼ 11.28% |
images/active0.png | 0.65KB | 0.61KB | ▼ 5.56% |
images/remove.png | 3.32KB | 0.62KB | ▼ 81.33% |
images/add.png | 3.37KB | 0.66KB | ▼ 80.54% |