Benchmarks
Plugin footprint 81% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▲4.30ms] Passed 4 tests
Server-side resources used by WP Options Editor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.44 ▼1.77 |
Dashboard /wp-admin | 3.38 ▲0.08 | 62.61 ▲7.58 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 60.29 ▼0.07 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 124.91 ▲31.45 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 46.94 ▲11.44 |
Manage wp_options /wp-admin/tools.php?page=options_editor | 6.80 | 124.04 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics 0% from 4 tests
WP Options Editor: an overview of browser usage
It is time to focus on the following
- Nodes: Try to keep the DOM nodes under 25,000 (currently 49,543 on /wp-admin/tools.php?page=options_editor)
- Memory: You must limit browser memory usage to 75.00MB (currently 113.15MB on /wp-admin/tools.php?page=options_editor)
- Script duration: Try to keep JavaScript execution under 1,500.00ms (currently 5,595.07ms on /wp-admin/tools.php?page=options_editor)
- Layout duration:Total CSS layout time should be under 1,500.00ms (currently 1,572.98ms on /wp-admin/tools.php?page=options_editor)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲15 | 13.25 ▼1.43 | 5.19 ▲3.01 | 58.88 ▲17.04 |
Dashboard /wp-admin | 2,210 ▲4 | 5.84 ▲0.00 | 111.98 ▲13.59 | 43.80 ▲7.83 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.04 | 42.50 ▼13.19 | 37.96 ▲4.03 |
Add New Post /wp-admin/post-new.php | 1,400 ▼144 | 17.89 ▼0.59 | 629.52 ▼2.81 | 50.64 ▼6.88 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.12 ▼0.09 | 136.85 ▲39.15 | 60.09 ▲18.72 |
Manage wp_options /wp-admin/tools.php?page=options_editor | 49,543 | 113.15 | 5,595.07 | 1,572.98 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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
6 plugin tags: development, delete, wp_options, wp options table, add...
wp-options-editor/wp-options-editor.php Passed 13 tests
The main file in "WP Options Editor" v. 1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
81 characters long description:
More easily view, edit, add, and delete all of your WP Options from the dashboard
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected804 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 63 | 119 | 396 |
PHP | 2 | 128 | 171 | 380 |
CSS | 1 | 6 | 0 | 28 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 38.00 |
▷ Minimum class complexity | 38.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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 | 1 | |
▷ Global constants | 1 | 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
There are no PNG files in this plugin