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.00MB] [CPU: ▼3.98ms] Passed 4 tests
A check of server-side resources used by Gravity Forms Export Entries
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.20 ▼9.03 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.73 ▼2.56 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.83 ▼3.74 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.22 ▼0.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.67 ▼0.31 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Gravity Forms Export Entries
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.73 ▼0.57 | 1.67 ▼0.45 | 40.83 ▼10.00 |
Dashboard /wp-admin | 2,206 ▲15 | 5.86 ▼0.01 | 111.55 ▼5.96 | 42.31 ▼2.41 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.98 ▼0.08 | 40.55 ▲2.66 | 34.55 ▼3.60 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.05 ▼0.04 | 617.08 ▼68.16 | 48.78 ▼2.92 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.24 ▲0.03 | 98.05 ▲0.41 | 41.34 ▼2.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please take a closer look at the following
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/gforms-export-entries/js/index.php
- > /wp-content/plugins/gforms-export-entries/css/index.php
- > /wp-content/plugins/gforms-export-entries/includes/index.php
- > /wp-content/plugins/gforms-export-entries/images/index.php
- > /wp-content/plugins/gforms-export-entries/admin/index.php
- > /wp-content/plugins/gforms-export-entries/index.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gforms-export-entries/includes/gfee_handler.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gforms-export-entries/includes/schedule.php:122
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/gforms-export-entries/admin/admin-page-class.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gforms-export-entries/gforms-export-entries.php:113
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Requires at least: Version not formatted correctly
gforms-export-entries/gforms-export-entries.php Passed 13 tests
"Gravity Forms Export Entries" version 1.7.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
73 characters long description:
Export Gravity Forms entries from selected dates to an excel spreadsheet.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin2,247 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 241 | 200 | 1,499 |
JavaScript | 3 | 47 | 7 | 577 |
CSS | 2 | 19 | 1 | 171 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 47.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 71.00 |
Average method complexity | 3.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 1 | 2.86% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/optireto.png | 9.68KB | 8.73KB | ▼ 9.84% |