Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.44ms] Passed 4 tests
Analyzing server-side resources used by Sidr Responsive Menu
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 40.46 ▼1.46 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.07 ▼0.91 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 44.77 ▼2.10 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 86.49 ▼9.27 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.15 ▲3.60 |
Responsive Sidr Menu /wp-admin/options-general.php?page=responsive-sidr-menu | 3.27 | 32.06 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sidr Responsive Menu
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲139 | 13.59 ▼0.71 | 7.29 ▲5.40 | 38.68 ▼10.66 |
Dashboard /wp-admin | 2,212 ▲27 | 5.84 ▲0.94 | 99.54 ▼9.37 | 37.05 ▼3.38 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.06 ▲0.05 | 33.67 ▼6.01 | 34.30 ▲0.28 |
Add New Post /wp-admin/post-new.php | 1,519 ▲2 | 17.53 ▼0.03 | 641.24 ▼22.24 | 63.00 ▲12.35 |
Media Library /wp-admin/upload.php | 1,394 ▲9 | 4.20 ▲0.02 | 96.65 ▼5.17 | 42.44 ▼1.61 |
Responsive Sidr Menu /wp-admin/options-general.php?page=responsive-sidr-menu | 938 | 2.05 | 24.41 | 29.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 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 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
5 plugin tags: mobile, device, menu, tablet, responsive
responsive-sidr-menu/responsive-sidr-menu.php Passed 13 tests
"Sidr Responsive Menu" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
112 characters long description:
Adds a responsive menu which can be toggled from inside the website theme. The menu is based on Sidr by Berriart
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,528 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 113 | 31 | 546 |
CSS | 7 | 16 | 7 | 521 |
PHP | 12 | 104 | 10 | 461 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 6.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 31 | |
▷ Static methods | 2 | 6.45% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG files were detected