Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.92MB] [CPU: ▼1.67ms] Passed 4 tests
This is a short check of server-side resources used by WordPress Contact Forms by Cimatti
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.41 ▲0.94 | 45.77 ▲7.07 |
Dashboard /wp-admin | 4.27 ▲0.92 | 51.70 ▼10.65 |
Posts /wp-admin/edit.php | 4.32 ▲0.96 | 51.67 ▲6.95 |
Add New Post /wp-admin/post-new.php | 6.79 ▲0.90 | 84.83 ▼10.03 |
Media Library /wp-admin/upload.php | 4.13 ▲0.90 | 44.07 ▲9.43 |
Dashboard /wp-admin/admin.php?page=accua_forms | 4.20 | 41.21 |
Forms /wp-admin/admin.php?page=accua_forms_list | 4.16 | 39.60 |
Fields /wp-admin/admin.php?page=accua_forms_fields | 4.10 | 40.26 |
Add new /wp-admin/admin.php?page=accua_forms_add | 4.18 | 40.93 |
Submissions /wp-admin/admin.php?page=accua_forms_submissions_list | 4.25 | 43.01 |
Settings /wp-admin/admin.php?page=accua_forms_settings | 4.28 | 44.65 |
Server storage [IO: ▲1.81MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 149 new files
Database: 3 new tables, 11 new options
New tables |
---|
wp_accua_forms_submissions_notes |
wp_accua_forms_submissions_values |
wp_accua_forms_submissions |
New WordPress options |
---|
theysaidso_admin_options |
accua_form_api_keys |
can_compress_scripts |
db_upgraded |
accua_forms_avail_fields |
accua_forms_db_version |
accua_forms_lastid |
widget_recent-comments |
accua_forms_default_form_data |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Contact Forms by Cimatti
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,023 ▲261 | 13.99 ▼0.36 | 8.55 ▲6.74 | 42.56 ▼4.31 |
Dashboard /wp-admin | 2,330 ▲153 | 5.42 ▼0.26 | 97.43 ▲2.53 | 85.55 ▲42.65 |
Posts /wp-admin/edit.php | 2,178 ▲78 | 2.48 ▲0.54 | 39.31 ▲1.85 | 34.31 ▼4.47 |
Add New Post /wp-admin/post-new.php | 1,746 ▲215 | 21.79 ▲0.71 | 621.19 ▲11.90 | 34.13 ▼18.58 |
Media Library /wp-admin/upload.php | 1,477 ▲77 | 4.67 ▲0.45 | 104.25 ▲5.32 | 78.24 ▲37.47 |
Dashboard /wp-admin/admin.php?page=accua_forms | 1,046 | 2.38 | 35.03 | 29.12 |
Forms /wp-admin/admin.php?page=accua_forms_list | 1,184 | 2.48 | 43.70 | 50.50 |
Fields /wp-admin/admin.php?page=accua_forms_fields | 1,445 | 2.18 | 29.70 | 28.05 |
Add new /wp-admin/admin.php?page=accua_forms_add | 4,477 | 12.28 | 276.93 | 142.86 |
Submissions /wp-admin/admin.php?page=accua_forms_submissions_list | 1,286 | 2.21 | 33.05 | 28.15 |
Settings /wp-admin/admin.php?page=accua_forms_settings | 2,928 | 10.55 | 198.69 | 213.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie tables were found after uninstall: 3 tables
- wp_accua_forms_submissions_notes
- wp_accua_forms_submissions_values
- wp_accua_forms_submissions
- This plugin did not uninstall successfully, leaving 11 options in the database
- accua_forms_lastid
- accua_form_api_keys
- widget_recent-posts
- accua_forms_avail_fields
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- accua_forms_default_form_data
- accua_forms_db_version
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=accua_forms_add
- > Notice in wp-content/plugins/contact-forms/accua-forms.php+1029
Undefined variable: form_fields_html
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
Almost there! Just fix the following items
- 75× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/contact-forms/accua-forms-list-page.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'Element_Textarea' not found in wp-content/plugins/contact-forms/PFBC/Element/TinyMCE.php:2
- > PHP Fatal error
Uncaught Error: Class 'Element_Textbox' not found in wp-content/plugins/contact-forms/PFBC/Element/Color.php:2
- > PHP Fatal error
Uncaught Error: Class 'PFBCError' not found in wp-content/plugins/contact-forms/PFBC/Error/Standard.php:2
- > PHP Fatal error
Uncaught Error: Class 'Element' not found in wp-content/plugins/contact-forms/classes/Element/FieldsetBegin.php:2
- > PHP Fatal error
Uncaught Error: Class 'Base' not found in wp-content/plugins/contact-forms/PFBC/Validation.php:2
- > PHP Fatal error
Uncaught Error: Class 'Element_Textbox' not found in wp-content/plugins/contact-forms/PFBC/Element/Email.php:2
- > PHP Fatal error
Uncaught Error: Class 'AccuaForm_View_Standard' not found in wp-content/plugins/contact-forms/classes/View/SideBySide.php:2
- > PHP Fatal error
Uncaught Error: Class 'View' not found in wp-content/plugins/contact-forms/PFBC/View/Standard.php:2
- > PHP Fatal error
Uncaught Error: Class 'OptionElement' not found in wp-content/plugins/contact-forms/PFBC/Element/Sort.php:2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 33 tag instead of maximum 10
contact-forms/contact-forms.php Passed 13 tests
This is the main PHP file of "WordPress Contact Forms by Cimatti" version 1.6.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
67 characters long description:
Quickly create and publish forms in your WordPress powered website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin26,234 lines of code in 128 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 84 | 2,108 | 4,120 | 14,026 |
JavaScript | 37 | 2,685 | 2,378 | 10,770 |
PO File | 3 | 460 | 784 | 946 |
CSS | 3 | 84 | 30 | 488 |
make | 1 | 3 | 2 | 4 |
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.37 |
Average class complexity | 19.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 416.00 |
Average method complexity | 4.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 77 | |
▷ Abstract classes | 7 | 9.09% |
▷ Concrete classes | 70 | 90.91% |
▷ Final classes | 0 | 0.00% |
Methods | 428 | |
▷ Static methods | 32 | 7.48% |
▷ Public methods | 407 | 95.09% |
▷ Protected methods | 18 | 4.21% |
▷ Private methods | 3 | 0.70% |
Functions | 79 | |
▷ Named functions | 79 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 69 | |
▷ Global constants | 69 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/cimatti-icon-10.png | 1.21KB | 0.41KB | ▼ 66.42% |
img/cimatti-20-icon.png | 1.48KB | 0.73KB | ▼ 50.49% |
img/cimatti-16-icon.png | 1.32KB | 0.46KB | ▼ 65.48% |
img/cimatti-45-icon.png | 2.15KB | 1.45KB | ▼ 32.55% |
img/cimatti-32-icon.png | 1.72KB | 0.91KB | ▼ 47.10% |