Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼1.67MB] [CPU: ▼46.10ms] Passed 4 tests
A check of server-side resources used by Galaxius Custom Sidebars
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.29 ▼1.16 | 10.11 ▼32.39 |
Dashboard /wp-admin | 2.34 ▼0.96 | 16.91 ▼35.67 |
Posts /wp-admin/edit.php | 2.34 ▼1.01 | 11.33 ▼36.14 |
Add New Post /wp-admin/post-new.php | 2.34 ▼3.54 | 9.98 ▼80.19 |
Media Library /wp-admin/upload.php | 2.34 ▼0.88 | 10.92 ▼25.47 |
Custom Sidebars /wp-admin/options-general.php?page=gxsb_settings | 2.35 | 11.51 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
gxsb_widget_title_class |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
gxsb_widget_class |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Galaxius Custom Sidebars
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.28 ▼1.02 | 1.72 ▲0.00 | 43.98 ▼9.55 |
Dashboard /wp-admin | 2,207 ▲16 | 4.87 ▼0.18 | 94.43 ▼20.32 | 39.53 ▼11.65 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.04 ▲0.05 | 39.76 ▲2.94 | 33.84 ▲1.35 |
Add New Post /wp-admin/post-new.php | 6,475 ▲4,961 | 23.34 ▲5.82 | 838.60 ▲209.50 | 63.38 ▲5.85 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.22 ▼0.03 | 100.13 ▲3.33 | 41.67 ▼1.96 |
Custom Sidebars /wp-admin/options-general.php?page=gxsb_settings | 788 | 2.06 | 24.04 | 25.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- gxsb_widget_title_class
- theysaidso_admin_options
- gxsb_widget_class
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=gxsb_settings
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
- > GET request to /wp-admin/options-general.php?page=gxsb_settings
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.)
- > GET request to /wp-admin/options-general.php?page=gxsb_settings
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Galaxius_Sidebars_Admin::create_admin_page() should not be called statically
- > GET request to /wp-admin/options-general.php?page=gxsb_settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=gxsb_settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: unique, widgets, sidebars, pages, posts...
galaxius-custom-sidebars/galaxius-sidebars.php 92% from 13 tests
The main PHP file in "Galaxius Custom Sidebars" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("galaxius-custom-sidebars.php" instead of "galaxius-sidebars.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected235 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 69 | 83 | 202 |
PO File | 1 | 9 | 8 | 33 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 14 | 93.33% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.67% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin