Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.57ms] Passed 4 tests
A check of server-side resources used by Gravity Forms Mass Import
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.84 ▲4.24 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.54 ▲1.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.39 ▲1.60 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.83 ▼3.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.42 ▲2.38 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Gravity Forms Mass Import
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲34 | 13.31 ▼0.97 | 1.69 ▼0.05 | 40.94 ▲3.56 |
Dashboard /wp-admin | 2,211 ▲19 | 5.81 ▲0.91 | 96.70 ▼5.98 | 40.62 ▲2.01 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.03 ▲0.03 | 40.74 ▲2.22 | 35.12 ▼0.29 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 17.75 ▼0.55 | 607.88 ▼22.73 | 55.25 ▼10.12 |
Media Library /wp-admin/upload.php | 1,393 ▲2 | 4.28 ▲0.06 | 94.28 ▼9.60 | 42.76 ▼2.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Cannot redeclare get_field_list_massimport() (previously declared in wp-content/plugins/gravity-forms-mass-import/mass_importer_h.php:7) in wp-content/plugins/gravity-forms-mass-import/gravity-forms-mass-import.php on line 58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-forms-mass-import/gravity-forms-mass-import.php:40
- > 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 undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== gravity-forms-mass-import ===
) - Tags: There are too many tags (11 tag instead of maximum 10)
gravity-forms-mass-import/gravity-forms-mass-import.php Passed 13 tests
The main PHP file in "Gravity Forms Mass Import" ver. 1.5.1 adds more information about the plugin and also serves as the entry point for this plugin
58 characters long description:
Allows mass import of form entries derived from CSV files.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin794 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 953 | 293 | 768 |
JavaScript | 1 | 6 | 0 | 26 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 185.00 |
▷ Minimum class complexity | 185.00 |
▷ Maximum class complexity | 185.00 |
Average method complexity | 11.22 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 64.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected