Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼146.04ms] Passed 4 tests
This is a short check of server-side resources used by Wield Menu
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.74 ▲3.23 |
Dashboard /wp-admin | 3.07 ▲0.01 | 51.51 ▼15.38 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 44.36 ▼0.02 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 90.53 ▼570.00 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 38.42 ▲1.26 |
Server storage [IO: ▲0.01MB] [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: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Wield Menu
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,682 ▲110 | 15.74 ▼0.16 | 6.82 ▼1.92 | 53.47 ▼4.36 |
Dashboard /wp-admin | 2,965 ▲31 | 5.88 ▼0.19 | 145.89 ▼13.26 | 117.58 ▼10.85 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▲0.02 | 68.91 ▼1.54 | 91.14 ▼3.22 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.77 ▲0.09 | 400.96 ▲7.23 | 117.54 ▲2.57 |
Media Library /wp-admin/upload.php | 1,810 ▼12 | 5.01 ▲0.00 | 158.50 ▲5.74 | 131.00 ▼0.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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 a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: menus, navigation menu
wield-menu/wield-menu.php Passed 13 tests
The primary PHP file in "Wield Menu" version 1.2.1 is used by WordPress to initiate all plugin functionality
44 characters long description:
Makes long and complex menus easier editable
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin194 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 1 | 0 | 112 |
YAML | 2 | 0 | 0 | 36 |
CSS | 2 | 7 | 0 | 32 |
PHP | 1 | 2 | 9 | 14 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected