Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.03ms] Passed 4 tests
Server-side resources used by Easy Theme Options
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 33.95 ▼5.88 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.43 ▼3.23 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.25 ▲2.04 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.64 ▼2.82 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 35.58 ▼0.20 |
ETO Import / Export /wp-admin/options-general.php?page=eto-import-export | 3.23 | 30.44 |
Theme Options /wp-admin/themes.php?page=eto-settings | 3.22 | 26.50 |
Server storage [IO: ▲0.86MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Theme Options
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲51 | 13.31 ▼0.93 | 1.79 ▼0.38 | 46.45 ▲0.13 |
Dashboard /wp-admin | 2,217 ▲37 | 5.90 ▲0.99 | 104.02 ▼5.82 | 40.04 ▼2.38 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.05 ▲0.04 | 33.88 ▼0.84 | 34.70 ▲1.85 |
Add New Post /wp-admin/post-new.php | 1,539 ▲8 | 23.29 ▲4.86 | 650.85 ▲47.66 | 56.43 ▼6.96 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.16 ▼0.10 | 98.81 ▼2.73 | 54.64 ▲10.65 |
ETO Import / Export /wp-admin/options-general.php?page=eto-import-export | 841 | 2.05 | 24.56 | 28.08 |
Theme Options /wp-admin/themes.php?page=eto-settings | 1,504 | 3.06 | 53.49 | 37.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=eto-settings
- > Notice in wp-content/plugins/easy-theme-options/includes/functions/eto_functions.php+237
Trying to access array offset on value of type bool
- > GET request to /wp-admin/themes.php?page=eto-settings
- > User deprecated in wp-includes/functions.php+5737
Function get_bloginfo was called with an argument that is deprecated since version 2.2.0! The home option is deprecated for the family of bloginfo() functions. Use the url option instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/easy-theme-options/includes/shortcodes.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/easy-theme-options/includes/options.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/easy-theme-options/easy-theme-options.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-theme-options/includes/functions/eto_functions.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (The main screen), #2 (Special fields types), #3 (Advanced Fields Types), #4 (Other advanced Fields Types), #5 (Code to create Fields (documentation included)), #6 (Import / Export feature), #7 (Shortcodes to display data), #8 (Help (included))
- Tags: There are too many tags (16 tag instead of maximum 10)
easy-theme-options/easy-theme-options.php Passed 13 tests
The entry point to "Easy Theme Options" version 1.0 is a PHP file that has certain tags in its header comment area
112 characters long description:
This plugin adds the ability to create as many site options as you want to customize your theme or your website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected2,923 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 146 | 45 | 1,298 |
PHP | 7 | 193 | 125 | 805 |
CSS | 3 | 35 | 150 | 596 |
PO File | 2 | 117 | 165 | 224 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 18 | |
▷ Named functions | 18 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
38 compressed PNG files occupy 0.06MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/js/hv.png | 2.80KB | 7.32KB | 0.00% |
includes/images/colorpicker/colorpicker_rgb_r.png | 1.04KB | 0.77KB | ▼ 26.17% |
includes/images/colorpicker/custom_hsb_h.png | 0.95KB | 0.73KB | ▼ 23.40% |
includes/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/css/images/ui-bg_inset-soft_95_fef1ec_1x100.png | 0.12KB | 0.16KB | 0.00% |