Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▼8.29ms] Passed 4 tests
An overview of server-side resources used by Easy Custom Theme Options
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 47.76 ▲6.13 |
Dashboard /wp-admin | 3.54 ▲0.24 | 46.68 ▼7.75 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 46.89 ▼0.06 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 76.44 ▼22.75 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 32.31 ▼2.58 |
Easy Custom Theme Settings /wp-admin/themes.php?page=theme_options | 3.40 | 30.94 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
icorethink_easy_custom_theme_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Custom Theme Options
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲213 | 15.05 ▲0.66 | 1.67 ▼0.02 | 40.31 ▼1.76 |
Dashboard /wp-admin | 2,362 ▲177 | 6.39 ▲0.49 | 126.84 ▲13.06 | 37.71 ▼0.66 |
Posts /wp-admin/edit.php | 2,271 ▲182 | 3.34 ▲1.35 | 53.74 ▲16.47 | 31.36 ▲1.10 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.32 ▲0.01 | 598.38 ▼10.43 | 32.95 ▼24.48 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.19 ▼0.01 | 95.35 ▼9.18 | 41.95 ▼4.93 |
Easy Custom Theme Settings /wp-admin/themes.php?page=theme_options | 1,045 | 3.04 | 43.23 | 27.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/easy-custom-theme-options/easy-custom-theme-options.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: A description for screenshot #5 is missing in easy-custom-theme-options/assets to your readme.txt
easy-custom-theme-options/easy-custom-theme-options.php 92% from 13 tests
The main PHP script in "Easy Custom Theme Options" version 1.1 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 169 characters long)
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
Everything looks great! No dangerous files found in this plugin696 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 75 | 511 |
SVG | 1 | 2 | 1 | 185 |
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.35 |
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 | 13 | |
▷ Named functions | 13 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.21MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/banner-772x250.png | 24.95KB | 8.72KB | ▼ 65.04% |
images/banner-1544x500-rtl.png | 72.01KB | 26.44KB | ▼ 63.28% |
images/banner-1544x500.png | 69.83KB | 25.33KB | ▼ 63.73% |
images/delete.png | 1.18KB | 0.41KB | ▼ 65.29% |
images/image_icon.png | 3.65KB | 0.91KB | ▼ 75.07% |