Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.78MB] [CPU: ▼6.21ms] Passed 4 tests
An overview of server-side resources used by SV Columns Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.74 | 39.18 ▼2.92 |
Dashboard /wp-admin | 4.14 ▲0.79 | 51.43 ▼10.07 |
Posts /wp-admin/edit.php | 4.19 ▲0.83 | 53.07 ▲0.55 |
Add New Post /wp-admin/post-new.php | 6.69 ▲0.81 | 98.19 ▼12.40 |
Media Library /wp-admin/upload.php | 4.00 ▲0.77 | 40.03 ▲0.85 |
SV Columns Manager /wp-admin/admin.php?page=sv_columns_manager | 4.04 | 39.87 |
Info /wp-admin/admin.php?page=straightvisions | 4.08 | 45.14 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 201 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
sv_columns_manager_scripts_settings_sv_core_color_picker_attached |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
sv_columns_manager_scripts_settings_flush_css_cache |
widget_theysaidso_widget |
sv_columns_manager_scripts_settings_css_sv_columns_manager_sv_columns_manager_scripts_wrapper_attached |
sv_columns_manager_scripts_settings_css_sv_columns_manager_sv_columns_manager_scripts_config_attached |
Browser metrics Passed 4 tests
An overview of browser requirements for SV Columns Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,923 ▲162 | 14.24 ▼0.13 | 2.05 ▲0.03 | 42.72 ▲2.48 |
Dashboard /wp-admin | 2,327 ▲147 | 5.60 ▼0.05 | 84.33 ▼5.93 | 85.71 ▲42.56 |
Posts /wp-admin/edit.php | 2,235 ▲135 | 2.00 ▼0.02 | 38.68 ▼7.33 | 34.78 ▼0.09 |
Add New Post /wp-admin/post-new.php | 6,329 ▲4,650 | 19.45 ▼2.95 | 1,028.91 ▲354.05 | 42.56 ▼9.91 |
Media Library /wp-admin/upload.php | 1,535 ▲135 | 4.22 ▲0.03 | 98.30 ▼6.66 | 74.46 ▲27.53 |
SV Columns Manager /wp-admin/admin.php?page=sv_columns_manager | 1,546 | 10.53 | 180.42 | 35.40 |
Info /wp-admin/admin.php?page=straightvisions | 1,583 | 10.65 | 83.96 | 170.14 |
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
These items require your attention
- The uninstall procedure has failed, leaving 10 options in the database
- db_upgraded
- sv_columns_manager_scripts_settings_sv_core_color_picker_attached
- widget_theysaidso_widget
- sv_columns_manager_scripts_settings_flush_css_cache
- can_compress_scripts
- sv_columns_manager_scripts_settings_css_sv_columns_manager_sv_columns_manager_scripts_config_attached
- sv_columns_manager_scripts_settings_css_sv_columns_manager_sv_columns_manager_scripts_wrapper_attached
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/sv-columns-manager/src/lib/modules/sv_columns_manager/lib/frontend/css/alignment.php
- > /wp-content/plugins/sv-columns-manager/src/lib/modules/sv_columns_manager/lib/frontend/css/alignment_margin.php
- > /wp-content/plugins/sv-columns-manager/src/core_plugin/core/settings/tpl/setting_checkbox_field.php
- 325× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: props in wp-content/plugins/sv-columns-manager/src/core_plugin/core/settings/tpl/setting_font_tpl/font_weight.php on line 1
- > PHP Notice
Undefined variable: props in wp-content/plugins/sv-columns-manager/src/core_plugin/core/settings/tpl/setting_margin_field.php on line 20
- > PHP Notice
Undefined variable: gap in wp-content/plugins/sv-columns-manager/src/lib/modules/sv_columns_manager/lib/frontend/css/alignment_margin.php on line 190
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/sv-columns-manager/src/core_plugin/core/settings/tpl/setting_font_tpl/font_family.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sv-columns-manager/src/lib/modules/sv_columns_manager/lib/frontend/css/alignment_margin.php on line 2
- > PHP Notice
Undefined variable: gap in wp-content/plugins/sv-columns-manager/src/lib/modules/sv_columns_manager/lib/frontend/css/alignment_margin.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/sv-columns-manager/src/core_plugin/core/backend/tpl/about.php:1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sv-columns-manager/src/core_plugin/core/settings/tpl/setting_text.php on line 5
- > PHP Notice
Undefined variable: props in wp-content/plugins/sv-columns-manager/src/core_plugin/core/settings/tpl/setting_text.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sv-columns-manager/src/core_plugin/core/settings/tpl/setting_date.php on line 6
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Step 1: Select SV Columns Manager Block), #2 (Step 2: Drag your Columns Block in), #3 (Step 3: Configure to your needs)
sv-columns-manager/sv_columns_manager.php 85% from 13 tests
The main file in "SV Columns Manager" v. 2.0.00 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: It is recommended to name the main PHP file as the plugin slug ("sv-columns-manager.php" instead of "sv_columns_manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin18,331 lines of code in 174 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 7,203 |
PHP | 99 | 1,170 | 1,421 | 5,533 |
CSS | 32 | 289 | 90 | 2,852 |
JavaScript | 32 | 252 | 171 | 1,187 |
PO File | 2 | 407 | 650 | 786 |
SVG | 2 | 0 | 0 | 585 |
Sass | 2 | 41 | 1 | 183 |
Markdown | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 18.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 145.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 1 | 2.63% |
▷ Concrete classes | 37 | 97.37% |
▷ Final classes | 0 | 0.00% |
Methods | 444 | |
▷ Static methods | 8 | 1.80% |
▷ Public methods | 390 | 87.84% |
▷ Protected methods | 28 | 6.31% |
▷ Private methods | 26 | 5.86% |
Functions | 18 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 18 | 100.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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