Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼8.49ms] Passed 4 tests
Server-side resources used by Gravity Slider Fields
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.63 ▼4.66 |
Dashboard /wp-admin | 3.35 ▲0.05 | 45.63 ▼3.62 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 48.40 ▼2.64 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 84.63 ▼23.03 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 35.28 ▲0.76 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Gravity Slider Fields
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲72 | 13.30 ▼1.45 | 1.65 ▼0.55 | 40.40 ▼11.41 |
Dashboard /wp-admin | 2,210 ▲25 | 5.78 ▼0.09 | 106.07 ▲0.43 | 38.43 ▼5.15 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.04 ▲0.05 | 39.93 ▼10.73 | 36.07 ▼5.65 |
Add New Post /wp-admin/post-new.php | 1,521 ▼21 | 23.39 ▲5.18 | 682.98 ▲32.30 | 52.05 ▼0.42 |
Media Library /wp-admin/upload.php | 1,398 ▲13 | 4.36 ▲0.18 | 110.49 ▲2.94 | 45.75 ▲4.25 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-slider-fields/gravity-slider-fields.php:30
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/gravity-slider-fields/class-gfsliderfields.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-slider-fields/typewheel-notice/class-typewheel-notice.php:10
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #2, #3 in gravity-slider-fields/assets to your readme.txt
gravity-slider-fields/gravity-slider-fields.php Passed 13 tests
The main PHP file in "Gravity Slider Fields" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
35 characters long description:
Adds slider fields to 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
Everything looks great! No dangerous files found in this plugin2,977 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 575 | 459 | 1,937 |
PHP | 4 | 242 | 296 | 553 |
CSS | 5 | 0 | 39 | 300 |
HTML | 1 | 52 | 0 | 137 |
JSON | 2 | 0 | 0 | 40 |
Markdown | 1 | 7 | 0 | 10 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 24.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 30 | 93.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.25% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
PNG images were not found in this plugin