Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.06ms] Passed 4 tests
An overview of server-side resources used by Get Options
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.67 ▲0.58 |
Dashboard /wp-admin | 3.31 ▲0.01 | 48.91 ▼7.42 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.48 ▲2.63 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.72 ▲1.73 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.87 ▲0.86 |
Get Options /wp-admin/tools.php?page=all_options | 3.26 | 27.66 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Get Options
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.21 | 1.68 ▲0.01 | 45.62 ▼1.96 |
Dashboard /wp-admin | 2,199 ▲22 | 5.49 ▼0.13 | 82.61 ▼20.15 | 39.20 ▼6.18 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.97 ▲0.01 | 33.52 ▼2.04 | 32.45 ▼2.71 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.41 ▼5.19 | 598.39 ▼95.65 | 61.45 ▲4.87 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.15 ▼0.04 | 95.13 ▼5.86 | 42.87 ▼1.63 |
Get Options /wp-admin/tools.php?page=all_options | 18,548 | 1.21 | 36.69 | 56.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/tools.php?page=all_options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/tools.php?page=all_options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/get-options/get-options.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/get-options/inc/page-content.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (The new submenu in the Tools menu.), #2 (The serialized data, easily readable and human friendly.)
get-options/get-options.php Passed 13 tests
The main PHP file in "Get Options" ver. 2.6.0 adds more information about the plugin and also serves as the entry point for this plugin
58 characters long description:
View all the WordPress Options, even the serialized ones !
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
Everything looks great! No dangerous files found in this plugin186 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 20 | 159 |
PO File | 1 | 8 | 0 | 27 |
PHP code Passed 2 tests
This is a very shot review 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.16 |
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 | 2 | |
▷ Named functions | 2 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.08MB with 0.07MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 57.72KB | 24.99KB | ▼ 56.71% |
(invalid) screenshot-1.png | 25.06KB | 0.00KB | ▼ 100.00% |
img/check.png | 0.99KB | 0.13KB | ▼ 86.96% |