Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.66MB] [CPU: ▲2.03ms] Passed 4 tests
Server-side resources used by WordPress form builder plugin for contact forms, surveys and quizzes - Tripetto
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.65 | 40.70 ▼0.49 |
Dashboard /wp-admin | 3.98 ▲0.68 | 51.58 ▲6.06 |
Posts /wp-admin/edit.php | 4.04 ▲0.68 | 53.56 ▲8.69 |
Add New Post /wp-admin/post-new.php | 6.52 ▲0.64 | 89.36 ▼6.14 |
Media Library /wp-admin/upload.php | 3.91 ▲0.68 | 44.60 ▲8.96 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 4.07 | 38.48 |
Tripetto /wp-admin/options-general.php?page=tripetto-settings | 3.73 | 35.28 |
Server storage [IO: ▲20.05MB] [DB: ▲0.01MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please try to fix the following items
- The plugin illegally modified 1 file (0.91KB) outside of "wp-content/plugins/tripetto/" and "wp-content/uploads/"
- (modified) .htaccess
Filesystem: 1,048 new files
Database: 5 new tables, 9 new options
New tables |
---|
wp_tripetto_attachments |
wp_tripetto_entries |
wp_tripetto_announcements |
wp_tripetto_snapshots |
wp_tripetto_forms |
New WordPress options |
---|
fs_debug_mode |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
fs_active_plugins |
fs_accounts |
Browser metrics Passed 4 tests
A check of browser resources used by WordPress form builder plugin for contact forms, surveys and quizzes - Tripetto
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲170 | 14.71 ▲0.06 | 1.84 ▲0.20 | 29.20 ▼12.87 |
Dashboard /wp-admin | 2,334 ▲154 | 5.56 ▼0.11 | 89.29 ▲2.70 | 42.81 ▼2.89 |
Posts /wp-admin/edit.php | 2,250 ▲150 | 2.00 ▲0.06 | 41.57 ▲5.40 | 34.74 ▲0.76 |
Add New Post /wp-admin/post-new.php | 6,400 ▲4,874 | 35.38 ▲12.07 | 1,123.89 ▲437.64 | 38.21 ▼14.24 |
Media Library /wp-admin/upload.php | 1,543 ▲140 | 4.30 ▲0.13 | 98.22 ▼5.20 | 46.04 ▲1.47 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,194 | 1.68 | 26.18 | 30.25 |
Tripetto /wp-admin/options-general.php?page=tripetto-settings | 1,028 | 1.70 | 27.42 | 46.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/tripetto/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 9 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- fs_debug_mode
- widget_recent-posts
- can_compress_scripts
- fs_accounts
- fs_active_plugins
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
The following issues need your attention
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Tripetto\\ListFactory' not found in wp-content/plugins/tripetto/admin/results/list.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/tripetto/elementor/widget.php:4
- > PHP Fatal error
Uncaught Error: Class 'Tripetto\\ListFactory' not found in wp-content/plugins/tripetto/admin/forms/list.php:4
- > PHP Fatal error
Uncaught Error: Class 'Tripetto\\ListFactory' not found in wp-content/plugins/tripetto/admin/forms/list.php:4
- > PHP Fatal error
Uncaught Error: Class 'Tripetto\\ListFactory' not found in wp-content/plugins/tripetto/admin/results/list.php:4
- > PHP Fatal error
Uncaught Error: Class 'Tripetto\\ListFactory' not found in wp-content/plugins/tripetto/admin/forms/list.php:4
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: form, form plugin, form builder, forms, contact form
tripetto/plugin.php 92% from 13 tests
The main file in "WordPress form builder plugin for contact forms, surveys and quizzes - Tripetto" v. 7.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("tripetto.php" instead of "plugin.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected163,660 lines of code in 940 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 747 | 0 | 0 | 119,588 |
PHP | 157 | 9,553 | 17,994 | 40,375 |
PO File | 4 | 1,425 | 1,328 | 3,490 |
SVG | 1 | 0 | 0 | 168 |
CSS | 16 | 0 | 0 | 24 |
JavaScript | 15 | 0 | 15 | 15 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
It is recommended to fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.64 |
Average class complexity | 71.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 84 | |
▷ Abstract classes | 2 | 2.38% |
▷ Concrete classes | 82 | 97.62% |
▷ Final classes | 3 | 3.66% |
Methods | 1,551 | |
▷ Static methods | 389 | 25.08% |
▷ Public methods | 1,128 | 72.73% |
▷ Protected methods | 40 | 2.58% |
▷ Private methods | 383 | 24.69% |
Functions | 108 | |
▷ Named functions | 103 | 95.37% |
▷ Anonymous functions | 5 | 4.63% |
Constants | 148 | |
▷ Global constants | 101 | 68.24% |
▷ Class constants | 47 | 31.76% |
▷ Public constants | 47 | 100.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
4 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
assets/tripetto.png | 5.51KB | 1.94KB | ▼ 64.87% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
assets/preview.png | 36.68KB | 16.27KB | ▼ 55.65% |