Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.86ms] Passed 4 tests
Server-side resources used by Date Time Field Add-On for Gravity Form
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.40 ▼7.72 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.07 ▼17.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.31 ▼2.75 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 87.40 ▼7.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.27 ▼0.50 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Date Time Field Add-On for Gravity Form
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲53 | 14.36 ▲0.33 | 1.83 ▼0.19 | 36.23 ▼7.20 |
Dashboard /wp-admin | 2,195 ▲31 | 5.52 ▼0.09 | 92.10 ▼13.82 | 42.36 ▼3.88 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.08 | 38.65 ▲0.46 | 35.38 ▲0.09 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.33 ▲0.10 | 636.23 ▼10.58 | 55.92 ▲5.76 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.07 ▼0.08 | 96.05 ▼3.64 | 41.19 ▼1.00 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Awaiswp\\add_action() in wp-content/plugins/gf-datetime-field-add-on/gf-datetime-field-add-on.php:15
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/gf-datetime-field-add-on/class-awaiswp-datetime-gf-field-addon.php:5
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in gf-datetime-field-add-on/assets to your readme.txt
gf-datetime-field-add-on/gf-datetime-field-add-on.php 92% from 13 tests
The main PHP script in "Date Time Field Add-On for Gravity Form" version 1.2.7 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected3,423 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 288 | 77 | 2,583 |
CSS | 1 | 91 | 15 | 503 |
PHP | 4 | 70 | 111 | 291 |
PO File | 1 | 8 | 8 | 46 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 7.75 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 2 | 12.50% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
No PNG files were detected