Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼147.07ms] Passed 4 tests
A check of server-side resources used by Advanced Options Editor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 21.82 ▼1.18 |
Dashboard /wp-admin | 3.07 ▲0.00 | 30.70 ▼8.81 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 28.92 ▼0.59 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.00 | 67.97 ▼577.68 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 25.52 ▲4.12 |
Advanced Options Editor /wp-admin/options-general.php?page=bdwmoe | 5.89 | 28.99 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Options Editor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,678 ▲77 | 15.71 ▼0.36 | 4.88 ▼1.66 | 75.00 ▲0.37 |
Dashboard /wp-admin | 2,944 ▲48 | 6.12 ▼0.02 | 115.13 ▼26.63 | 166.11 ▼18.17 |
Posts /wp-admin/edit.php | 2,751 ▲45 | 3.22 ▼0.02 | 64.15 ▲0.58 | 137.37 ▼0.28 |
Add New Post /wp-admin/post-new.php | 3,702 ▼33 | 15.39 ▼3.13 | 436.37 ▼43.35 | 159.82 ▼5.75 |
Media Library /wp-admin/upload.php | 1,757 ▲2 | 5.57 ▲0.03 | 159.29 ▲14.71 | 191.69 ▲10.24 |
Advanced Options Editor /wp-admin/options-general.php?page=bdwmoe | 11,138 | 3.19 | 74.21 | 164.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Change advanced wp options from the admin), #2 (Editing Options)
advanced-options-editor/options-editor.php 92% from 13 tests
"Advanced Options Editor" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("advanced-options-editor.php" instead of "options-editor.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin396 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 111 | 25 | 326 |
CSS | 1 | 21 | 1 | 70 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin