Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/gravity-forms-css-themes-with-fontawesome-and-placeholder-support/gravity-forms-css-themes.php+84
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.90ms] Passed 4 tests
A check of server-side resources used by Gravity Forms CSS Themes with Fontawesome and Placeholders
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 47.50 ▲10.18 |
Dashboard /wp-admin | 3.46 ▲0.11 | 48.61 ▼8.35 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 46.27 ▲0.51 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 81.22 ▼16.93 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 35.57 ▲1.19 |
GF CSS corporate Plugin Menu /wp-admin/admin.php?page=gfct-corporate | 3.35 | 31.03 |
GF CSS Global Options /wp-admin/options-general.php?page=gfct_global_settings | 3.35 | 32.50 |
GF CSS Themes Plugin Menu /wp-admin/admin.php?page=gfct-stylish | 3.35 | 30.15 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 8 new options
New WordPress options |
---|
gfct |
widget_theysaidso_widget |
gfct_global_settings |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gravity Forms CSS Themes with Fontawesome and Placeholders
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲170 | 13.67 ▼0.64 | 6.29 ▲4.63 | 39.38 ▼1.35 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.96 | 109.44 ▲3.60 | 38.10 ▼2.72 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 33.34 ▼4.30 | 35.66 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.56 ▼5.61 | 581.18 ▼76.17 | 54.48 ▼16.99 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.02 | 97.71 ▼2.59 | 42.12 ▼1.94 |
GF CSS corporate Plugin Menu /wp-admin/admin.php?page=gfct-corporate | 1,505 | 2.83 | 62.62 | 28.52 |
GF CSS Global Options /wp-admin/options-general.php?page=gfct_global_settings | 982 | 1.91 | 29.70 | 33.18 |
GF CSS Themes Plugin Menu /wp-admin/admin.php?page=gfct-stylish | 1,608 | 3.05 | 66.28 | 26.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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
- 7× 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-forms-css-themes-with-fontawesome-and-placeholder-support/includes/gfct-global-options.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gravity-forms-css-themes-with-fontawesome-and-placeholder-support/includes/gfct-fields-gravity.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-forms-css-themes-with-fontawesome-and-placeholder-support/options/gfct-corporate-options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gravity-forms-css-themes-with-fontawesome-and-placeholder-support/includes/gfct-frontend-functions.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-forms-css-themes-with-fontawesome-and-placeholder-support/options/gfct-stylish-options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/gravity-forms-css-themes-with-fontawesome-and-placeholder-support/gravity-forms-css-themes.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-forms-css-themes-with-fontawesome-and-placeholder-support/includes/gfct-backend-functions.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #4 is missing in gravity-forms-css-themes-with-fontawesome-and-placeholder-support/assets to your readme.txt
gravity-forms-css-themes-with-fontawesome-and-placeholder-support/gravity-forms-css-themes.php 92% from 13 tests
The main file in "Gravity Forms CSS Themes with Fontawesome and Placeholders" v. 8.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("gravity-forms-css-themes-with-fontawesome-and-placeholder-support.php" instead of "gravity-forms-css-themes.php")
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
Success! There were no dangerous files found in this plugin748 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 12 | 244 | 705 |
CSS | 1 | 0 | 0 | 39 |
JavaScript | 2 | 0 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 68 | |
▷ Named functions | 68 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected