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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.95ms] Passed 4 tests
An overview of server-side resources used by Gravity Forms payment plugin - Novalnet AG
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.01 ▼0.51 |
Dashboard /wp-admin | 3.32 ▲0.01 | 52.03 ▼1.28 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.14 ▼4.55 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.73 ▼4.91 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.54 ▼1.07 |
Server storage [IO: ▲1.78MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Gravity Forms payment plugin - Novalnet AG
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.22 ▼0.50 | 2.16 ▲0.22 | 44.22 ▼5.18 |
Dashboard /wp-admin | 2,195 ▲21 | 5.51 ▼0.09 | 87.56 ▼17.55 | 42.73 ▼1.12 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.00 ▲0.02 | 35.25 ▼0.66 | 33.88 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.08 ▲0.20 | 676.70 ▼4.94 | 56.02 ▲3.56 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.03 | 97.46 ▼12.91 | 42.30 ▼3.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: payment gateway, novalnet payment, credit cards, payments
novalnet-payment-add-on-for-gravity-forms/novalnet-gravity-forms.php 85% from 13 tests
The entry point to "Gravity Forms payment plugin - Novalnet AG" version 3.1.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("novalnet-payment-add-on-for-gravity-forms.php" instead of "novalnet-gravity-forms.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
No dangerous file extensions were detected2,745 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 302 | 962 | 2,550 |
JavaScript | 1 | 3 | 16 | 166 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 83.40 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 4.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 107 | |
▷ Static methods | 48 | 44.86% |
▷ Public methods | 106 | 99.07% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 0.93% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
There were not PNG files found in your plugin