Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲2.00MB] [CPU: ▲0.56ms] Passed 4 tests
A check of server-side resources used by Wavenami Ticketing, Symposiums, Application Forms & Mapping
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.39 ▲1.92 | 52.57 ▲11.03 |
Dashboard /wp-admin | 5.41 ▲2.06 | 50.88 ▼13.04 |
Posts /wp-admin/edit.php | 5.41 ▲2.05 | 53.57 ▲9.44 |
Add New Post /wp-admin/post-new.php | 7.84 ▲1.94 | 83.34 ▼3.93 |
Media Library /wp-admin/upload.php | 5.41 ▲2.18 | 42.60 ▲9.77 |
Wavenami /wp-admin/options-general.php?page=wavenami_plugin_options | 5.42 | 38.66 |
Server storage [IO: ▲8.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 390 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
wvnmi_account_information |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Wavenami Ticketing, Symposiums, Application Forms & Mapping
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲39 | 14.15 ▼0.18 | 1.88 ▲0.16 | 45.01 ▲1.42 |
Dashboard /wp-admin | 2,209 ▲34 | 5.64 ▲0.09 | 92.23 ▼25.11 | 39.98 ▼5.28 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.04 ▲0.10 | 40.84 ▲5.52 | 35.60 ▲1.06 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 25.09 ▲1.77 | 640.96 ▼49.29 | 66.40 ▲4.24 |
Media Library /wp-admin/upload.php | 1,411 ▲17 | 4.17 ▲0.01 | 101.53 ▲4.52 | 40.81 ▼3.02 |
Wavenami /wp-admin/options-general.php?page=wavenami_plugin_options | 870 | 1.64 | 25.12 | 25.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% 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
- > GET request to /wp-admin/options-general.php?page=wavenami_plugin_options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wavenami_plugin_options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wavenami-forms-and-mapping/src/assets/wavenami-theme-override/page.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/wavenami-forms-and-mapping/wavenami-template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/wavenami-forms-and-mapping/src/assets/wavenami-theme-override/header.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/wavenami-forms-and-mapping/src/assets/wavenami-theme-override/entry.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wavenami-forms-and-mapping/src/assets/wavenami-theme-override/functions.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wavenami-forms-and-mapping/src/assets/wavenami-theme-override/index.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/wavenami-forms-and-mapping/src/assets/wavenami-theme-override/footer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wavenami-forms-and-mapping/src/assets/wavenami-theme-override/404.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wavenami-forms-and-mapping/src/assets/wavenami-theme-override/single.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% 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 require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Get your private API key from Wavenami.com), #2 (Add your API key to the Wavenami API Settings.), #3 (Access your event form shortcodes on the Shortcode tab.), #4 (Insert your shortcode into a blank Page (not a Post) and select the Wavenami template for display.), #5 (Your vendor registration form will be displayed on your page.), #6 (Forms are mobile friendly for tablets and smartphones.), #7 (Document uploads are handled automatically based on vendor type.), #8 (Applicants can select the venue location or booth they want.), #9 (Vendor amenities are selectable, including venue setup location.), #10 (Event terms are displayed for them to sign off on.), #11 (e-Signatures can be made from desktops, tables or phones.), #12 (Payments can be made based on your payment preferences.)
wavenami-forms-and-mapping/wavenami-wordpress-client.php 85% from 13 tests
The main file in "Wavenami Ticketing, Symposiums, Application Forms & Mapping" v. 1.0.10 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: The principal plugin file should be the same as the plugin slug ("wavenami-forms-and-mapping.php" instead of "wavenami-wordpress-client.php")
- Requires at least: The required version number must match the one declared in readme.txt ("6.0" instead of "5.4")
Code Analysis 95% from 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
No dangerous file extensions were detected80,898 lines of code in 313 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 185 | 7,379 | 5,473 | 39,839 |
CSS | 66 | 2,074 | 784 | 25,722 |
PHP | 19 | 2,419 | 1,800 | 9,078 |
JSON | 2 | 0 | 0 | 2,481 |
Sass | 4 | 147 | 70 | 1,997 |
SVG | 34 | 0 | 29 | 1,395 |
Markdown | 2 | 107 | 0 | 359 |
Mustache | 1 | 5 | 0 | 27 |
PHP code 0% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 1,381)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 153)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 149.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,381.00 |
Average method complexity | 10.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 153.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 164 | |
▷ Static methods | 5 | 3.05% |
▷ Public methods | 57 | 34.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 107 | 65.24% |
Functions | 34 | |
▷ Named functions | 31 | 91.18% |
▷ Anonymous functions | 3 | 8.82% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
32 compressed PNG files occupy 0.50MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
front-end/assets/img/authorizenet_secure90x72.png | 2.83KB | 2.10KB | ▼ 25.85% |
front-end/assets/img/stripe1.png | 9.26KB | 9.53KB | 0.00% |
front-end/assets/img/icons/amex.png | 1.92KB | 1.64KB | ▼ 14.70% |
front-end/assets/img/icons/visa.png | 1.66KB | 1.57KB | ▼ 5.70% |
front-end/assets/chosen/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |