Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▲3.54ms] Passed 4 tests
An overview of server-side resources used by FormsCRM
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 48.47 ▲6.16 |
Dashboard /wp-admin | 3.53 ▲0.22 | 49.31 ▲1.68 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 50.39 ▲8.75 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 95.68 ▲1.84 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 35.73 ▲4.49 |
FormsCRM /wp-admin/options-general.php?page=formscrm | 3.42 | 33.08 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for FormsCRM
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.18 ▼0.41 | 1.74 ▼0.02 | 42.86 ▼0.03 |
Dashboard /wp-admin | 2,204 ▲26 | 5.68 ▲0.03 | 81.14 ▼20.03 | 37.50 ▼0.95 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 1.98 ▼0.04 | 38.60 ▲4.08 | 35.45 ▼1.69 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.33 ▼0.37 | 652.00 ▼12.13 | 63.67 ▲3.37 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.21 ▲0.07 | 102.03 ▲5.75 | 41.85 ▼0.52 |
FormsCRM /wp-admin/options-general.php?page=formscrm | 1,402 | 1.99 | 24.39 | 28.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/formscrm/formscrm.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WPForms_Provider' not found in wp-content/plugins/formscrm/includes/formscrm-library/class-wpforms.php:7
- > PHP Fatal error
Uncaught Error: Class 'GFForms' not found in wp-content/plugins/formscrm/includes/formscrm-library/class-gravityforms.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in formscrm/assets to your readme.txt
formscrm/formscrm.php 92% from 13 tests
This is the main PHP file of "FormsCRM" version 3.12.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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 plugin3,633 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 554 | 1,174 | 3,435 |
SVG | 15 | 0 | 0 | 116 |
JavaScript | 1 | 5 | 5 | 45 |
CSS | 1 | 3 | 0 | 37 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 45.58 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 5.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 4 | 3.28% |
▷ Public methods | 96 | 78.69% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 26 | 21.31% |
Functions | 22 | |
▷ Named functions | 18 | 81.82% |
▷ Anonymous functions | 4 | 18.18% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/addon-icon-wpforms.png | 11.46KB | 12.10KB | 0.00% |