Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.16ms] Passed 4 tests
A check of server-side resources used by Options Management
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.33 ▼7.85 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.85 ▼0.73 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 51.46 ▼0.99 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 97.11 ▲0.93 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.66 ▲1.08 |
Options Management /wp-admin/tools.php?page=options-management | 3.28 | 34.91 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Just a few items left to fix
- Illegal file modification found: 4 files (0.00KB) outside of "wp-content/plugins/options-management/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/options-management/assets/icon-256\303\227256.jpg"
- (new file) "wp-content/plugins/options-management/assets/banner-772\303\227250.jpg"
- (new file) "wp-content/plugins/options-management/assets/banner-1544\303\227500.jpg"
- (new file) "wp-content/plugins/options-management/assets/icon-128\303\227128.jpg"
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Options Management
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▼0.11 | 1.71 ▼0.08 | 42.85 ▼6.05 |
Dashboard /wp-admin | 2,196 ▲19 | 5.74 ▲0.16 | 85.47 ▼6.94 | 40.02 ▼1.48 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.96 ▼0.05 | 38.77 ▼0.70 | 34.63 ▼0.27 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.15 ▲0.15 | 612.84 ▲21.18 | 59.97 ▲6.14 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.18 ▼0.07 | 100.42 ▼4.84 | 43.78 ▼3.31 |
Options Management /wp-admin/tools.php?page=options-management | 5,097 | 1.82 | 30.52 | 73.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: options, tool, debug
options-management/options-management.php Passed 13 tests
The main PHP script in "Options Management" version 1.1 is automatically included on every request by WordPress
67 characters long description:
A small plugin for developers to manage manually wordpress options.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin206 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 29 | 27 | 136 |
CSS | 1 | 15 | 0 | 45 |
SVG | 1 | 0 | 1 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 2 | 40.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
There are no PNG files in this plugin