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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.41MB] [CPU: ▼5.34ms] Passed 4 tests
An overview of server-side resources used by DeMomentSomTres Gravity Forms Improvements
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.43 | 40.29 ▼1.93 |
Dashboard /wp-admin | 3.76 ▲0.41 | 52.78 ▼13.33 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 56.52 ▲7.43 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.39 | 87.74 ▼11.10 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 42.36 ▲5.00 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.69 | 37.58 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for DeMomentSomTres Gravity Forms Improvements
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.22 ▼0.13 | 1.91 ▼0.01 | 40.15 ▼4.43 |
Dashboard /wp-admin | 2,225 ▲48 | 5.65 ▲0.06 | 88.70 ▼3.06 | 43.32 ▼5.48 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.07 ▼0.04 | 36.68 ▼1.11 | 41.19 ▲4.39 |
Add New Post /wp-admin/post-new.php | 1,560 ▲26 | 18.25 ▼0.18 | 655.41 ▼0.37 | 65.75 ▼14.84 |
Media Library /wp-admin/upload.php | 1,441 ▲44 | 4.22 ▲0.03 | 98.79 ▼4.11 | 47.33 ▼0.41 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 971 | 2.06 | 24.89 | 30.05 |
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
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
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 | 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
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/demomentsomtres-gravity-forms-improvements/lib/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/demomentsomtres-gravity-forms-improvements/class-demomentsomtres-gravity-forms.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/demomentsomtres-gravity-forms-improvements/lib/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: gravity forms, forms
demomentsomtres-gravity-forms-improvements/demomentsomtres-gravity-forms-improvements.php 92% from 13 tests
The entry point to "DeMomentSomTres Gravity Forms Improvements" version 201805021810... is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "201805021810...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected6,886 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 17 | 1,449 | 1,993 | 4,842 |
PHP | 4 | 515 | 1,711 | 1,984 |
Markdown | 1 | 23 | 0 | 35 |
JavaScript | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 35.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 6 | 5.04% |
▷ Public methods | 96 | 80.67% |
▷ Protected methods | 23 | 19.33% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected