Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼0.38ms] Passed 4 tests
Server-side resources used by Nav Menu Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.55 ▼3.73 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.96 ▼1.17 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 48.72 ▲0.14 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 108.59 ▲3.23 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.97 ▲3.86 |
Nav Menu Manager /wp-admin/options-general.php?page=noakes_menu_manager_settings | 3.46 | 38.34 |
Nav Menu Manager /wp-admin/tools.php?page=noakes_menu_manager_generator | 3.38 | 35.67 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 184 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
noakes_menu_manager_version |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Nav Menu Manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲51 | 13.24 ▼1.34 | 4.41 ▲2.04 | 38.73 ▼2.54 |
Dashboard /wp-admin | 2,217 ▲29 | 4.84 ▼0.05 | 109.82 ▲3.68 | 42.51 ▼0.01 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 1.97 ▼0.08 | 40.54 ▲4.37 | 35.88 ▲4.52 |
Add New Post /wp-admin/post-new.php | 1,539 ▲25 | 23.42 ▲5.91 | 632.42 ▼53.64 | 50.63 ▲1.29 |
Media Library /wp-admin/upload.php | 1,399 ▲20 | 4.18 ▼0.01 | 97.72 ▼4.35 | 41.48 ▼6.77 |
Nav Menu Manager /wp-admin/options-general.php?page=noakes_menu_manager_settings | 1,545 | 2.73 | 60.49 | 56.46 |
Nav Menu Manager /wp-admin/tools.php?page=noakes_menu_manager_generator | 1,547 | 2.61 | 59.44 | 38.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- noakes_menu_manager_version
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
noakes-menu-manager/noakes-menu-manager.php Passed 13 tests
"Nav Menu Manager" version 3.2.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
105 characters long description:
Simplifies nav menu maintenance and functionality providing more control over nav menus with less coding.
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
Good job! No executable or dangerous file extensions detected11,603 lines of code in 171 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 129 | 1,121 | 635 | 4,608 |
PHP | 36 | 973 | 3,145 | 4,188 |
CSS | 4 | 45 | 3 | 2,783 |
Markdown | 1 | 4 | 0 | 18 |
JSON | 1 | 0 | 0 | 6 |
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.60 |
Average class complexity | 16.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 4.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 2 | 6.06% |
▷ Concrete classes | 31 | 93.94% |
▷ Final classes | 29 | 93.55% |
Methods | 158 | |
▷ Static methods | 46 | 29.11% |
▷ Public methods | 120 | 75.95% |
▷ Protected methods | 22 | 13.92% |
▷ Private methods | 16 | 10.13% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 43 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 43 | 100.00% |
▷ Public constants | 43 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.44MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/debug/images/robert-noakes.png | 6.28KB | 5.31KB | ▼ 15.39% |
assets/release/images/YourWordPressDXP300x600.png | 136.86KB | 60.69KB | ▼ 55.65% |
assets/release/images/YourWordPressDXP728x90.png | 73.03KB | 33.27KB | ▼ 54.44% |
assets/release/images/noakes-plugins.png | 8.04KB | 6.25KB | ▼ 22.23% |
assets/release/images/robert-noakes.png | 6.28KB | 5.31KB | ▼ 15.39% |