Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.00ms] Passed 4 tests
Analyzing server-side resources used by Menu export
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.44 ▲2.20 |
Dashboard /wp-admin | 3.38 ▲0.08 | 44.39 ▼1.33 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 45.00 ▼3.20 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 88.61 ▼1.66 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 37.67 ▲4.24 |
Menu Export /wp-admin/options-general.php?page=menu-export/menu-export.php | 3.27 | 30.77 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Menu export: 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,804 ▲58 | 14.48 ▼0.10 | 1.83 ▲0.26 | 43.83 ▲6.74 |
Dashboard /wp-admin | 2,207 ▲19 | 5.82 ▲0.91 | 93.20 ▼10.27 | 37.23 ▼6.27 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 2.03 ▲0.02 | 33.92 ▼3.51 | 37.60 ▲2.26 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.21 ▲5.70 | 580.71 ▼12.14 | 51.88 ▲2.55 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.31 ▲0.00 | 98.35 ▲2.10 | 40.82 ▼1.78 |
Menu Export /wp-admin/options-general.php?page=menu-export/menu-export.php | 761 | 2.02 | 23.42 | 26.37 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/menu-export/menu-export.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/menu-export/includes/bs3_nav_walker.php:17
- > PHP Fatal error
Uncaught Error: Class 'Walker_Nav_Menu' not found in wp-content/plugins/menu-export/includes/bs4_nav_walker.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== menu-export ===
)
menu-export/menu-export.php Passed 13 tests
"Menu export" version 1.2.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
67 characters long description:
Menu Export allows you to embed your menu markup on other websites.
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
There were no executable files found in this plugin429 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 52 | 355 | 429 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 40.67 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 7.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.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 | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 12 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 33.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin