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
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼9.65ms] Passed 4 tests
Server-side resources used by Bandsintown Events
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 41.33 ▲4.13 |
Dashboard /wp-admin | 3.37 ▲0.02 | 49.14 ▼38.72 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.57 ▼4.02 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 95.46 ▲0.01 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.48 ▲6.33 |
Bandsintown Events /wp-admin/options-general.php?page=bandsintown-settings | 3.24 | 34.06 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_bandsintown_js_widget |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Bandsintown Events
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 16.09 ▲1.71 | 38.45 ▲36.74 | 45.96 ▲3.90 |
Dashboard /wp-admin | 2,199 ▲18 | 5.60 ▼0.07 | 93.10 ▼34.13 | 43.52 ▼6.79 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.01 ▲0.01 | 45.78 ▲7.61 | 34.41 ▲0.41 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 23.16 ▼0.03 | 686.33 ▲11.37 | 49.69 ▼4.74 |
Media Library /wp-admin/upload.php | 1,398 ▲4 | 4.21 ▼0.05 | 97.16 ▼4.15 | 43.20 ▼2.82 |
Bandsintown Events /wp-admin/options-general.php?page=bandsintown-settings | 949 | 4.60 | 60.72 | 31.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_bandsintown_js_widget
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% 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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bandsintown-settings
- > Notice in wp-content/plugins/bandsintown/bandsintown.php+77
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=bandsintown-settings
- > Notice in wp-content/plugins/bandsintown/bandsintown.php+83
Undefined index: background_color
- > GET request to /wp-admin/options-general.php?page=bandsintown-settings
- > Notice in wp-content/plugins/bandsintown/bandsintown.php+89
Undefined index: button_and_link_color
- > GET request to /wp-admin/options-general.php?page=bandsintown-settings
- > Notice in wp-content/plugins/bandsintown/bandsintown.php+95
Undefined index: link_text_color
- > GET request to /wp-admin/options-general.php?page=bandsintown-settings
- > Notice in wp-content/plugins/bandsintown/bandsintown.php+101
Undefined index: display_limit
- > GET request to /wp-admin/options-general.php?page=bandsintown-settings
- > Notice in wp-content/plugins/bandsintown/bandsintown.php+108
Undefined index: custom_css
- > GET request to /wp-admin/options-general.php?page=bandsintown-settings
- > Notice in wp-content/plugins/bandsintown/bandsintown.php+117
Undefined index: artist
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bandsintown/views/widget-form.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bandsintown/bandsintown.php:278
- > PHP Fatal error
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 96% from 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
4 plugin tags: bandsintown, events, tour dates, concerts
bandsintown/bandsintown.php 92% from 13 tests
The entry point to "Bandsintown Events" version 1.3.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 258 characters long)
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
Good job! No executable or dangerous file extensions detected448 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 41 | 23 | 300 |
CSS | 1 | 23 | 1 | 148 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
favicon.png | 0.46KB | 0.41KB | ▼ 10.99% |