Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.93MB] [CPU: ▼45.68ms] Passed 4 tests
An overview of server-side resources used by LR Responsive Slide Menu
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.50 ▼0.02 |
Dashboard /wp-admin | 3.02 ▼0.33 | 25.28 ▼54.00 |
Posts /wp-admin/edit.php | 3.02 ▼0.34 | 24.87 ▼38.35 |
Add New Post /wp-admin/post-new.php | 3.02 ▼2.87 | 22.65 ▼82.20 |
Media Library /wp-admin/upload.php | 3.02 ▼0.21 | 23.83 ▼8.15 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for LR Responsive Slide Menu
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲124 | 13.30 ▼1.11 | 2.28 ▲0.30 | 45.55 ▲5.57 |
Dashboard /wp-admin | 2,244 ▲56 | 5.03 ▲0.02 | 102.63 ▼21.40 | 39.01 ▼6.07 |
Posts /wp-admin/edit.php | 2,129 ▲37 | 2.45 ▲0.44 | 42.09 ▼0.10 | 35.22 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,541 ▼1 | 17.77 ▼0.65 | 671.13 ▲33.79 | 37.76 ▼15.23 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.47 ▲0.27 | 97.91 ▼5.10 | 45.08 ▲0.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/lr-responsive-slide-menu/responsiveslidemenu.php+56
Use of undefined constant responsiveslidemenu_settings - assumed 'responsiveslidemenu_settings' (this will throw an Error in a future version of PHP)
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/lr-responsive-slide-menu/responsiveslidemenu.php:10
- > 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 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Stable tag: No string
- Donate link: Please fix this invalid url: ""
- Screenshots: These screenshots have no corresponding images in /assets: #1 (front side menu), #2 (Example settings page)
lr-responsive-slide-menu/responsiveslidemenu.php 92% from 13 tests
Analyzing the main PHP file in "LR Responsive Slide Menu" version 1.0
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("lr-responsive-slide-menu.php" instead of "responsiveslidemenu.php")
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
Success! There were no dangerous files found in this plugin507 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 66 | 64 | 244 |
PHP | 1 | 193 | 7 | 178 |
CSS | 2 | 0 | 0 | 85 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.45MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/menusettings.png | 44.27KB | 25.74KB | ▼ 41.86% |
front-menu.png | 9.71KB | 4.61KB | ▼ 52.54% |
assets/icon-256-256.png | 17.85KB | 7.08KB | ▼ 60.32% |
menusettings.png | 44.27KB | 25.74KB | ▼ 41.86% |
screenshot-2.png | 44.27KB | 25.74KB | ▼ 41.86% |