Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼5.36ms] Passed 4 tests
Server-side resources used by Beauty Form Styler for Gravity Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 38.92 ▼1.13 |
Dashboard /wp-admin | 3.44 ▲0.13 | 46.60 ▼17.98 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.77 ▼3.89 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 105.40 ▲1.57 |
Media Library /wp-admin/upload.php | 3.37 ▲0.13 | 38.47 ▲2.66 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Beauty Form Styler for Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.19 ▼0.37 | 2.34 ▲0.26 | 40.94 ▲0.57 |
Dashboard /wp-admin | 2,189 ▲9 | 5.68 ▲0.03 | 87.63 ▼14.65 | 43.16 ▲0.38 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▼0.01 | 37.10 ▲0.11 | 36.25 ▲2.09 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 20.88 ▼2.24 | 665.22 ▼13.41 | 45.47 ▼19.97 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.24 ▲0.03 | 104.55 ▼3.83 | 45.19 ▼0.36 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/beauty-gravity/inc/admin.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/beauty-gravity/inc/form_themes.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/beauty-gravity/inc/sibg_backend.php:1099
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/beauty-gravity/inc/sibg_frontend.php:738
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: gravity forms tooltip, gravity forms, gravity forms theme, gravity forms multi-page transition, gravity forms styler
beauty-gravity/beauty_gravity.php 85% from 13 tests
The main PHP script in "Beauty Form Styler for Gravity Forms" version 1.6.1 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 263 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("beauty-gravity.php" instead of "beauty_gravity.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin8,900 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 846 | 487 | 4,516 |
CSS | 5 | 486 | 219 | 3,158 |
JavaScript | 7 | 270 | 32 | 1,122 |
SVG | 1 | 65 | 0 | 77 |
JSON | 1 | 0 | 0 | 27 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 89.67 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 168.00 |
Average method complexity | 7.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 9 | 22.50% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 10 | 90.91% |
▷ Anonymous functions | 1 | 9.09% |
Constants | 12 | |
▷ Global constants | 12 | 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
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/icon-256x256.png | 24.00KB | 5.99KB | ▼ 75.04% |