Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/recordbrowser/functions/sidebarwidget.php+7
Undefined index: rbreload
Server metrics [RAM: ▲0.34MB] [CPU: ▼2.82ms] Passed 4 tests
Server-side resources used by Recordbrowser
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.99 ▲0.52 | 44.84 ▼0.68 |
Dashboard /wp-admin | 3.63 ▲0.33 | 53.63 ▲0.11 |
Posts /wp-admin/edit.php | 3.75 ▲0.39 | 53.53 ▼0.41 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 90.20 ▼10.28 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 39.89 ▲3.42 |
Delete Records /wp-admin/admin.php?page=recordbrowserdelete | 3.53 | 37.69 |
Edit Records /wp-admin/admin.php?page=recordbrowseredit | 3.53 | 37.19 |
Add New Record /wp-admin/admin.php?page=recordbrowseradd | 3.52 | 36.13 |
Settings /wp-admin/admin.php?page=recordbrowsersettings | 3.52 | 35.00 |
Help /wp-admin/admin.php?page=recordbrowserhelp | 3.52 | 35.32 |
Server storage [IO: ▲0.98MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 36 new files
Database: 2 new tables, 8 new options
New tables |
---|
wp_recordbrowser_records |
wp_recordbrowser_tracks |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_recordbrowser_slider_widget |
recordbrowser_options |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Recordbrowser
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲211 | 13.88 ▼0.37 | 8.95 ▲7.18 | 39.86 ▼4.43 |
Dashboard /wp-admin | 2,238 ▲64 | 5.58 ▲0.04 | 85.09 ▼11.63 | 36.85 ▼17.66 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 2.01 ▲0.05 | 36.56 ▼1.39 | 37.95 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.19 ▲0.04 | 701.17 ▲14.29 | 57.87 ▼11.33 |
Media Library /wp-admin/upload.php | 1,444 ▲41 | 4.26 ▲0.12 | 97.49 ▼1.84 | 44.31 ▼0.62 |
Delete Records /wp-admin/admin.php?page=recordbrowserdelete | 816 | 2.04 | 24.19 | 27.27 |
Edit Records /wp-admin/admin.php?page=recordbrowseredit | 812 | 2.04 | 24.43 | 26.48 |
Add New Record /wp-admin/admin.php?page=recordbrowseradd | 995 | 1.69 | 23.15 | 33.60 |
Settings /wp-admin/admin.php?page=recordbrowsersettings | 916 | 1.70 | 24.40 | 26.84 |
Help /wp-admin/admin.php?page=recordbrowserhelp | 977 | 2.04 | 24.16 | 29.21 |
Uninstaller [IO: ▲0.51MB] [DB: ▲0.02MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/recordbrowser/functions/sidebarwidget.php+7
Undefined index: rbreload
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_recordbrowser_records
- wp_recordbrowser_tracks
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- widget_recordbrowser_slider_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- recordbrowser_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 7× PHP files output text when accessed directly:
- > /wp-content/plugins/recordbrowser/classes/Recordbrowser_Slider.php
- > /wp-content/plugins/recordbrowser/functions/install.php
- > /wp-content/plugins/recordbrowser/functions/delete_record.php
- > /wp-content/plugins/recordbrowser/recordbrowser.php
- > /wp-content/plugins/recordbrowser/functions/display_single.php
- > /wp-content/plugins/recordbrowser/functions/settings.php
- > /wp-content/plugins/recordbrowser/functions/display_all.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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: music collecting, music, discography
recordbrowser/recordbrowser.php 92% from 13 tests
The primary PHP file in "Recordbrowser" version 1.1.7 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Requires at least: Required version does not match the one declared in readme.txt ("4.7.4" instead of "3.7.3")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin12,498 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 24 | 0 | 9,394 |
PHP | 11 | 396 | 122 | 2,218 |
LESS | 5 | 79 | 116 | 434 |
SVG | 1 | 0 | 0 | 288 |
HTML | 1 | 1 | 0 | 77 |
JSON | 2 | 0 | 0 | 50 |
JavaScript | 1 | 12 | 2 | 21 |
Markdown | 1 | 6 | 0 | 16 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 5.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 35 | |
▷ Named functions | 35 | 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
There are no PNG files in this plugin