Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▲0.38ms] Passed 4 tests
An overview of server-side resources used by Responsive Vertical Icon Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.35 | 41.75 ▲1.00 |
Dashboard /wp-admin | 3.72 ▲0.42 | 50.86 ▲3.01 |
Posts /wp-admin/edit.php | 3.77 ▲0.42 | 46.18 ▲1.31 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 81.83 ▼3.81 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 36.76 ▲4.01 |
Vertical Menu /wp-admin/admin.php?page=wpda_vertical_menu_themes | 3.55 | 32.73 |
Featured Plugins /wp-admin/admin.php?page=wpda_vertical_menu_featured_plugins | 3.55 | 36.02 |
Server storage [IO: ▲2.59MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 90 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wpda_vertical_menu_theme |
New WordPress options |
---|
widget_wpdevart_vertical_menu_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Responsive Vertical Icon Menu
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,931 ▲185 | 13.84 ▼0.42 | 8.57 ▲6.93 | 40.93 ▲2.47 |
Dashboard /wp-admin | 2,224 ▲47 | 5.56 ▼0.11 | 85.04 ▼0.75 | 36.43 ▼8.02 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.04 ▲0.06 | 34.92 ▼2.33 | 33.81 ▲0.63 |
Add New Post /wp-admin/post-new.php | 1,552 ▲17 | 23.43 ▲5.08 | 642.41 ▲42.40 | 55.21 ▼6.74 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.23 ▲0.06 | 99.07 ▼7.54 | 42.38 ▼5.47 |
Vertical Menu /wp-admin/admin.php?page=wpda_vertical_menu_themes | 1,056 | 2.76 | 54.79 | 48.65 |
Featured Plugins /wp-admin/admin.php?page=wpda_vertical_menu_featured_plugins | 1,111 | 1.99 | 23.27 | 40.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_wpda_vertical_menu_theme
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_wpdevart_vertical_menu_widget
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wpdevart-vertical-menu/includes/wpdevart_widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function trailingslashit() in wp-content/plugins/wpdevart-vertical-menu/wpdevart_vertical_menu.php:64
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpdevart-vertical-menu/includes/admin/class_for_addon_walker_nav_menu_edit.php:5
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu_Edit' not found in wp-content/plugins/wpdevart-vertical-menu/includes/admin/walker_nav_menu_edit_extended.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=wpda_vertical_menu_themes
- > Network (severe)
wp-content/plugins/wpdevart-vertical-menu/includes/admin/images/default%7B%7Brows.default%7D%7D.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: sidebar vertical menu, sidebar menu, responsive vertical menu, menu, vertical menu
wpdevart-vertical-menu/wpdevart_vertical_menu.php 85% from 13 tests
The main PHP script in "Responsive Vertical Icon Menu" version 1.6.0 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 166 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("wpdevart-vertical-menu.php" instead of "wpdevart_vertical_menu.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin12,216 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 2,763 |
JavaScript | 5 | 202 | 157 | 2,071 |
PHP | 10 | 247 | 124 | 2,027 |
Sass | 16 | 43 | 34 | 1,825 |
LESS | 16 | 41 | 51 | 1,792 |
CSS | 6 | 80 | 66 | 1,738 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 27 | 31.03% |
▷ Public methods | 59 | 67.82% |
▷ Protected methods | 1 | 1.15% |
▷ Private methods | 27 | 31.03% |
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
PNG files should be compressed to save space and minimize bandwidth usage
16 PNG files occupy 0.18MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/images/featured_plugins/duplicate-page-post.png | 22.49KB | 4.28KB | ▼ 80.96% |
includes/admin/images/support.png | 2.21KB | 1.14KB | ▼ 48.50% |
includes/admin/images/featured_plugins/Pricing-table.png | 12.94KB | 4.08KB | ▼ 68.44% |
includes/admin/images/featured_plugins/youtube.png | 14.53KB | 5.69KB | ▼ 60.85% |
includes/admin/images/default0.png | 3.21KB | 0.58KB | ▼ 82.01% |