Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/uvwpintegrations/uvcore/uvcore.functions.php+1223
Undefined variable: f_money
Server metrics [RAM: ▼1.58MB] [CPU: ▼47.24ms] Passed 4 tests
An overview of server-side resources used by UrVenue
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.41 ▼1.05 | 8.61 ▼32.29 |
Dashboard /wp-admin | 2.43 ▼0.87 | 11.46 ▼40.01 |
Posts /wp-admin/edit.php | 2.43 ▼0.93 | 10.34 ▼39.28 |
Add New Post /wp-admin/post-new.php | 2.43 ▼3.46 | 10.05 ▼77.37 |
Media Library /wp-admin/upload.php | 2.43 ▼0.80 | 8.61 ▼25.66 |
UrVenue Settings /wp-admin/options-general.php?page=urvenue_settings | 2.43 | 10.35 |
Server storage [IO: ▲1.67MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 60 new files
Database: no new tables, 14 new options
New WordPress options |
---|
can_compress_scripts |
uvwp_mapreqid |
widget_recent-comments |
uvwp_regveaid |
uvwp_uvvenueid |
widget_theysaidso_widget |
db_upgraded |
uvwp_venuemarketarea |
uvwp_venuename |
uvwp_uvserver |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for UrVenue
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲205 | 14.18 ▼0.20 | 11.17 ▲9.38 | 45.46 ▼0.82 |
Dashboard /wp-admin | 2,213 ▲28 | 4.88 ▼0.04 | 102.80 ▼22.02 | 38.18 ▼6.30 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.06 | 40.59 ▲6.23 | 34.67 ▲2.87 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 23.44 ▲0.43 | 621.23 ▼43.05 | 57.21 ▼2.13 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.22 ▼0.03 | 95.06 ▼4.27 | 42.95 ▼1.36 |
UrVenue Settings /wp-admin/options-general.php?page=urvenue_settings | 888 | 2.04 | 23.08 | 33.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/uvwpintegrations/uvcore/uvcore.functions.php+1223
Undefined variable: f_money
- This plugin does not fully uninstall, leaving 14 options in the database
- db_upgraded
- widget_recent-posts
- uvwp_venuename
- uvwp_wbcode
- uvwp_uvvenueid
- uvwp_regveaid
- widget_recent-comments
- uvwp_venuemarketarea
- widget_theysaidso_widget
- can_compress_scripts
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=urvenue_settings
- > Notice in wp-content/plugins/uvwpintegrations/uvcore/uvcore.functions.php+1223
Undefined variable: f_money
- > GET request to /wp-admin/options-general.php?page=urvenue_settings
- > Notice in wp-content/plugins/uvwpintegrations/uvwp.functions.php+98
Undefined variable: uvwp_uvvenueid
- > GET request to /wp-admin/options-general.php?page=urvenue_settings
- > Notice in wp-content/plugins/uvwpintegrations/uvwp.functions.php+98
Undefined variable: uvwp_uvserver
- > GET request to /wp-admin/options-general.php?page=urvenue_settings
- > Notice in wp-content/plugins/uvwpintegrations/uvwp.functions.php+243
Undefined variable: uvrestypeshtml
- > GET request to /wp-admin/options-general.php?page=urvenue_settings
- > Notice in wp-content/plugins/uvwpintegrations/uvwp.functions.php+102
Undefined variable: uvwpvenueinfocard
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 fix the following
- 17× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/uvwpintegrations/uvcore/itemstemplates/event.birthdaylist.php
- > /wp-content/plugins/uvwpintegrations/uvcore/uvmap/map.commingsoon.php
- > /wp-content/plugins/uvwpintegrations/uvcore/uvmap/uvmap.php
- > /wp-content/plugins/uvwpintegrations/uvcore/itemstemplates/event.freeguestlist.php
- > /wp-content/plugins/uvwpintegrations/uvcore/itemstemplates/event.freelist.php
- > /wp-content/plugins/uvwpintegrations/uvcore/itemstemplates/event.bachelorettelist.php
- > /wp-content/plugins/uvwpintegrations/uvcore/itemstemplates/event.bachelorlist.php
- > /wp-content/plugins/uvwpintegrations/uvcore/itemstemplates/event.bottleservicelist.php
- > /wp-content/plugins/uvwpintegrations/uvcore/templates/3dmap.default.php
- > /wp-content/plugins/uvwpintegrations/uvcore/itemstemplates/event.packages.php
- 93× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: bacheloretteitems in wp-content/plugins/uvwpintegrations/uvcore/itemstemplates/event.bachelorettelist.php on line 13
- > PHP Warning
include_once(): Failed opening '/uvmap/uvmap.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/uvwpintegrations/uvcore/templates/3dmap.default.php on line 7
- > PHP Notice
Undefined variable: uv_corepath in wp-content/plugins/uvwpintegrations/uvcore/templates/3dmap.default.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/uvwpintegrations/uvcore/libs/forms.lib.php on line 12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/uvwpintegrations/uvcore/libs/uvmap.lib.php on line 6
- > PHP Notice
Undefined index: uvpkrm in wp-content/plugins/uvwpintegrations/uvcore/loads/uvpackage.pop.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function uv_calendar_get_month() in wp-content/plugins/uvwpintegrations/uvcore/loads/uvcmonth.load.php:8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/uvwpintegrations/uvcore/templates/event.vars.php on line 7
- > PHP Notice
Undefined variable: uvlib_global in wp-content/plugins/uvwpintegrations/uvcore/templates/event.vars.php on line 7
- > PHP Notice
Undefined variable: diningitems in wp-content/plugins/uvwpintegrations/uvcore/itemstemplates/event.dininglist.php on line 13
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: nightclub, bar, calendar, event, events...
uvwpintegrations/uvwpintegrations.php Passed 13 tests
This is the main PHP file of "UrVenue" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
25 characters long description:
UrVenue Wordpress plugin.
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
Everything looks great! No dangerous files found in this plugin9,927 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 39 | 748 | 355 | 3,023 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 4 | 277 | 292 | 2,207 |
CSS | 3 | 26 | 12 | 2,026 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 108.00 |
▷ Minimum class complexity | 108.00 |
▷ Maximum class complexity | 108.00 |
Average method complexity | 5.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 92.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.00% |
Functions | 61 | |
▷ Named functions | 61 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.26MB with 0.13MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
uvcore/assets/banner-772x250.png | 254.93KB | 85.52KB | ▼ 66.45% |
uvcore/assets/images/poweredby.png | 11.00KB | 6.00KB | ▼ 45.48% |
uvcore/assets/images/bg.calendardate.png | 0.77KB | 0.46KB | ▼ 40.61% |