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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.86ms] Passed 4 tests
A check of server-side resources used by Sliding Panel
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.31 ▼2.08 |
Dashboard /wp-admin | 3.37 ▲0.03 | 51.00 ▼8.17 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 44.81 ▼2.61 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.17 ▼10.56 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.95 ▲4.47 |
Sliding Panel /wp-admin/themes.php?page=sliding-panel | 3.23 | 27.76 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Sliding Panel: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.16 ▼1.25 | 1.71 ▼0.12 | 41.97 ▼1.38 |
Dashboard /wp-admin | 2,213 ▲27 | 4.88 ▼0.08 | 99.13 ▼11.78 | 37.95 ▼6.81 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.00 | 35.35 ▼1.13 | 35.12 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.57 ▲0.94 | 653.47 ▼35.17 | 59.31 ▲8.26 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.13 ▼0.10 | 98.54 ▼6.49 | 42.03 ▼0.98 |
Sliding Panel /wp-admin/themes.php?page=sliding-panel | 856 | 2.02 | 21.99 | 33.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/themes.php?page=sliding-panel
- > 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/themes.php?page=sliding-panel
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sliding-panel/sliding-panel.php:68
- > PHP Fatal error
Uncaught Error: Call to undefined function is_active_sidebar() in wp-content/plugins/sliding-panel/inc/sidebar-sliding-panel.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sliding-panel/admin/admin.php:51
- > 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 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (Sliding panel in its open view with widgets.)
sliding-panel/sliding-panel.php Passed 13 tests
The main file in "Sliding Panel" v. 0.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
62 characters long description:
A fully-widgetized and responsive sliding panel for your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected354 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 86 | 246 | 214 |
CSS | 1 | 31 | 5 | 93 |
JavaScript | 1 | 6 | 0 | 25 |
Markdown | 1 | 14 | 0 | 22 |
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.10 |
Average class complexity | 3.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 2 | 100.00% |
Methods | 19 | |
▷ Static methods | 2 | 10.53% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
1 compressed PNG file occupies 0.02MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 17.56KB | 16.99KB | ▼ 3.20% |