Benchmarks
Plugin footprint 82% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.23ms] Passed 4 tests
A check of server-side resources used by Menu Duplicator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.93 ▼0.84 |
Dashboard /wp-admin | 3.34 ▼0.01 | 51.02 ▼15.13 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 53.03 ▲3.01 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 96.13 ▼7.96 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.59 ▲5.89 |
Menu Duplicator /wp-admin/tools.php?page=menu-duplicator | 3.23 | 29.74 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Just a few items left to fix
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/menu-duplicator/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Menu Duplicator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 13.15 ▼1.60 | 1.77 ▼0.24 | 43.60 ▲1.88 |
Dashboard /wp-admin | 2,228 ▲25 | 4.86 ▼1.01 | 109.09 ▲7.51 | 42.96 ▲0.18 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 2.04 ▲0.03 | 41.16 ▲3.30 | 39.12 ▲2.01 |
Add New Post /wp-admin/post-new.php | 1,548 ▲3 | 23.31 ▲0.23 | 669.61 ▲58.71 | 62.84 ▲11.47 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.22 ▼0.04 | 93.62 ▼8.41 | 43.19 ▼2.08 |
Menu Duplicator /wp-admin/tools.php?page=menu-duplicator | 836 | 2.05 | 24.70 | 26.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
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)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: menu, navigation, nav
menu-duplicator/menu-duplicator.php Passed 13 tests
This is the main PHP file of "Menu Duplicator" version 0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
33 characters long description:
Quickly duplicate WordPress menus
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 plugin157 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 91 | 154 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin