Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.49ms] Passed 4 tests
Analyzing server-side resources used by Post Update Add-On - Gravity Forms
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.60 ▼2.04 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.04 ▼5.49 |
Posts /wp-admin/edit.php | 3.37 ▲0.00 | 49.66 ▲4.88 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.66 ▼12.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.00 | 34.50 ▼1.99 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Post Update Add-On - Gravity Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.73 ▲0.07 | 1.50 ▼0.05 | 36.94 ▼2.02 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▲0.07 | 84.24 ▼3.30 | 35.84 ▼3.00 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.02 | 38.71 ▲1.60 | 34.11 ▲0.66 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.48 ▲0.40 | 668.95 ▼18.63 | 54.60 ▼11.58 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.16 ▼0.04 | 95.38 ▼5.83 | 39.87 ▼4.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- 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 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-update-addon-gravity-forms/post-update-addon-gravity-forms.php:12
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/post-update-addon-gravity-forms/class-post-update-addon.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: post change, post edit, edit post, post update, gravity forms...
post-update-addon-gravity-forms/post-update-addon-gravity-forms.php Passed 13 tests
The main file in "Post Update Add-On - Gravity Forms" v. 1.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
60 characters long description:
Update/Edit a post or a custom post type with Gravity Forms.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin422 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 50 | 25 | 422 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 2 | 11.76% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin