Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.72ms] Passed 4 tests
Analyzing server-side resources used by VertiMenu
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.76 ▲2.13 |
Dashboard /wp-admin | 3.32 ▲0.01 | 49.56 ▲2.56 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 42.57 ▼6.29 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.58 ▼17.26 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 42.82 ▲8.80 |
Server storage [IO: ▲0.82MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
VertiMenu: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.20 ▼1.18 | 4.84 ▲2.87 | 44.37 ▼0.42 |
Dashboard /wp-admin | 2,206 ▲18 | 5.76 ▼0.14 | 110.66 ▲8.93 | 41.43 ▲0.58 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.12 ▲0.11 | 33.10 ▼4.36 | 34.92 ▲0.48 |
Add New Post /wp-admin/post-new.php | 1,534 ▲20 | 23.35 ▲5.84 | 668.42 ▼8.45 | 57.31 ▼2.25 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.12 ▼0.09 | 115.46 ▲5.49 | 47.02 ▼2.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% 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)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/vertimenu/vertimenu.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: multilevel menu, multilevel-menu, responsive menu, menu, multilevel...
vertimenu/vertimenu.php Passed 13 tests
This is the main PHP file of "VertiMenu" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
73 characters long description:
Multilevel mobile menu with optional third-party menu item image support.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin3,388 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 3 | 2,227 |
PHP | 1 | 155 | 155 | 718 |
CSS | 2 | 50 | 21 | 333 |
JavaScript | 1 | 24 | 4 | 110 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 24.33 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 5.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 10 | 58.82% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon/1.png | 0.71KB | 0.28KB | ▼ 60.03% |
images/icon/5.png | 0.55KB | 0.15KB | ▼ 73.54% |
images/icon/3.png | 1.34KB | 0.66KB | ▼ 51.20% |
images/icon/2.png | 0.49KB | 0.11KB | ▼ 78.22% |
images/icon/4.png | 0.54KB | 0.13KB | ▼ 76.59% |