Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.28MB] [CPU: ▼2.75ms] Passed 4 tests
A check of server-side resources used by Simple customize
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 39.16 ▼1.87 |
Dashboard /wp-admin | 3.58 ▲0.27 | 57.27 ▲8.45 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 49.61 ▼0.68 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.28 | 86.34 ▼14.53 |
Media Library /wp-admin/upload.php | 3.51 ▲0.27 | 40.05 ▲6.10 |
Add New /wp-admin/post-new.php?post_type=s-c-font | 3.54 | 46.75 |
Categories /wp-admin/edit-tags.php?taxonomy=simple-customize&post_type=simple-customize | 3.50 | 34.78 |
Simple Customize Fonts Debug /wp-admin/edit.php?post_type=s-c-font | 3.55 | 40.41 |
Simple Customize Debug /wp-admin/edit.php?post_type=simple-customize | 3.55 | 35.76 |
Simple Customize /wp-admin/themes.php?page=simple-customize | 3.55 | 36.20 |
Add New /wp-admin/post-new.php?post_type=simple-customize | 3.54 | 53.22 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
simple-customize-version |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Simple customize
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,870 ▲135 | 13.62 ▼0.78 | 1.62 ▼0.46 | 38.62 ▼12.37 |
Dashboard /wp-admin | 2,265 ▲83 | 5.76 ▼0.10 | 105.18 ▲2.07 | 39.78 ▼3.90 |
Posts /wp-admin/edit.php | 2,151 ▲59 | 2.07 ▲0.01 | 35.09 ▼6.50 | 33.89 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,585 ▲52 | 23.27 ▼0.00 | 682.89 ▲53.22 | 59.07 ▼0.51 |
Media Library /wp-admin/upload.php | 1,444 ▲59 | 4.24 ▲0.04 | 98.30 ▲2.75 | 42.13 ▼0.32 |
Add New /wp-admin/post-new.php?post_type=s-c-font | 1,550 | 2.53 | 59.53 | 51.14 |
Categories /wp-admin/edit-tags.php?taxonomy=simple-customize&post_type=simple-customize | 1,299 | 2.14 | 26.40 | 28.19 |
Simple Customize Fonts Debug /wp-admin/edit.php?post_type=s-c-font | 1,124 | 1.99 | 30.46 | 28.93 |
Simple Customize Debug /wp-admin/edit.php?post_type=simple-customize | 1,124 | 1.98 | 29.48 | 25.35 |
Simple Customize /wp-admin/themes.php?page=simple-customize | 1,248 | 2.11 | 25.14 | 31.51 |
Add New /wp-admin/post-new.php?post_type=simple-customize | 1,630 | 2.71 | 52.97 | 54.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Parse error
syntax error, unexpected end of file, expecting elseif (T_ELSEIF) or else (T_ELSE) or endif (T_ENDIF) in wp-content/plugins/simple-customizer/options/fonts.php on line 136
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: theme, css, customization, customisation, design
simple-customizer/simple-customize.php 92% from 13 tests
The principal PHP file in "Simple customize" v. 1.7.1 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-customizer.php" instead of "simple-customize.php")
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,161 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 313 | 285 | 1,859 |
JavaScript | 3 | 37 | 22 | 178 |
CSS | 2 | 7 | 0 | 124 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 79.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 158.00 |
Average method complexity | 6.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 1 | 3.33% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/images/help-overview.png | 12.22KB | 6.61KB | ▼ 45.92% |