Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.13MB] [CPU: ▼4.31ms] Passed 4 tests
Server-side resources used by WPS Menu Exporter
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 38.10 ▼6.12 |
Dashboard /wp-admin | 3.43 ▲0.13 | 48.82 ▼1.35 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 47.21 ▲1.32 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 91.39 ▼11.10 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 35.15 ▲1.93 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WPS Menu Exporter
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.09 | 1.74 ▼0.11 | 39.47 ▼4.79 |
Dashboard /wp-admin | 2,209 ▲21 | 5.86 ▼0.03 | 97.10 ▼8.40 | 40.22 ▼0.60 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.01 | 39.93 ▲1.53 | 35.96 ▼1.12 |
Add New Post /wp-admin/post-new.php | 1,533 ▼14 | 22.86 ▲4.65 | 567.75 ▼93.97 | 52.77 ▲2.24 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.19 ▼0.00 | 98.65 ▼15.98 | 43.86 ▼4.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wps-menu-exporter/wps-menu-exporter.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant WPS_MENU_EXPORTER_DIR - assumed 'WPS_MENU_EXPORTER_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wps-menu-exporter/autoload.php on line 203
- > PHP Warning
Use of undefined constant WPS_MENU_EXPORTER_DIR - assumed 'WPS_MENU_EXPORTER_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wps-menu-exporter/autoload.php on line 197
- > PHP Fatal error
Trait 'WPS\\WPS_Menu_Exporter\\Singleton' not found in wp-content/plugins/wps-menu-exporter/classes/plugin.php on line 5
- > PHP Warning
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 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 14 tag instead of maximum 10
wps-menu-exporter/wps-menu-exporter.php 85% from 13 tests
The main file in "WPS Menu Exporter" v. 1.3.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin886 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 281 | 428 | 799 |
PO File | 1 | 13 | 15 | 62 |
JSON | 2 | 0 | 0 | 25 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 13.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 18 | 32.73% |
▷ Public methods | 49 | 89.09% |
▷ Protected methods | 4 | 7.27% |
▷ Private methods | 2 | 3.64% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 5 | |
▷ Global constants | 5 | 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
PNG images were not found in this plugin