Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Compile error in wp-content/plugins/gravity-forms-post-updates/gravityforms-update-post.php+1021
Cannot use lexical variable $value as a parameter name
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.54ms] Passed 4 tests
An overview of server-side resources used by Gravity Forms: Post Updates
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.80 ▼6.91 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.00 ▲2.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.26 ▼2.70 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 77.73 ▼15.51 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.30 ▲4.91 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Gravity Forms: Post Updates: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.67 ▼0.72 | 1.62 ▼0.18 | 38.28 ▼5.90 |
Dashboard /wp-admin | 2,206 ▲21 | 4.81 ▼0.10 | 113.52 ▲12.70 | 42.81 ▼0.07 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.01 | 35.21 ▼6.31 | 29.83 ▼6.87 |
Add New Post /wp-admin/post-new.php | 1,533 ▼3 | 23.23 ▲0.03 | 664.33 ▲55.70 | 62.59 ▲12.28 |
Media Library /wp-admin/upload.php | 1,382 ▲3 | 4.27 ▲0.09 | 104.49 ▲5.68 | 42.73 ▲1.67 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Cannot use lexical variable $value as a parameter name in wp-content/plugins/gravity-forms-post-updates/gravityforms-update-post.php on line 1021
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== gravity-forms-post-updates ===
)
gravity-forms-post-updates/gravityforms-update-post.php 85% from 13 tests
The entry point to "Gravity Forms: Post Updates" version 1.2.23 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Name the main plugin file the same as the plugin slug ("gravity-forms-post-updates.php" instead of "gravityforms-update-post.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin850 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 150 | 386 | 799 |
JavaScript | 1 | 9 | 2 | 51 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for 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.58 |
Average class complexity | 175.00 |
▷ Minimum class complexity | 175.00 |
▷ Maximum class complexity | 175.00 |
Average method complexity | 5.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 35 | |
▷ Static methods | 35 | 100.00% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 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
There are no PNG files in this plugin