Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼3.77ms] Passed 4 tests
A check of server-side resources used by Integration for Gravity Forms and Quorum
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 36.48 ▼4.05 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.29 ▼2.69 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.12 ▼2.93 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.55 ▼5.41 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.70 ▼1.96 |
Server storage [IO: ▲0.74MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 129 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Integration for Gravity Forms and Quorum
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.31 ▼1.37 | 1.67 ▼0.14 | 41.31 ▼0.03 |
Dashboard /wp-admin | 2,209 ▲17 | 4.89 ▼0.07 | 108.50 ▼6.42 | 40.30 ▼2.83 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.11 ▲0.11 | 37.14 ▼2.60 | 33.82 ▼1.25 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.18 ▲4.80 | 588.62 ▼38.76 | 59.96 ▲14.23 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.22 ▲0.05 | 95.34 ▼1.61 | 40.71 ▼0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 44× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/gf-quorum-addon/vendor/njimedia/quorumapi/tests/ClientTest.php:11
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/gf-quorum-addon/vendor/guzzlehttp/promises/src/CancellationException.php:7
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Promise\\RejectionException' not found in wp-content/plugins/gf-quorum-addon/vendor/guzzlehttp/promises/src/AggregateException.php:7
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/gf-quorum-addon/vendor/guzzlehttp/psr7/src/PumpStream.php:16
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\MessageInterface' not found in wp-content/plugins/gf-quorum-addon/vendor/psr/http-message/src/ResponseInterface.php:20
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/gf-quorum-addon/vendor/guzzlehttp/psr7/src/NoSeekStream.php:9
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/gf-quorum-addon/vendor/guzzlehttp/promises/src/Promise.php:9
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/gf-quorum-addon/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/gf-quorum-addon/vendor/guzzlehttp/psr7/src/FnStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/gf-quorum-addon/vendor/guzzlehttp/psr7/src/Uri.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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
3 plugin tags: subscribe, gravity forms, quorum
gf-quorum-addon/gf-quorum-addon.php 85% from 13 tests
The main PHP script in "Integration for Gravity Forms and Quorum" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 150 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 detected12,374 lines of code in 118 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 98 | 1,762 | 5,128 | 8,593 |
Markdown | 11 | 1,005 | 0 | 3,209 |
JSON | 7 | 0 | 0 | 553 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 13.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 15 | |
Traits | 2 | |
Classes | 68 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 68 | 100.00% |
▷ Final classes | 10 | 14.71% |
Methods | 664 | |
▷ Static methods | 69 | 10.39% |
▷ Public methods | 541 | 81.48% |
▷ Protected methods | 8 | 1.20% |
▷ Private methods | 115 | 17.32% |
Functions | 145 | |
▷ Named functions | 58 | 40.00% |
▷ Anonymous functions | 87 | 60.00% |
Constants | 56 | |
▷ Global constants | 1 | 1.79% |
▷ Class constants | 55 | 98.21% |
▷ Public constants | 55 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected