Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/simple-side-tab/includes/class-simple-side-tab-options.php+58
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.21ms] Passed 4 tests
An overview of server-side resources used by Simple Side Tab
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.99 ▼3.39 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.58 ▼6.57 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.56 ▲8.92 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.88 ▼7.99 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.01 ▲1.10 |
Simple Side Tab /wp-admin/options-general.php?page=rum_simple_side_tab | 3.28 | 43.71 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
rum_sst_plugin_options |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Side Tab
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.22 ▲0.05 | 1.48 ▼0.18 | 41.01 ▼1.98 |
Dashboard /wp-admin | 2,199 ▲28 | 5.60 ▼0.08 | 97.68 ▼1.93 | 39.98 ▼4.43 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▼0.00 | 37.56 ▲1.25 | 35.50 ▼0.70 |
Add New Post /wp-admin/post-new.php | 1,538 ▲3 | 25.20 ▲1.84 | 591.75 ▼105.43 | 59.71 ▲5.01 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.20 ▼0.01 | 98.61 ▼3.22 | 41.45 ▼3.03 |
Simple Side Tab /wp-admin/options-general.php?page=rum_simple_side_tab | 1,328 | 2.47 | 69.26 | 36.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/simple-side-tab/admin/partials/sidebar.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant SIMPLE_SIDE_TAB_VERSION - assumed 'SIMPLE_SIDE_TAB_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/simple-side-tab/public/partials/dynamic-css.php on line 15
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/simple-side-tab/admin/partials/settings-page.php:19
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/simple-side-tab/public/partials/dynamic-css.php:17
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #2 in simple-side-tab/assets to your readme.txt
simple-side-tab/simple_side_tab.php 92% from 13 tests
This is the main PHP file of "Simple Side Tab" version 2.1.11, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-side-tab.php" instead of "simple_side_tab.php")
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
No dangerous file extensions were detected558 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 325 | 581 | 488 |
CSS | 1 | 1 | 0 | 65 |
JavaScript | 1 | 2 | 1 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 3.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 3 | 7.14% |
▷ Public methods | 37 | 88.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 11.90% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
No PNG images were found in this plugin