Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼2.84ms] Passed 4 tests
Server-side resources used by Customize Plus
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.27 | 37.82 ▼0.32 |
Dashboard /wp-admin | 3.76 ▲0.42 | 45.94 ▼11.41 |
Posts /wp-admin/edit.php | 3.81 ▲0.46 | 45.28 ▲2.92 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 85.33 ▼2.56 |
Media Library /wp-admin/upload.php | 3.62 ▲0.40 | 39.73 ▲7.88 |
Customize Plus /wp-admin/options-general.php?page=customize-plus | 3.59 | 31.75 |
Customize Plus /wp-admin/options-general.php?page=customize-plustab=about | 3.59 | 34.45 |
Server storage [IO: ▲1.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Customize Plus
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.75 ▲0.19 | 1.93 ▲0.19 | 43.78 ▼6.09 |
Dashboard /wp-admin | 2,196 ▲19 | 5.55 ▼0.12 | 83.37 ▼1.23 | 37.95 ▼5.92 |
Posts /wp-admin/edit.php | 2,107 ▼1 | 2.01 ▼0.01 | 33.91 ▼16.00 | 34.13 ▼6.99 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.13 ▼0.07 | 680.01 ▲12.64 | 59.36 ▼4.21 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.14 ▼0.06 | 110.35 ▲13.45 | 46.97 ▲2.61 |
Customize Plus /wp-admin/options-general.php?page=customize-plus | 923 | 1.99 | 22.32 | 48.58 |
Customize Plus /wp-admin/options-general.php?page=customize-plustab=about | 761 | 2.02 | 22.61 | 23.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: customizer, options framework, theme, wordpress
customize-plus/customize-plus.php 92% from 13 tests
The entry point to "Customize Plus" version 1.1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected15,360 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 2,416 | 5,270 | 9,536 |
PHP | 16 | 609 | 3,111 | 2,927 |
CSS | 4 | 484 | 658 | 2,872 |
JSON | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 13.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 4 | 10.81% |
▷ Concrete classes | 33 | 89.19% |
▷ Final classes | 0 | 0.00% |
Methods | 191 | |
▷ Static methods | 120 | 62.83% |
▷ Public methods | 127 | 66.49% |
▷ Protected methods | 49 | 25.65% |
▷ Private methods | 15 | 7.85% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.00% |
▷ Public constants | 6 | 100.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
6 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sidebar-less.png | 0.08KB | 0.08KB | 0.00% |
images/sidebar-both.png | 0.10KB | 0.10KB | 0.00% |
images/logo-white.png | 3.31KB | 3.40KB | 0.00% |
images/sidebar-left.png | 0.10KB | 0.10KB | 0.00% |
images/logo.png | 3.14KB | 3.29KB | 0.00% |