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.26MB] [CPU: ▼2.21ms] Passed 4 tests
A check of server-side resources used by Entries Importing for Gravity Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.25 | 45.03 ▲2.12 |
Dashboard /wp-admin | 3.62 ▲0.31 | 54.22 ▲3.93 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 53.93 ▼8.56 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 95.62 ▼0.83 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 39.95 ▼1.57 |
Server storage [IO: ▲0.78MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 130 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Entries Importing for Gravity Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▼11 | 14.74 ▲1.23 | 1.92 ▼3.35 | 44.08 ▼2.72 |
Dashboard /wp-admin | 2,206 ▼0 | 4.85 ▼0.94 | 112.86 ▲15.70 | 43.86 ▲5.14 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.00 ▼0.04 | 40.19 ▼3.43 | 36.05 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.20 ▲0.01 | 674.76 ▼28.70 | 59.40 ▼4.78 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▼0.01 | 94.69 ▼23.28 | 42.31 ▼5.66 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 48× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/entries-importing-for-gravity-forms/vendor/viastudio/via-php-license/vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/entries-importing-for-gravity-forms/vendor/viastudio/via-php-license/via-php-license.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\TransferException' not found in wp-content/plugins/entries-importing-for-gravity-forms/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/entries-importing-for-gravity-forms/vendor/guzzlehttp/psr7/src/LazyOpenStream.php:10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Cookie\\CookieJar' not found in wp-content/plugins/entries-importing-for-gravity-forms/vendor/guzzlehttp/guzzle/src/Cookie/FileCookieJar.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/entries-importing-for-gravity-forms/vendor/guzzlehttp/psr7/src/BufferStream.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/entries-importing-for-gravity-forms/vendor/psr/http-message/src/RequestInterface.php:24
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/entries-importing-for-gravity-forms/vendor/guzzlehttp/promises/src/TaskQueue.php:13
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/entries-importing-for-gravity-forms/vendor/guzzlehttp/promises/src/CancellationException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\ResponseInterface' not found in wp-content/plugins/entries-importing-for-gravity-forms/vendor/guzzlehttp/psr7/src/Response.php:10
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\RequestException' not found in wp-content/plugins/entries-importing-for-gravity-forms/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (The Import Screen)
entries-importing-for-gravity-forms/via-gravityforms-entires-import.php 85% from 13 tests
The main PHP file in "Entries Importing for Gravity Forms" ver. 2.6.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Git Repository: Please remove the Git repository from this plugin
- Main file name: It is recommended to name the main PHP file as the plugin slug ("entries-importing-for-gravity-forms.php" instead of "via-gravityforms-entires-import.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin12,398 lines of code in 120 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 100 | 1,766 | 4,781 | 8,656 |
Markdown | 11 | 1,014 | 0 | 3,227 |
JSON | 7 | 0 | 0 | 505 |
make | 1 | 4 | 0 | 9 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 13.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 81.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 14 | |
Traits | 2 | |
Classes | 67 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 67 | 100.00% |
▷ Final classes | 8 | 11.94% |
Methods | 663 | |
▷ Static methods | 75 | 11.31% |
▷ Public methods | 533 | 80.39% |
▷ Protected methods | 9 | 1.36% |
▷ Private methods | 121 | 18.25% |
Functions | 146 | |
▷ Named functions | 57 | 39.04% |
▷ Anonymous functions | 89 | 60.96% |
Constants | 55 | |
▷ Global constants | 2 | 3.64% |
▷ Class constants | 53 | 96.36% |
▷ Public constants | 53 | 100.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
1 PNG file occupies 0.13MB with 0.10MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 132.85KB | 31.06KB | ▼ 76.62% |