Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/breezing-forms/breezingforms.php+499
Function create_function() is deprecated
Server metrics [RAM: ▼1.80MB] [CPU: ▼55.96ms] Passed 4 tests
An overview of server-side resources used by Breezing Forms
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.19 ▼1.28 | 5.68 ▼40.81 |
Dashboard /wp-admin | 2.21 ▼1.10 | 7.58 ▼41.89 |
Posts /wp-admin/edit.php | 2.21 ▼1.15 | 8.73 ▼42.50 |
Add New Post /wp-admin/post-new.php | 2.21 ▼3.68 | 7.36 ▼98.63 |
Media Library /wp-admin/upload.php | 2.21 ▼1.02 | 6.24 ▼30.48 |
Configuration /wp-admin/admin.php?page=breezingforms&act=configuration | 2.21 | 6.94 |
Records /wp-admin/admin.php?page=breezingforms&act=recordmanagement | 2.21 | 9.47 |
BreezingForms /wp-admin/admin.php?page=breezingforms | 2.21 | 6.34 |
Scripts /wp-admin/admin.php?page=breezingforms&act=managescripts | 2.21 | 7.24 |
Forms /wp-admin/admin.php?page=breezingforms&act=manageforms | 2.21 | 6.88 |
Pieces /wp-admin/admin.php?page=breezingforms&act=managepieces | 2.21 | 9.16 |
Server storage [IO: ▲14.07MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Just a few items left to fix
- You have illegally modified 163 files (205.03KB) outside of "wp-content/plugins/breezing-forms/" and "wp-content/uploads/"
- (new file) wp-content/breezingforms/downloadtpl/sofort_success.php
- (new file) wp-content/breezingforms/downloadtpl/index.html
- (new file) wp-content/breezingforms/mailtpl/mailtpl.txt.php
- (new file) wp-content/breezingforms/downloadtpl/error.php
- (new file) wp-content/breezingforms/downloadtpl/sofort_download.php
- (new file) wp-content/breezingforms/downloadtpl/download.php
- (new file) wp-content/breezingforms/WPISNEW
- (new file) wp-content/breezingforms/index.html
- (new file) wp-content/breezingforms/mailtpl/index.html
- (new file) wp-content/breezingforms/mailtpl/mailbacktpl.txt.php
- ...
Filesystem: 1,385 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_breezingformswidget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Breezing Forms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,990 ▲229 | 13.43 ▼1.10 | 7.77 ▲5.94 | 40.65 ▼5.80 |
Dashboard /wp-admin | 2,305 ▲125 | 5.58 ▼0.08 | 89.04 ▼2.41 | 72.44 ▲30.94 |
Posts /wp-admin/edit.php | 2,228 ▲128 | 1.98 ▲0.03 | 35.05 ▼6.46 | 32.29 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,636 ▲108 | 23.53 ▲0.41 | 672.15 ▲29.85 | 85.68 ▲32.89 |
Media Library /wp-admin/upload.php | 1,519 ▲119 | 4.21 ▼0.08 | 106.82 ▲1.26 | 77.94 ▲32.42 |
Configuration /wp-admin/admin.php?page=breezingforms&act=configuration | 1,280 | 4.44 | 66.36 | 120.04 |
Records /wp-admin/admin.php?page=breezingforms&act=recordmanagement | 1,391 | 4.47 | 64.50 | 63.28 |
BreezingForms /wp-admin/admin.php?page=breezingforms | 1,388 | 4.27 | 49.16 | 62.42 |
Scripts /wp-admin/admin.php?page=breezingforms&act=managescripts | 1,306 | 4.21 | 46.42 | 59.78 |
Forms /wp-admin/admin.php?page=breezingforms&act=manageforms | 1,338 | 4.28 | 51.58 | 46.72 |
Pieces /wp-admin/admin.php?page=breezingforms&act=managepieces | 1,287 | 4.27 | 49.98 | 47.61 |
Uninstaller [IO: ▲0.20MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/breezing-forms/breezingforms.php+499
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_breezingformswidget
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Deprecated in wp-content/plugins/breezing-forms/breezingforms.php+499
Function create_function() is deprecated
- 48 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Deprecated in wp-content/plugins/breezing-forms/platform/components/com_breezingforms/facileforms.class.php+148
Array and string offset access syntax with curly braces is deprecated
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Warning in wp-content/plugins/breezing-forms/platform/libraries/joomla/session/session.php+801
ini_set(): A session is active. You cannot change the session module's ini settings at this time
- 24 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Notice in wp-content/plugins/breezing-forms/platform/libraries/joomla/language/language.php+1033
Trying to access array offset on value of type null
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Notice in wp-content/plugins/breezing-forms/platform/libraries/joomla/application/component/helper.php+54
Undefined index: com_breezingforms
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Notice in wp-content/plugins/breezing-forms/platform/administrator/includes/application.php+196
Trying to get property 'params' of non-object
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Notice in wp-content/plugins/breezing-forms/platform/libraries/joomla/application/component/helper.php+85
Trying to get property 'enabled' of non-object
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Deprecated in wp-content/plugins/breezing-forms/platform/libraries/joomla/environment/request.php+153
Function get_magic_quotes_gpc() is deprecated
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Deprecated in wp-content/plugins/breezing-forms/platform/components/com_breezingforms/facileforms.class.php+135
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Deprecated in wp-content/plugins/breezing-forms/platform/components/com_breezingforms/facileforms.class.php+265
The each() function is deprecated. This message will be suppressed on further calls
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Warning in wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/install.class.php+103
rmdir(wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/exports): No such file or directory
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Warning in wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/install.class.php+104
rmdir(wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/images/pizzashop): No such file or directory
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Warning in wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/install.class.php+105
rmdir(wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/uploads): No such file or directory
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Warning in wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/install.class.php+106
rmdir(wp-content/plugins/breezing-forms/platform/components/com_breezingforms/admin): No such file or directory
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Warning in wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/install.class.php+107
rmdir(wp-content/plugins/breezing-forms/platform/components/com_breezingforms/images/icons): Directory not empty
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Warning in wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/install.class.php+108
rmdir(wp-content/plugins/breezing-forms/platform/components/com_breezingforms/packages): No such file or directory
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Warning in wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/install.class.php+109
rmdir(wp-content/plugins/breezing-forms/platform/components/com_breezingforms/sql): No such file or directory
- 24 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Warning in wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/install.class.php+80
chmod(): No such file or directory
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 106× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/libraries/crosstec/classes/BFTableElements.php
- > /wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/libraries/tcpdf/include/tcpdf_fonts.php
- > /wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/install.class.php
- > /wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/element.class.php
- > /wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/libraries/salesforce/SforceFieldTypes.php
- > /wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/quickmode-elements-js.php
- > /wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/piece.php
- > /wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/form.html.php
- > /wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/libraries/crosstec/classes/BFQuickModeMobile.php
- > /wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/libraries/salesforce/ProxySettings.php
- 17× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined index: filename in wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/download.php on line 16
- > PHP Notice
Undefined index: HTTP_REFERER in wp-content/plugins/breezing-forms/platform/administrator/components/com_breezingforms/admin/download.php on line 56
- > PHP Warning
Use of undefined constant DB_USER - assumed 'DB_USER' (this will throw an Error in a future version of PHP) in wp-content/plugins/breezing-forms/platform/includes/framework.php on line 56
- > PHP Warning
Use of undefined constant WPLANG - assumed 'WPLANG' (this will throw an Error in a future version of PHP) in wp-content/plugins/breezing-forms/platform/configuration.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/breezing-forms/breezingforms.php:14
- > PHP Warning
Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' (this will throw an Error in a future version of PHP) in wp-content/plugins/breezing-forms/platform/includes/framework.php on line 56
- > PHP Warning
Use of undefined constant WPLANG - assumed 'WPLANG' (this will throw an Error in a future version of PHP) in wp-content/plugins/breezing-forms/platform/configuration.php on line 3
- > PHP Warning
Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/breezing-forms/platform/includes/framework.php on line 56
- > PHP Warning
Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in wp-content/plugins/breezing-forms/platform/includes/framework.php on line 56
- > PHP Warning
Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in wp-content/plugins/breezing-forms/platform/includes/framework.php on line 56
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Javascript (severe) in unknown
/wp-content/plugins/breezing-forms/platform/media/system/js/mootools-more.js?ver=6.3.1 4:10939 Uncaught TypeError: Function.prototype.toString requires that 'this' be a Function
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Javascript (severe) in unknown
/wp-includes/js/dist/i18n.min.js?ver=7701b0c3857f914212ef 1:9103 Uncaught TypeError: Cannot read properties of undefined (reading 'hooks')
- > GET request to /wp-admin/admin.php?page=breezingforms&act=configuration
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=breezingforms&act=configuration 407:0 Uncaught ReferenceError: wp is not defined
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Javascript (severe) in unknown
/wp-admin/js/common.min.js?ver=6.3.1 1:61 Uncaught ReferenceError: wp is not defined
- > GET request to /wp-admin/admin.php?page=breezingforms&act=recordmanagement
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=breezingforms&act=recordmanagement 407:0 Uncaught ReferenceError: wp is not defined
- > GET request to /wp-admin/admin.php?page=breezingforms
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=breezingforms 407:0 Uncaught ReferenceError: wp is not defined
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managescripts
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=breezingforms&act=managescripts 407:0 Uncaught ReferenceError: wp is not defined
- > GET request to /wp-admin/admin.php?page=breezingforms&act=manageforms
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=breezingforms&act=manageforms 407:0 Uncaught ReferenceError: wp is not defined
- > GET request to /wp-admin/admin.php?page=breezingforms&act=managepieces
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=breezingforms&act=managepieces 407:0 Uncaught ReferenceError: wp is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Job application form with "Aqua" form-theme), #2 (Example job application form with "Glossy Blue" form-theme), #3 (Form settings admin), #4 (Sample record with image previews)
breezing-forms/breezingforms.php 92% from 13 tests
"Breezing Forms" version 1.2.8.11's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("breezing-forms.php" instead of "breezingforms.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin210,365 lines of code in 720 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 522 | 19,340 | 63,350 | 136,865 |
JavaScript | 66 | 9,034 | 8,832 | 36,493 |
INI | 45 | 672 | 188 | 15,227 |
XML | 16 | 676 | 111 | 13,522 |
CSS | 65 | 1,603 | 598 | 8,079 |
XSLT | 2 | 11 | 0 | 163 |
HTML | 4 | 0 | 4 | 16 |
PHP code 0% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 4,343)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 498)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 37.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4,343.00 |
Average method complexity | 5.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 498.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 483 | |
▷ Abstract classes | 63 | 13.04% |
▷ Concrete classes | 420 | 86.96% |
▷ Final classes | 4 | 0.95% |
Methods | 3,896 | |
▷ Static methods | 773 | 19.84% |
▷ Public methods | 3,161 | 81.13% |
▷ Protected methods | 696 | 17.86% |
▷ Private methods | 39 | 1.00% |
Functions | 210 | |
▷ Named functions | 208 | 99.05% |
▷ Anonymous functions | 2 | 0.95% |
Constants | 349 | |
▷ Global constants | 273 | 78.22% |
▷ Class constants | 76 | 21.78% |
▷ Public constants | 76 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
382 PNG files occupy 1.76MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
platform/administrator/components/com_breezingforms/images/js/ThemeOffice/config.png | 0.70KB | 0.52KB | ▼ 25.98% |
platform/administrator/components/com_breezingforms/libraries/jquery/themes/easymode/i/icon_static-text.png | 0.34KB | 0.25KB | ▼ 25.79% |
platform/administrator/components/com_breezingforms/libraries/jquery/themes/easymode/i/icon_text-field.png | 0.21KB | 0.14KB | ▼ 34.10% |
platform/components/com_breezingforms/themes/quickmode/glossy_gray/img/bg_fieldset-bl.png | 0.55KB | 0.56KB | 0.00% |
platform/administrator/components/com_breezingforms/libraries/jquery/themes/quickmode/i/icon_calendar.png | 0.25KB | 0.16KB | ▼ 36.78% |