Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.96ms] Passed 4 tests
This is a short check of server-side resources used by Bulk Download for Gravity Forms
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 42.37 ▼6.34 |
Dashboard /wp-admin | 3.37 ▲0.07 | 45.42 ▼4.47 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 51.61 ▲4.80 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 92.22 ▲0.10 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.79 ▼1.11 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Bulk Download for Gravity Forms: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.74 ▲0.73 | 1.76 ▼0.16 | 47.84 ▲5.01 |
Dashboard /wp-admin | 2,209 ▲24 | 5.91 ▼0.00 | 98.61 ▼13.58 | 38.58 ▲0.93 |
Posts /wp-admin/edit.php | 2,068 ▼0 | 2.01 ▼0.02 | 35.91 ▼0.93 | 33.45 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.39 ▲0.25 | 619.89 ▲19.12 | 58.72 ▼2.80 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▲0.02 | 113.14 ▲13.51 | 48.05 ▲0.95 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function BDFGF\\add_action() in wp-content/plugins/bulk-download-for-gravity-forms/lib/load.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/bulk-download-for-gravity-forms/bulk-download-for-gravity-forms.php:23
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
No plugin tags provided
bulk-download-for-gravity-forms/bulk-download-for-gravity-forms.php Passed 13 tests
The main file in "Bulk Download for Gravity Forms" v. 3.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
77 characters long description:
Bulk download all files from one or multiple Gravity Forms entries in one go.
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
Everything looks great! No dangerous files found in this plugin1,295 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 314 | 958 | 1,248 |
JSON | 3 | 0 | 0 | 27 |
YAML | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
An short overview of 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.46 |
Average class complexity | 13.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 32 | 40.51% |
▷ Public methods | 74 | 93.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 6.33% |
Functions | 8 | |
▷ Named functions | 6 | 75.00% |
▷ Anonymous functions | 2 | 25.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
PNG images were not found in this plugin