Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼8.22ms] Passed 4 tests
Analyzing server-side resources used by Gravity Forms Táve add-on
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.85 ▼4.63 |
Dashboard /wp-admin | 3.45 ▲0.15 | 48.42 ▼7.74 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 51.09 ▼2.67 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 90.51 ▼17.84 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 37.95 ▲0.11 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Gravity Forms Táve add-on
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.36 ▼0.39 | 1.87 ▲0.10 | 41.10 ▼5.31 |
Dashboard /wp-admin | 2,189 ▲9 | 5.55 ▼0.12 | 86.92 ▼5.00 | 40.46 ▼3.71 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.05 ▲0.04 | 34.59 ▼0.67 | 32.96 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,554 ▲20 | 18.32 ▼4.88 | 654.22 ▲30.55 | 66.93 ▲1.75 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.20 ▲0.00 | 99.03 ▼16.27 | 44.75 ▼2.34 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gravity-forms-tave-add-on/tave.php:26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Requires at least: Invalid plugin version format
gravity-forms-tave-add-on/tave.php 92% from 13 tests
"Gravity Forms Táve add-on" version 2015.03.06's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("gravity-forms-tave-add-on.php" instead of "tave.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin820 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 174 | 86 | 820 |
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.35 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 38 | 95.00% |
▷ Public methods | 26 | 65.00% |
▷ Protected methods | 4 | 10.00% |
▷ Private methods | 10 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
9 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tick.png | 0.52KB | 0.52KB | 0.00% |
images/stop.png | 0.68KB | 0.78KB | 0.00% |
images/active0.png | 0.65KB | 0.61KB | ▼ 5.56% |
images/page_white_world.png | 0.72KB | 0.75KB | 0.00% |
images/error.png | 0.65KB | 0.68KB | 0.00% |