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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼139.65ms] Passed 4 tests
An overview of server-side resources used by Export WordPress Menus
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.18 | 33.56 ▲12.94 |
Dashboard /wp-admin | 3.13 ▲0.07 | 45.14 ▲2.10 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 41.69 ▲7.75 |
Add New Post /wp-admin/post-new.php | 5.48 ▲0.05 | 89.41 ▼564.86 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 30.68 ▼3.58 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
wem_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Export WordPress Menus
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,682 ▲101 | 16.08 ▲0.52 | 9.22 ▲1.06 | 52.09 ▲4.11 |
Dashboard /wp-admin | 2,976 ▲42 | 6.12 ▲0.11 | 135.58 ▼11.16 | 107.17 ▼5.26 |
Posts /wp-admin/edit.php | 2,742 ▲3 | 2.71 ▲0.00 | 64.12 ▼4.08 | 91.02 ▲2.41 |
Add New Post /wp-admin/post-new.php | 1,618 ▲120 | 21.46 ▲2.66 | 278.88 ▼87.75 | 108.93 ▲1.01 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.04 ▼0.00 | 142.35 ▼3.56 | 121.25 ▼3.71 |
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
- The uninstall procedure has failed, leaving 1 option in the database
- wem_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: menus, wordpress, wordpress menus, exporter, export
wp-export-menus/wp-export-menus.php Passed 13 tests
The main file in "Export WordPress Menus" v. 1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
28 characters long description:
Export your WordPress menus.
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 plugin368 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 118 | 344 |
PO File | 1 | 5 | 7 | 24 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 17 | |
▷ Static methods | 11 | 64.71% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin