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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.66ms] Passed 4 tests
Analyzing server-side resources used by Tweak Hidden Options
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.74 ▼7.00 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.66 ▼3.32 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.28 ▲3.09 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.75 ▼9.11 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.54 ▲0.81 |
Tweak Hidden Options /wp-admin/options-general.php?page=tweak-hidden-options | 3.21 | 31.46 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Tweak Hidden Options
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.31 ▼1.07 | 1.78 ▲0.12 | 40.89 ▲2.35 |
Dashboard /wp-admin | 2,212 ▲21 | 4.84 ▼0.07 | 108.05 ▲4.73 | 39.87 ▼2.53 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▲0.02 | 39.08 ▲4.20 | 35.60 ▼0.57 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.23 ▲4.88 | 657.40 ▲21.27 | 60.11 ▼1.66 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.21 ▼0.05 | 95.97 ▲0.10 | 44.67 ▼2.73 |
Tweak Hidden Options /wp-admin/options-general.php?page=tweak-hidden-options | 982 | 2.06 | 24.47 | 28.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tweak-hidden-options/options-page.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/tweak-hidden-options/tweak-hidden-options.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tweak-hidden-options/options-functions.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: config, options, configuration, gzip
tweak-hidden-options/tweak-hidden-options.php Passed 13 tests
The main file in "Tweak Hidden Options" v. 1.01 serves as a complement to information provided in readme.txt and as the entry point to the plugin
120 characters long description:
Tweak Hidden Options is a safe and easy-to-use way to modify, tweak, and change various hidden options within WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin111 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 8 | 41 | 111 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 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
There are no PNG files in this plugin