Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.64ms] Passed 4 tests
This is a short check of server-side resources used by Marketing 360® Payments for Gravity Forms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 32.78 ▼5.19 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.82 ▼3.61 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.43 ▲1.28 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 86.40 ▼19.02 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.35 ▲3.29 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Marketing 360® Payments for Gravity Forms: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.36 ▼1.02 | 1.69 ▼0.04 | 41.20 ▲0.79 |
Dashboard /wp-admin | 2,206 ▲18 | 5.88 ▲0.99 | 108.30 ▼6.39 | 43.44 ▲2.18 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.06 | 39.56 ▼2.32 | 34.96 ▲1.19 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 18.35 ▲0.82 | 591.68 ▼97.89 | 79.79 ▲12.85 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.25 ▲0.03 | 101.38 ▼2.08 | 43.41 ▲0.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/marketing-360-payments-for-gravity-forms/marketing360-login-page.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: gravity forms, payment, payment gateway, donations
marketing-360-payments-for-gravity-forms/marketing-360-payments-gravityforms.php 69% from 13 tests
The main file in "Marketing 360® Payments for Gravity Forms" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("marketing-360-payments-for-gravity-forms.php" instead of "marketing-360-payments-gravityforms.php")
- Requires at least: The required version number did not match the one declared in readme.txt ("5.4" instead of "4.7")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Keep the plugin description shorter than 140 characters (currently 224 characters long)
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
Good job! No executable or dangerous file extensions detected1,222 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 240 | 128 | 965 |
CSS | 1 | 1 | 0 | 163 |
JavaScript | 2 | 20 | 12 | 94 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 26 | 44.83% |
▷ Public methods | 57 | 98.28% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.72% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 8 | |
▷ Global constants | 3 | 37.50% |
▷ Class constants | 5 | 62.50% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin