Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.52ms] Passed 4 tests
Analyzing server-side resources used by Advance Nav Menu Manager
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 47.77 ▲2.69 |
Dashboard /wp-admin | 3.37 ▲0.06 | 60.13 ▲11.38 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 53.16 ▼1.83 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 92.03 ▼14.61 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.44 ▲3.68 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advance Nav Menu Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 14.36 ▼0.37 | 2.24 ▼0.09 | 43.12 ▼5.34 |
Dashboard /wp-admin | 2,200 ▲20 | 5.64 ▲0.10 | 84.00 ▼7.55 | 38.84 ▼2.28 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.05 ▲0.04 | 37.70 ▼1.95 | 34.05 ▼1.59 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 22.86 ▼0.38 | 707.17 ▲4.68 | 51.21 ▼7.63 |
Media Library /wp-admin/upload.php | 1,405 ▲2 | 4.23 ▲0.02 | 101.81 ▼4.26 | 44.20 ▼0.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
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)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advance-nav-menu-manager/include/class-advancenavmenumanager.php:238
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 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
5 plugin tags: copy menu item, move menu item to other menu, copy menu item to other menu, menu, duplicate menu item
advance-nav-menu-manager/advance-navmenu-manager.php 85% from 13 tests
The principal PHP file in "Advance Nav Menu Manager" v. 1.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("advance-nav-menu-manager.php" instead of "advance-navmenu-manager.php")
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 plugin323 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 44 | 138 | 285 |
JavaScript | 1 | 2 | 6 | 38 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin