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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▲0.70ms] Passed 4 tests
An overview of server-side resources used by Events Calendar GForms Registration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 43.92 ▼1.54 |
Dashboard /wp-admin | 3.31 ▲0.00 | 49.40 ▲1.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 52.00 ▲2.54 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.52 ▲0.01 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.56 ▲2.49 |
Server storage [IO: ▲3.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 502 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Events Calendar GForms Registration
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.77 ▲0.24 | 2.09 ▲0.34 | 47.89 ▲0.48 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▲0.07 | 86.07 ▼6.77 | 38.01 ▼5.91 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.94 ▼0.05 | 39.68 ▲2.89 | 35.78 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.24 ▲0.06 | 688.80 ▲5.95 | 57.86 ▲0.88 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▲0.07 | 98.80 ▼13.20 | 42.60 ▼2.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
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
Even though no errors were found, 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
- 147× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ecgf-registration/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ecgf-registration/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/ecgf-registration/vendor/CMB2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\Test\\TestCase' not found in wp-content/plugins/ecgf-registration/vendor/composer/installers/tests/Composer/Installers/Test/BitrixInstallerTest.php:15
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ecgf-registration/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ecgf-registration/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ecgf-registration/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php:4
- > PHP Fatal error
require_once(): Failed opening required '/tmp/wordpress-tests-lib/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/ecgf-registration/tests/bootstrap.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function cmb2_dir() in wp-content/plugins/ecgf-registration/vendor/CMB2/includes/rest-api/CMB2_REST_Controller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/ecgf-registration/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: event registration, gravity forms, event register, events calendar, the events calendar
ecgf-registration/events-calendar-gforms-registration.php 77% from 13 tests
The main file in "Events Calendar GForms Registration" v. 0.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ecgf-registration.php" instead of "events-calendar-gforms-registration.php")
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin50,943 lines of code in 346 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 13,782 | 17,882 | 31,544 |
PHP | 175 | 2,713 | 6,855 | 10,730 |
CSS | 13 | 1,133 | 1,168 | 4,965 |
Sass | 15 | 291 | 25 | 1,330 |
JavaScript | 5 | 254 | 273 | 945 |
Markdown | 8 | 260 | 0 | 909 |
JSON | 3 | 0 | 0 | 315 |
Bourne Shell | 1 | 21 | 7 | 99 |
YAML | 3 | 15 | 1 | 61 |
XML | 3 | 4 | 0 | 45 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 8.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 175.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 176 | |
▷ Abstract classes | 10 | 5.68% |
▷ Concrete classes | 166 | 94.32% |
▷ Final classes | 0 | 0.00% |
Methods | 685 | |
▷ Static methods | 81 | 11.82% |
▷ Public methods | 558 | 81.46% |
▷ Protected methods | 119 | 17.37% |
▷ Private methods | 8 | 1.17% |
Functions | 63 | |
▷ Named functions | 57 | 90.48% |
▷ Anonymous functions | 6 | 9.52% |
Constants | 18 | |
▷ Global constants | 8 | 44.44% |
▷ Class constants | 10 | 55.56% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 compressed PNG files occupy 0.17MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/CMB2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
vendor/CMB2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
vendor/CMB2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
vendor/CMB2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
vendor/CMB2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |