Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▲2.44ms] Passed 4 tests
Analyzing server-side resources used by MenuMaker Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.83 ▲7.81 |
Dashboard /wp-admin | 3.36 ▲0.05 | 54.96 ▲8.80 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 50.04 ▲2.72 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 87.23 ▼9.58 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 50.36 ▲15.60 |
Help /wp-admin/edit.php?post_type=cssmenu&page=cssmenu-help | 3.27 | 33.68 |
All Menus /wp-admin/edit.php?post_type=cssmenu | 3.32 | 35.76 |
Add New /wp-admin/post-new.php?post_type=cssmenu | 3.31 | 41.53 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_cssmenu_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
MenuMaker Lite: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲122 | 14.74 ▲0.36 | 1.75 ▲0.08 | 43.74 ▲4.12 |
Dashboard /wp-admin | 2,258 ▲69 | 4.86 ▼0.05 | 113.20 ▲1.48 | 44.43 ▲2.43 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 2.06 ▲0.06 | 35.00 ▼6.44 | 32.80 ▼2.40 |
Add New Post /wp-admin/post-new.php | 1,570 ▲42 | 18.32 ▼0.15 | 617.33 ▼13.88 | 57.78 ▲8.85 |
Media Library /wp-admin/upload.php | 1,443 ▲64 | 4.16 ▼0.07 | 118.83 ▲20.45 | 46.96 ▲1.67 |
Help /wp-admin/edit.php?post_type=cssmenu&page=cssmenu-help | 819 | 2.03 | 23.90 | 26.71 |
All Menus /wp-admin/edit.php?post_type=cssmenu | 1,122 | 1.96 | 29.69 | 30.59 |
Add New /wp-admin/post-new.php?post_type=cssmenu | 1,599 | 2.55 | 54.34 | 54.25 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_cssmenu_widget
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/css-menumaker/builder_settings.php
- 9× 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/css-menumaker/cssmenumaker_widget.php:4
- > PHP Notice
Undefined index: selected in wp-content/plugins/css-menumaker/css/dynamic.css.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/css-menumaker/scripts/dynamic.js.php:6
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/css-menumaker/walker.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/css-menumaker/cssmenumaker_post_type.php:3
- > PHP Notice
Undefined index: selected in wp-content/plugins/css-menumaker/scripts/dynamic.js.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/css-menumaker/css/dynamic.css.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/css-menumaker/single-cssmenu.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/css-menumaker/cssmenumaker.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=cssmenu
- > Network (severe)
wp-content/plugins/cssmenumaker/css/menu_styles.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=cssmenu
- > Network (severe)
wp-content/plugins/cssmenumaker/scripts/spectrum/spectrum.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=cssmenu
- > Network (severe)
wp-content/plugins/cssmenumaker/css/styles.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=cssmenu
- > Network (severe)
wp-content/plugins/cssmenumaker/scripts/magnific/magnific-popup.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=cssmenu
- > Network (severe)
wp-content/plugins/cssmenumaker/scripts/structure.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=cssmenu
- > Network (severe)
wp-content/plugins/cssmenumaker/scripts/builder.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=cssmenu
- > Network (severe)
wp-content/plugins/cssmenumaker/scripts/less.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=cssmenu
- > Network (severe)
wp-content/plugins/cssmenumaker/scripts/spectrum/spectrum.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=cssmenu
- > Network (severe)
wp-content/plugins/cssmenumaker/scripts/magnific/jquery.magnific-popup.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: drop down menu, navigation, responsive menu, menu
css-menumaker/cssmenumaker.php 92% from 13 tests
The main PHP file in "MenuMaker Lite" ver. 1.1.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("css-menumaker.php" instead of "cssmenumaker.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
There were no executable files found in this plugin5,048 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 846 | 480 | 3,476 |
CSS | 4 | 124 | 39 | 966 |
PHP | 8 | 141 | 85 | 602 |
JSON | 4 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 21 | |
▷ Named functions | 21 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
menus/213/thumbnail/css_menu_thumb.png | 18.95KB | 5.69KB | ▼ 69.95% |
images/select_arrow_transparent.png | 1.08KB | 0.21KB | ▼ 80.47% |
menus/311/thumbnail/css_menu_thumb.png | 3.73KB | 2.31KB | ▼ 38.02% |
images/icon_select.png | 1.14KB | 0.28KB | ▼ 75.54% |
images/premium_banner.png | 11.75KB | 2.92KB | ▼ 75.12% |