Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/schemeable-sliding-panel/php-markdown-1.0.1o/markdown.php+910
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.63MB] [CPU: ▼53.35ms] Passed 4 tests
Server-side resources used by Schemeable Sliding Panel
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.36 ▼1.11 | 5.58 ▼36.53 |
Dashboard /wp-admin | 2.38 ▼0.93 | 6.99 ▼39.68 |
Posts /wp-admin/edit.php | 2.38 ▼0.98 | 6.96 ▼44.44 |
Add New Post /wp-admin/post-new.php | 2.38 ▼3.51 | 5.92 ▼92.75 |
Media Library /wp-admin/upload.php | 2.38 ▼0.85 | 6.47 ▼26.04 |
Sliding Panel Options /wp-admin/themes.php?page=sliding-panel-options | 2.53 | 6.53 |
Server storage [IO: ▲1.48MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 67 new files
Database: no new tables, 8 new options
New WordPress options |
---|
sliding-panel-dashboard-menus |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
sliding-panel-options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Schemeable Sliding Panel
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,992 ▲246 | 13.95 ▼0.43 | 14.34 ▲12.55 | 47.75 ▲1.98 |
Dashboard /wp-admin | 2,210 ▲28 | 5.86 ▲0.96 | 109.26 ▼4.09 | 41.23 ▼4.70 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 1.99 ▲0.01 | 34.71 ▼2.10 | 33.52 ▼1.98 |
Add New Post /wp-admin/post-new.php | 1,545 ▲10 | 23.07 ▼0.08 | 702.31 ▲97.17 | 60.14 ▲9.53 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.21 ▲0.05 | 99.58 ▲0.13 | 41.73 ▼1.22 |
Sliding Panel Options /wp-admin/themes.php?page=sliding-panel-options | 4,933 | 3.97 | 92.07 | 123.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/schemeable-sliding-panel/php-markdown-1.0.1o/markdown.php+910
Array and string offset access syntax with curly braces is deprecated
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- theysaidso_admin_options
- sliding-panel-options
- sliding-panel-dashboard-menus
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=sliding-panel-options
- > Deprecated in wp-content/plugins/schemeable-sliding-panel/php-markdown-1.0.1o/markdown.php+1562
Array and string offset access syntax with curly braces is deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=sliding-panel-options
- > Deprecated in wp-content/plugins/schemeable-sliding-panel/php-markdown-1.0.1o/markdown.php+191
Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=sliding-panel-options
- > Warning in wp-content/plugins/schemeable-sliding-panel/schemes.php+229
scandir(wp-content/uploads/sliding-panel-schemes): failed to open dir: No such file or directory
- 2 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=sliding-panel-options
- > Warning in wp-content/plugins/schemeable-sliding-panel/schemes.php+229
scandir(): (errno 2): No such file or directory
- > GET request to /wp-admin/themes.php?page=sliding-panel-options
- > 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-options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/themes.php?page=sliding-panel-options
- > Notice in wp-content/plugins/schemeable-sliding-panel/css/slide.css.php+26
Only variables should be passed by reference
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/schemeable-sliding-panel/templates/sliding-panel-scheme-export.php.php
- > /wp-content/plugins/schemeable-sliding-panel/templates/sliding-panel-scheme.php.php
- 27× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: scheme in wp-content/plugins/schemeable-sliding-panel/templates/sliding-panel-scheme.php.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/schemeable-sliding-panel/default-schemes/default.php:66
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/schemeable-sliding-panel/css/slide.css.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/schemeable-sliding-panel/meta_boxes/spread-the-word.php:194
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/schemeable-sliding-panel/default-schemes/green-meadows.php:76
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/schemeable-sliding-panel/meta_boxes/share-scheme.php:250
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/schemeable-sliding-panel/schemes.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/schemeable-sliding-panel/slide.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/schemeable-sliding-panel/schemes.php:3
- > PHP Notice
Undefined variable: method_name in wp-content/plugins/schemeable-sliding-panel/templates/sliding-panel-scheme.php.php on line 12
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/themes.php?page=sliding-panel-options
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,farbtastic&ver=6.3.1 1:2740 Uncaught Error: no such method 'add' for tabs widget instance
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Configuring the Schemeable Sliding Panel.), #2 (Using the Wood Lands scheme on a page.)
schemeable-sliding-panel/schemeable-sliding-panel.php Passed 13 tests
The principal PHP file in "Schemeable Sliding Panel" v. 1.4 is loaded by WordPress automatically on each request
125 characters long description:
Use smooth and beautiful sliding panel for your blog. Fully scheme-able and configurable. Bundled with six beautiful schemes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected8,166 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 978 | 605 | 7,544 |
CSS | 3 | 58 | 158 | 478 |
JavaScript | 1 | 11 | 3 | 92 |
Markdown | 2 | 26 | 0 | 52 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 26.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 2.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 122 | |
▷ Static methods | 19 | 15.57% |
▷ Public methods | 122 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 54 | |
▷ Named functions | 54 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
40 compressed PNG files occupy 1.07MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/tab_m.png | 0.25KB | 0.27KB | 0.00% |
default-schemes/images/tab_l-e0e0e0-292929.png | 0.32KB | 0.30KB | ▼ 4.94% |
css/images/tab_r.png | 1.04KB | 1.13KB | 0.00% |
default-schemes/images/batthern.png | 1.85KB | 1.90KB | 0.00% |
default-schemes/images/tab_b-FADBAC-C3C3C3.png | 0.11KB | 0.11KB | 0.00% |