Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼9.13ms] Passed 4 tests
A check of server-side resources used by Mobile Responsive Sidebar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.29 ▼8.74 |
Dashboard /wp-admin | 3.31 ▼0.03 | 42.85 ▼20.03 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.00 ▼5.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.50 ▼2.23 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.83 ▼0.31 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Mobile Responsive Sidebar
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲172 | 13.67 ▼0.70 | 5.99 ▲3.96 | 44.86 ▲0.21 |
Dashboard /wp-admin | 2,209 ▲21 | 4.88 ▼0.14 | 111.78 ▼2.58 | 42.56 ▼2.58 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.03 ▼0.03 | 38.78 ▲1.26 | 35.30 ▲1.92 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 17.70 ▼5.12 | 600.82 ▼68.11 | 53.64 ▼10.31 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.23 ▲0.07 | 98.74 ▼1.55 | 43.42 ▼1.22 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
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
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Mobile sidebar on phone screen.), #2 (Open sidebar on phone screen.)
mobile-responsive-sidebar/mobile-responsive-sidebar.php 92% from 13 tests
The main PHP file in "Mobile Responsive Sidebar" ver. 1.0.0 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:
- Description: The description should be shorter than 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected102 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 2 | 1 | 50 |
JavaScript | 2 | 11 | 11 | 26 |
PHP | 2 | 4 | 20 | 26 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 40.85KB | 14.17KB | ▼ 65.32% |
screenshot-2.png | 32.34KB | 11.16KB | ▼ 65.50% |
trunk/screenshot-1.png | 40.85KB | 14.17KB | ▼ 65.32% |
trunk/screenshot-2.png | 32.34KB | 11.16KB | ▼ 65.50% |