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.01MB] [CPU: ▼9.30ms] Passed 4 tests
Analyzing server-side resources used by click5 CRM add-on to Gravity Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.48 ▲0.45 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.56 ▼16.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.86 ▼4.68 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.18 ▼15.05 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.39 ▼0.82 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for click5 CRM add-on to Gravity Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.68 ▼0.96 | 2.18 ▲0.31 | 45.34 ▲2.92 |
Dashboard /wp-admin | 2,206 ▲15 | 5.89 ▲0.01 | 101.85 ▲0.14 | 42.78 ▲0.45 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.16 ▲0.11 | 39.25 ▲2.68 | 35.85 ▲0.19 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 18.41 ▼4.70 | 670.04 ▲2.95 | 70.10 ▲16.69 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.25 ▲0.05 | 101.48 ▼18.48 | 48.41 ▲0.75 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gf-add-on-by-click5/api.php:361
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gf-add-on-by-click5/api.php:361
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: crm, contact, contact form, form, click5
gf-add-on-by-click5/gf-addon-by-click5.php 92% from 13 tests
Analyzing the main PHP file in "click5 CRM add-on to Gravity Forms" version 1.0.3
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gf-add-on-by-click5.php" instead of "gf-addon-by-click5.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin2,409 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 229 | 57 | 943 |
PHP | 3 | 221 | 53 | 894 |
CSS | 1 | 114 | 24 | 572 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 38 | |
▷ Named functions | 36 | 94.74% |
▷ Anonymous functions | 2 | 5.26% |
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
2 PNG files occupy 0.12MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 70.38KB | 34.50KB | ▼ 50.98% |
assets/banner-772x250.png | 56.77KB | 22.80KB | ▼ 59.84% |