Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼37.16ms] Passed 4 tests
An overview of server-side resources used by Theme Options Z
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 38.87 ▼5.75 |
Dashboard /wp-admin | 3.06 ▼0.33 | 26.38 ▼40.21 |
Posts /wp-admin/edit.php | 3.06 ▼0.34 | 26.11 ▼26.27 |
Add New Post /wp-admin/post-new.php | 3.06 ▼2.87 | 23.88 ▼74.88 |
Media Library /wp-admin/upload.php | 3.06 ▼0.21 | 28.50 ▼7.27 |
Theme Options Z /wp-admin/options-general.php?page=themeoptionsz | 3.06 | 26.77 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Theme Options Z
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.16 ▼0.19 | 1.58 ▼0.10 | 41.67 ▲1.21 |
Dashboard /wp-admin | 2,199 ▲22 | 5.62 ▼0.03 | 90.77 ▲3.17 | 40.77 ▲2.27 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.06 | 36.60 ▼5.16 | 34.11 ▼1.51 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 22.98 ▼0.08 | 673.19 ▲66.46 | 56.76 ▲6.11 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▼0.16 | 109.30 ▲9.29 | 47.51 ▲3.96 |
Theme Options Z /wp-admin/options-general.php?page=themeoptionsz | 1,305 | 3.53 | 81.13 | 30.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- 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 errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=themeoptionsz
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=themeoptionsz
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=themeoptionsz
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
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
The following issues need your attention
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/theme-options-z/inc/functions.php
- > /wp-content/plugins/theme-options-z/inc/admin_html.php
- > /wp-content/plugins/theme-options-z/inc/settings.php
- > /wp-content/plugins/theme-options-z/theme-options-z.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
theme-options-z/theme-options-z.php Passed 13 tests
"Theme Options Z" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
60 characters long description:
Simple yet flexible Theme Options plugin for any damn theme.
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 plugin667 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 76 | 397 | 386 |
PHP | 4 | 57 | 63 | 187 |
CSS | 1 | 14 | 5 | 68 |
HTML | 2 | 0 | 14 | 26 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.24MB with 0.11MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 23.35KB | 8.14KB | ▼ 65.16% |
screenshot-2.png | 114.43KB | 52.04KB | ▼ 54.53% |
screenshot-1.png | 108.87KB | 48.36KB | ▼ 55.58% |
images/move.png | 0.09KB | 0.10KB | 0.00% |