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.01MB] [CPU: ▼9.08ms] Passed 4 tests
An overview of server-side resources used by Import Excel to Gravity Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.18 ▼8.01 |
Dashboard /wp-admin | 3.32 ▲0.01 | 44.28 ▼5.04 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.37 ▼3.88 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 79.29 ▼19.37 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.94 ▼3.89 |
Import Excel to Gravity Forms /wp-admin/options-general.php?page=gf-excel-import/includes/admin/options.php | 3.24 | 31.40 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Import Excel to Gravity Forms
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.61 ▲0.34 | 1.61 ▼0.18 | 38.58 ▼7.56 |
Dashboard /wp-admin | 2,199 ▲22 | 5.54 ▲0.01 | 81.83 ▼8.68 | 38.01 ▼2.22 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.00 ▲0.03 | 34.34 ▼4.22 | 33.16 ▼3.12 |
Add New Post /wp-admin/post-new.php | 1,537 ▲8 | 22.94 ▼0.04 | 651.69 ▲6.32 | 62.23 ▲13.32 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.21 ▲0.07 | 94.41 ▼0.57 | 42.05 ▼2.61 |
Import Excel to Gravity Forms /wp-admin/options-general.php?page=gf-excel-import/includes/admin/options.php | 857 | 2.03 | 24.93 | 26.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
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)
Everything seems fine, however 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
The following issues need your attention
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_send_json() in wp-content/plugins/gf-excel-import/includes/ajax_processing.php:258
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/gf-excel-import/includes/admin/options.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gf-excel-import/includes/loader.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/gf-excel-import/gf-excel-import.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gf-excel-import/includes/admin/admin.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
10 plugin tags: csv, gravityforms, import, bulk, gravity forms...
gf-excel-import/gf-excel-import.php 92% from 13 tests
Analyzing the main PHP file in "Import Excel to Gravity Forms" version 1.18
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 201 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected922 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 145 | 50 | 479 |
PHP | 8 | 85 | 79 | 353 |
CSS | 2 | 3 | 10 | 89 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin