Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲4.64MB] [CPU: ▼271.59ms] Passed 4 tests
A check of server-side resources used by Customizer custom controls with Drag and Drop builder – Customizely
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.40 ▲4.85 | 77.22 ▲29.34 |
Dashboard /wp-admin | 8.41 ▲4.97 | 59.25 ▲22.70 |
Posts /wp-admin/edit.php | 8.41 ▲4.74 | 59.79 ▲21.01 |
Add New Post /wp-admin/post-new.php | 10.98 ▲3.98 | 121.48 ▼1,151.18 |
Media Library /wp-admin/upload.php | 8.41 ▲5.09 | 47.22 ▲21.12 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.41 | 45.18 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 8.53 | 66.83 |
Server storage [IO: ▲5.66MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 228 new files
Database: no new tables, 6 new options
New WordPress options |
---|
fs_debug_mode |
fs_active_plugins |
widget_recent-comments |
fs_gdpr |
fs_accounts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Customizer custom controls with Drag and Drop builder – Customizely
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,839 ▲85 | 16.17 ▲0.47 | 6.76 ▲0.62 | 2.34 ▲0.03 |
Dashboard /wp-admin | 2,955 ▲94 | 6.17 ▼0.01 | 118.39 ▼20.13 | 187.34 ▼4.74 |
Posts /wp-admin/edit.php | 2,749 ▲55 | 3.14 ▼0.21 | 63.08 ▼2.71 | 158.98 ▲12.91 |
Add New Post /wp-admin/post-new.php | 1,880 ▲184 | 22.25 ▲0.96 | 420.12 ▼37.53 | 205.10 ▲49.65 |
Media Library /wp-admin/upload.php | 1,760 ▲62 | 5.51 ▲0.04 | 126.45 ▼22.82 | 220.69 ▲34.05 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,431 | 2.47 | 54.18 | 110.64 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 7,328 | 19.78 | 507.63 | 168.81 |
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
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/customizely/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- fs_debug_mode
- fs_accounts
- fs_gdpr
- fs_active_plugins
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-includes/class-wp-customize-nav-menus.php+1152
Trying to get property 'title' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/customizely/views/customizely.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/customizely/includes/class-control.php:22
- > PHP Fatal error
Uncaught Error: Class 'Customizely\\Control' not found in wp-content/plugins/customizely/includes/class-control-inline.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/customizely/views/addons.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: css, drag-and-drop, live, customizer, options...
customizely/customizely.php Passed 13 tests
The main file in "Customizer custom controls with Drag and Drop builder – Customizely" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
29 characters long description:
Style WP site with customizer
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin67,009 lines of code in 182 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 133 | 7,762 | 18,770 | 33,295 |
PO File | 13 | 7,531 | 9,161 | 16,474 |
JavaScript | 14 | 3,789 | 3,025 | 15,286 |
CSS | 19 | 264 | 43 | 1,712 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 1 | 0 | 0 | 27 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 62.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 4 | 5.88% |
▷ Concrete classes | 64 | 94.12% |
▷ Final classes | 0 | 0.00% |
Methods | 1,218 | |
▷ Static methods | 174 | 14.29% |
▷ Public methods | 875 | 71.84% |
▷ Protected methods | 15 | 1.23% |
▷ Private methods | 328 | 26.93% |
Functions | 147 | |
▷ Named functions | 144 | 97.96% |
▷ Anonymous functions | 3 | 2.04% |
Constants | 126 | |
▷ Global constants | 101 | 80.16% |
▷ Class constants | 25 | 19.84% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.06MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/customizely.png | 36.33KB | 13.14KB | ▼ 63.83% |
assets/images/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
assets/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |