Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼11.17ms] Passed 4 tests
Analyzing server-side resources used by Gravity Forms Confirmation Page List
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.73 ▼5.30 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.51 ▼21.02 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.23 ▲0.48 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 78.40 ▼16.16 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.53 ▼2.19 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Gravity Forms Confirmation Page List
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.25 ▼1.37 | 1.68 ▼0.27 | 41.85 ▼2.05 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼0.02 | 113.79 ▼3.06 | 39.33 ▼6.23 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.04 | 40.46 ▲4.67 | 35.05 ▲0.40 |
Add New Post /wp-admin/post-new.php | 1,547 ▲1 | 18.40 ▼0.02 | 596.25 ▼70.04 | 67.84 ▲17.89 |
Media Library /wp-admin/upload.php | 1,385 ▼6 | 4.19 ▼0.04 | 96.93 ▲1.73 | 40.92 ▼1.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
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
Even though no errors were found, this is by no means 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
Please fix the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gf-confirmation-page-list/gravityforms-confirmation-page-list.php:18
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/gf-confirmation-page-list/tests/test_confirmation_page.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'WP_PLUGIN_DIR/gf-confirmation-page-list/gravityforms-confirmation-page-list.php' (include_path='.:/usr/share/php') in wp-content/plugins/gf-confirmation-page-list/tests/test_confirmation_page.php on line 2
- > PHP Warning
require_once(WP_PLUGIN_DIR/gf-confirmation-page-list/gravityforms-confirmation-page-list.php): failed to open stream: No such file or directory in wp-content/plugins/gf-confirmation-page-list/tests/test_confirmation_page.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 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
3 plugin tags: confirmations, add-on, gravity forms
gf-confirmation-page-list/gravityforms-confirmation-page-list.php 92% from 13 tests
Analyzing the main PHP file in "Gravity Forms Confirmation Page List" version 1.0.0
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gf-confirmation-page-list.php" instead of "gravityforms-confirmation-page-list.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin86 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 13 | 10 | 50 |
Bourne Shell | 1 | 6 | 4 | 29 |
Markdown | 2 | 7 | 0 | 7 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected