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.08MB] [CPU: ▼14.81ms] Passed 4 tests
This is a short check of server-side resources used by Responsive Sliding Menu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 44.15 ▼1.27 |
Dashboard /wp-admin | 3.29 ▼0.05 | 45.83 ▼20.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 40.26 ▼12.29 |
Add New Post /wp-admin/post-new.php | 5.54 ▼0.35 | 84.21 ▼24.93 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 34.91 ▲1.88 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
rsm_activated_date |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Responsive Sliding Menu
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲168 | 13.57 ▼0.59 | 9.55 ▲8.05 | 42.10 ▲0.79 |
Dashboard /wp-admin | 2,234 ▲57 | 5.74 ▲0.07 | 88.59 ▼4.08 | 40.93 ▲0.06 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.30 ▲0.31 | 39.40 ▼0.27 | 34.97 ▼3.74 |
Add New Post /wp-admin/post-new.php | 1,560 ▲29 | 23.18 ▲0.20 | 659.17 ▲30.72 | 35.04 ▼24.67 |
Media Library /wp-admin/upload.php | 1,445 ▲51 | 4.51 ▲0.33 | 96.67 ▼4.95 | 42.64 ▼5.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- rsm_activated_date
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/responsive-sliding-menu/public/partials/responsive-sliding-menu-public-display.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/responsive-sliding-menu/admin/partials/elementor/class-elementor-widgets-integration.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/responsive-sliding-menu/admin/partials/responsive-sliding-menu-admin-display.php:19
- > PHP Fatal error
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: elementor menu, elementor widget, menu, elementor, mobile menu...
responsive-sliding-menu/responsive-sliding-menu.php Passed 13 tests
The entry point to "Responsive Sliding Menu" version 1.4.4 is a PHP file that has certain tags in its header comment area
58 characters long description:
Creates an opening sideways menu. Guaranteed "Wow" effect!
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin2,439 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 205 | 766 | 1,234 |
CSS | 3 | 8 | 29 | 859 |
JavaScript | 2 | 25 | 26 | 190 |
PO File | 1 | 58 | 73 | 156 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.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 | 48 | |
▷ Static methods | 3 | 6.25% |
▷ Public methods | 41 | 85.42% |
▷ Protected methods | 2 | 4.17% |
▷ Private methods | 5 | 10.42% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.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 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
responsive-sliding-menu.png | 24.81KB | 8.44KB | ▼ 65.97% |