Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/picklejar-live-for-artists-venues/vendor/composer/ClassLoader.php+483
Use of undefined constant ClassLoader - assumed 'ClassLoader' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.53ms] Passed 4 tests
Analyzing server-side resources used by PickleJar Live for Artists & Venues
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.08 ▼3.90 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.25 ▼3.76 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.31 ▼2.93 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.38 ▼11.51 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.42 ▼1.41 |
Server storage [IO: ▲2.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 101 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by PickleJar Live for Artists & Venues
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.29 ▼1.32 | 1.68 ▼0.41 | 43.21 ▼2.36 |
Dashboard /wp-admin | 2,206 ▲15 | 4.84 ▼0.06 | 103.11 ▲0.03 | 39.32 ▼6.02 |
Posts /wp-admin/edit.php | 2,086 ▼0 | 2.01 ▼0.04 | 33.77 ▼2.57 | 35.04 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.16 ▲0.21 | 631.44 ▼31.65 | 50.82 ▼4.60 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.27 ▲0.12 | 94.91 ▼19.19 | 40.65 ▼8.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Please fix the following items
- 6× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/picklejar-live-for-artists-venues/manager/artist-layout/partials/pj-render-artist-grid-layout-field.php
- > /wp-content/plugins/picklejar-live-for-artists-venues/picklejar-live-for-artists-venues.php
- > /wp-content/plugins/picklejar-live-for-artists-venues/includes/endpoints/login/pj-login-step-1.php
- > /wp-content/plugins/picklejar-live-for-artists-venues/manager/events-layout/partials/pj-render-event-slider-layout-field.php
- > /wp-content/plugins/picklejar-live-for-artists-venues/manager/events-layout/partials/pj-render-event-grid-layout-field.php
- > /wp-content/plugins/picklejar-live-for-artists-venues/manager/artist-layout/partials/pj-render-artist-slider-layout-field.php
- 17× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Picklejar\\Api\\Callbacks\\PJEventsPageCallbacks' not found in wp-content/plugins/picklejar-live-for-artists-venues/manager/events-layout/partials/pj-events-preview.php:13
- > PHP Fatal error
Uncaught Error: Class 'Picklejar\\Api\\Callbacks\\DashboardCallbacks' not found in wp-content/plugins/picklejar-live-for-artists-venues/manager/dashboard/pj-dashboard.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/picklejar-live-for-artists-venues/includes/endpoints/login/pj-login-step-4.php:9
- > PHP Fatal error
Uncaught Error: Class 'Picklejar\\Base\\BaseController' not found in wp-content/plugins/picklejar-live-for-artists-venues/includes/Base/PJEventsCustomPostTypeController.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/picklejar-live-for-artists-venues/includes/endpoints/login/pj-login-step-2.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_send_json() in wp-content/plugins/picklejar-live-for-artists-venues/includes/endpoints/login/pj-login-success.php:11
- > PHP Fatal error
Uncaught Error: Class 'Picklejar\\Api\\Callbacks\\PJArtistPageCallbacks' not found in wp-content/plugins/picklejar-live-for-artists-venues/manager/artist-layout/partials/pj-artist-preview.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/picklejar-live-for-artists-venues/templates/pj-artist-details-template.php:11
- > PHP Fatal error
Uncaught Error: Class 'Picklejar\\Api\\Callbacks\\PJEventsPageCallbacks' not found in wp-content/plugins/picklejar-live-for-artists-venues/manager/events-layout/pj-events-layout.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/picklejar-live-for-artists-venues/templates/pj-event-details-template.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: picklejar, artists, music
picklejar-live-for-artists-venues/picklejar-live-for-artists-venues.php 92% from 13 tests
The main file in "PickleJar Live for Artists & Venues" v. 1.0.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:
- Requires at least: The required version number must match the one declared in readme.txt ("5.0" instead of "5.9")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin28,745 lines of code in 84 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 243 | 358 | 10,586 |
CSS | 4 | 1,297 | 149 | 8,693 |
PHP | 58 | 1,145 | 3,897 | 7,022 |
SVG | 12 | 3 | 6 | 2,079 |
JSON | 1 | 0 | 0 | 308 |
XML | 2 | 0 | 0 | 32 |
PO File | 1 | 6 | 5 | 25 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 22.26 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 164.00 |
Average method complexity | 2.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 1 | 3.70% |
Methods | 313 | |
▷ Static methods | 35 | 11.18% |
▷ Public methods | 279 | 89.14% |
▷ Protected methods | 20 | 6.39% |
▷ Private methods | 14 | 4.47% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 18 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 18 | 100.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.83MB with 0.31MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/pj-logo-white.png | 7.97KB | 4.15KB | ▼ 48.00% |
assets/images/avatar_img.png | 65.85KB | 72.40KB | 0.00% |
assets/images/event_bg_img.png | 213.83KB | 234.26KB | 0.00% |
assets/images/tipnowbutton.png | 209.74KB | 66.57KB | ▼ 68.26% |
assets/images/tip-coming-soon.png | 348.59KB | 107.55KB | ▼ 69.15% |