Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼6.61ms] Passed 4 tests
Server-side resources used by Disable Settings For WP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.79 ▼2.10 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.16 ▼16.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 44.56 ▲0.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 91.13 ▼8.25 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.33 ▲7.76 |
Disable Settings /wp-admin/options-general.php?page=disable-settings | 3.20 | 29.59 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Disable Settings For WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲47 | 14.22 ▼0.50 | 1.60 ▼0.19 | 36.89 ▼8.78 |
Dashboard /wp-admin | 2,196 ▲18 | 5.54 ▼0.21 | 86.61 ▼28.61 | 39.51 ▼5.04 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.96 ▲0.02 | 40.81 ▲2.99 | 37.41 ▲4.25 |
Add New Post /wp-admin/post-new.php | 1,536 ▲7 | 24.91 ▲1.70 | 680.13 ▲40.02 | 80.73 ▲28.18 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.17 ▼0.02 | 102.15 ▲5.08 | 44.36 ▲0.63 |
Disable Settings /wp-admin/options-general.php?page=disable-settings | 844 | 1.99 | 27.19 | 23.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
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 | 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in disable-settings-for-wp/assets to your readme.txt
disable-settings-for-wp/disable-settings-for-wp.php Passed 13 tests
The main PHP file in "Disable Settings For WP" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
102 characters long description:
A plugin for disabling various settings like right-click, REST API and Hide topbar panel in wordpress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin90 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 9 | 31 | 90 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected