Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.75MB] [CPU: ▼32.97ms] Passed 4 tests
This is a short check of server-side resources used by Multilevel Navigation Menu
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 46.99 ▲7.13 |
Dashboard /wp-admin | 3.21 ▼0.14 | 25.32 ▼34.51 |
Posts /wp-admin/edit.php | 3.21 ▼0.15 | 24.54 ▼21.35 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 25.20 ▼68.34 |
Media Library /wp-admin/upload.php | 3.21 ▼0.03 | 23.87 ▼7.67 |
Multilevel Navigation Menu /wp-admin/themes.php?page=multilevel-navigation-menu | 3.21 | 25.67 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
mnmwp-switch |
Browser metrics Passed 4 tests
Checking browser requirements for Multilevel Navigation Menu
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲214 | 13.81 ▼0.62 | 5.92 ▲4.09 | 41.81 ▼9.99 |
Dashboard /wp-admin | 2,241 ▲53 | 5.20 ▲0.30 | 114.68 ▲5.76 | 48.10 ▲4.14 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.34 ▲0.30 | 40.97 ▲2.48 | 37.80 ▲2.57 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 23.29 ▼0.02 | 616.17 ▼90.64 | 33.65 ▼14.23 |
Media Library /wp-admin/upload.php | 1,424 ▲33 | 4.49 ▲0.26 | 94.45 ▼4.14 | 41.96 ▼1.38 |
Multilevel Navigation Menu /wp-admin/themes.php?page=multilevel-navigation-menu | 2,955 | 4.07 | 115.59 | 32.46 |
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
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/multilevel-navigation-menu/multilevel-navigation-menu.php+285
Undefined variable: mnmwp_menu_shortcode
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/themes.php?page=multilevel-navigation-menu
- > Notice in wp-content/plugins/multilevel-navigation-menu/multilevel-navigation-menu.php+285
Undefined variable: mnmwp_menu_shortcode
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
The following issues need your attention
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/multilevel-navigation-menu/multilevel-navigation-menu.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
multilevel-navigation-menu/multilevel-navigation-menu.php Passed 13 tests
"Multilevel Navigation Menu" version 1.0.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
94 characters long description:
Multilevel Navigation Menu plugin ability to add a full-screen navigation menu to our website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin580 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 106 | 215 | 402 |
CSS | 2 | 2 | 2 | 106 |
JavaScript | 2 | 8 | 0 | 72 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 25 | 96.15% |
▷ Public methods | 26 | 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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/mnmwp_logo.png | 12.03KB | 5.47KB | ▼ 54.56% |