Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.56MB] [CPU: ▼124.68ms] Passed 4 tests
A check of server-side resources used by Venture Event Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.39 ▲3.56 | 48.97 ▲14.59 |
Dashboard /wp-admin | 6.68 ▲3.62 | 68.41 ▲17.38 |
Posts /wp-admin/edit.php | 6.75 ▲3.64 | 64.85 ▲17.66 |
Add New Post /wp-admin/post-new.php | 8.96 ▲3.52 | 109.35 ▼548.34 |
Media Library /wp-admin/upload.php | 6.54 ▲3.53 | 54.34 ▲20.76 |
Add New /wp-admin/post-new.php?post_type=event_transcript | 6.72 | 66.26 |
All Events /wp-admin/edit.php?post_type=event | 6.69 | 56.76 |
All Event Transcripts /wp-admin/edit.php?post_type=event_transcript | 6.69 | 55.24 |
Venture Options /wp-admin/admin.php?page=venture-options | 6.62 | 51.55 |
Add New /wp-admin/post-new.php?post_type=event_calendar | 6.68 | 75.62 |
Occurrence Categories /wp-admin/edit-tags.php?taxonomy=occurrence_category | 6.63 | 53.96 |
All Event Calendars /wp-admin/edit.php?post_type=event_calendar | 6.69 | 56.75 |
Layouts /wp-admin/admin.php?page=venture-options-layouts | 6.62 | 50.18 |
Add New Event /wp-admin/post-new.php?post_type=event | 6.78 | 86.19 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=event | 6.63 | 54.29 |
Server storage [IO: ▲3.32MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 259 new files
Database: 2 new tables, 3 new options
New tables |
---|
wp_vem_event_dates |
wp_vem_date_terms |
New WordPress options |
---|
widget_who_what_where_widget |
vem-last-welcome |
vem-db-version |
Browser metrics Passed 4 tests
Checking browser requirements for Venture Event Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,153 ▲557 | 17.72 ▲2.12 | 13.09 ▲3.71 | 46.06 ▼3.37 |
Dashboard /wp-admin | 3,411 ▲477 | 8.29 ▲2.12 | 177.39 ▲16.26 | 105.88 ▼6.41 |
Posts /wp-admin/edit.php | 3,210 ▲471 | 4.20 ▲1.49 | 94.12 ▲25.54 | 85.12 ▼3.39 |
Add New Post /wp-admin/post-new.php | 1,783 ▲100 | 13.76 ▼4.50 | 274.81 ▼137.51 | 114.39 ▲0.97 |
Media Library /wp-admin/upload.php | 2,053 ▲243 | 4.92 ▼0.10 | 121.02 ▼27.41 | 117.27 ▲2.09 |
Add New /wp-admin/post-new.php?post_type=event_transcript | 3,314 | 9.28 | 234.83 | 139.81 |
All Events /wp-admin/edit.php?post_type=event | 1,910 | 4.40 | 91.88 | 69.11 |
All Event Transcripts /wp-admin/edit.php?post_type=event_transcript | 1,877 | 4.39 | 87.78 | 76.28 |
Venture Options /wp-admin/admin.php?page=venture-options | 2,122 | 4.24 | 100.59 | 79.04 |
Add New /wp-admin/post-new.php?post_type=event_calendar | 3,645 | 5.58 | 130.53 | 104.16 |
Occurrence Categories /wp-admin/edit-tags.php?taxonomy=occurrence_category | 2,239 | 4.54 | 83.24 | 78.87 |
All Event Calendars /wp-admin/edit.php?post_type=event_calendar | 1,891 | 4.39 | 91.32 | 71.44 |
Layouts /wp-admin/admin.php?page=venture-options-layouts | 1,857 | 4.30 | 93.26 | 97.37 |
Add New Event /wp-admin/post-new.php?post_type=event | 5,544 | 8.90 | 260.11 | 159.32 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=event | 2,300 | 4.52 | 88.47 | 79.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 50% 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
- Zombie tables were found after uninstall: 2 tables
- wp_vem_event_dates
- wp_vem_date_terms
- Zombie WordPress options were found after uninstall: 3 options
- vem-last-welcome
- widget_who_what_where_widget
- vem-db-version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 7× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/venture-event-manager/templates/occurrence-action-bar.php
- > /wp-content/plugins/venture-event-manager/templates/gsd-schema.php
- > /wp-content/plugins/venture-event-manager/templates/gsd-location-place.php
- > /wp-content/plugins/venture-event-manager/templates/gsd-location-online.php
- > /wp-content/plugins/venture-event-manager/classes/welcome/welcome.php
- > /wp-content/plugins/venture-event-manager/templates/one-occurrence.php
- > /wp-content/plugins/venture-event-manager/classes/welcome/welcome-pro.php
- 170× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/venture-event-manager/templates/one-occurrence.php on line 119
- > PHP Fatal error
Uncaught Error: Class 'VentureHelpBase' not found in wp-content/plugins/venture-event-manager/classes/help/class-help-EventCalendarEditor.php:3
- > PHP Notice
Undefined variable: data in wp-content/plugins/venture-event-manager/templates/gsd-location-place.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/venture-event-manager/templates/one-occurrence.php on line 12
- > PHP Notice
Undefined variable: data in wp-content/plugins/venture-event-manager/templates/one-occurrence.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/venture-event-manager/templates/one-occurrence.php on line 2
- > PHP Notice
Undefined variable: data in wp-content/plugins/venture-event-manager/templates/one-occurrence.php on line 48
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/venture-event-manager/templates/gsd-schema.php on line 6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/venture-event-manager/templates/one-occurrence.php on line 104
- > PHP Notice
Undefined variable: data in wp-content/plugins/venture-event-manager/templates/one-occurrence.php on line 121
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #4, #5, #6, #7, #8, #9 in venture-event-manager/assets to your readme.txt
- Requires php: Invalid version format
venture-event-manager/event-manager.php 85% from 13 tests
Analyzing the main PHP file in "Venture Event Manager" version 3.2.5
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 145 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("venture-event-manager.php" instead of "event-manager.php")
Code Analysis 97% from 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 plugin22,921 lines of code in 221 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 91 | 2,881 | 3,120 | 16,056 |
JavaScript | 100 | 432 | 457 | 3,211 |
CSS | 18 | 192 | 224 | 2,407 |
PO File | 9 | 218 | 275 | 663 |
Markdown | 2 | 138 | 0 | 556 |
JSON | 1 | 0 | 0 | 28 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
The following items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 104)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 22.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 446.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 104.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 106 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 106 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 722 | |
▷ Static methods | 26 | 3.60% |
▷ Public methods | 520 | 72.02% |
▷ Protected methods | 188 | 26.04% |
▷ Private methods | 14 | 1.94% |
Functions | 33 | |
▷ Named functions | 29 | 87.88% |
▷ Anonymous functions | 4 | 12.12% |
Constants | 23 | |
▷ Global constants | 11 | 47.83% |
▷ Class constants | 12 | 52.17% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
18 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-icons_8e8e93_0.png | 9.28KB | 4.76KB | ▼ 48.71% |
css/images/ui-bg_flat_75_999999_40x100.png | 0.21KB | 0.08KB | ▼ 60.45% |
css/images/ui-bg_flat_100_eeeeee_40x100.png | 0.21KB | 0.08KB | ▼ 60.45% |
css/images/ui-bg_flat_55_ebf7fd_40x100.png | 0.20KB | 0.08KB | ▼ 57.77% |
css/images/ui-icons_999999_256x240.png | 6.82KB | 4.17KB | ▼ 38.81% |