Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼2.67ms] Passed 4 tests
An overview of server-side resources used by Bizzabo
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.23 | 37.62 ▼7.59 |
Dashboard /wp-admin | 3.52 ▲0.21 | 49.15 ▲1.68 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 50.37 ▲4.11 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 102.31 ▼8.86 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 42.97 ▲10.06 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_bizzabo-widget-page |
widget_theysaidso_widget |
widget_recent-comments |
widget_bizzabo-widget-community-tab |
db_upgraded |
can_compress_scripts |
widget_bizzabo-widget-tickets |
widget_bizzabo-widget-agenda |
... |
Browser metrics Passed 4 tests
Bizzabo: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.41 ▼0.92 | 1.72 ▼0.59 | 38.18 ▼5.92 |
Dashboard /wp-admin | 2,206 ▲18 | 4.88 ▼0.01 | 107.65 ▼5.98 | 37.95 ▼7.13 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.04 ▲0.05 | 40.59 ▼4.29 | 34.57 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.52 ▼4.87 | 647.87 ▼10.37 | 52.10 ▼5.98 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.15 ▲0.02 | 110.77 ▲7.90 | 48.48 ▲3.45 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 12 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_bizzabo-widget-community
- widget_theysaidso_widget
- can_compress_scripts
- widget_bizzabo-widget-community-tab
- db_upgraded
- widget_bizzabo-widget-agenda
- widget_bizzabo-widget-page
- ...
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 no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/bizzabo/templates/community.php
- > /wp-content/plugins/bizzabo/templates/page.php
- > /wp-content/plugins/bizzabo/templates/buttons.php
- > /wp-content/plugins/bizzabo/templates/tickets.php
- > /wp-content/plugins/bizzabo/templates/agenda.php
- > /wp-content/plugins/bizzabo/templates/community_tab.php
- 14× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: tab_id in wp-content/plugins/bizzabo/templates/page.php on line 2
- > PHP Notice
Undefined variable: unique_name in wp-content/plugins/bizzabo/templates/agenda.php on line 2
- > PHP Notice
Undefined variable: unique_name in wp-content/plugins/bizzabo/templates/page.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bizzabo/includes/community_tab_widget.php:8
- > PHP Notice
Undefined variable: unique_name in wp-content/plugins/bizzabo/templates/community_tab.php on line 2
- > PHP Notice
Undefined variable: event_id in wp-content/plugins/bizzabo/templates/tickets.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bizzabo/includes/buttons_widget.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bizzabo/includes/community_widget.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bizzabo/bizzabo.php:334
- > PHP Notice
Undefined variable: event_id in wp-content/plugins/bizzabo/templates/community.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: widget, tickets, events, shortcode, bizzabo
bizzabo/bizzabo.php Passed 13 tests
The principal PHP file in "Bizzabo" v. 0.1.3 is loaded by WordPress automatically on each request
55 characters long description:
Easily embed the Bizzabo widgets on your Wordpress site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected778 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 304 | 800 | 728 |
Markdown | 3 | 27 | 0 | 50 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 4.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 12 | 21.43% |
▷ Public methods | 55 | 98.21% |
▷ Protected methods | 1 | 1.79% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 21.24KB | 7.36KB | ▼ 65.37% |
assets/icon-128x128.png | 12.12KB | 4.39KB | ▼ 63.79% |