Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.95ms] Passed 4 tests
An overview of server-side resources used by Customize Pro Engine
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.02 | 35.28 ▼6.36 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.17 ▼3.68 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.17 ▼1.49 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.95 ▼12.26 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.54 ▼1.50 |
Server storage [IO: ▲1.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 284 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Customize Pro Engine
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.24 ▼1.16 | 1.71 ▼0.54 | 42.28 ▼10.21 |
Dashboard /wp-admin | 2,203 ▲12 | 4.85 ▲0.01 | 100.37 ▼0.41 | 39.68 ▼4.83 |
Posts /wp-admin/edit.php | 2,086 ▼6 | 2.04 ▲0.02 | 39.78 ▼1.37 | 36.14 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.56 ▼5.46 | 658.54 ▲3.84 | 52.09 ▼19.20 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.19 ▼0.12 | 94.96 ▼6.37 | 41.71 ▼0.81 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 104× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/customize-pro-engine/lib/structure/comments.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function CustomizePro\\__() in wp-content/plugins/customize-pro-engine/config/header/sticky.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function CustomizePro\\__() in wp-content/plugins/customize-pro-engine/config/single/featured-image.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function CustomizePro\\__() in wp-content/plugins/customize-pro-engine/config/header/primary.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/customize-pro-engine/lib/customizer/kirki.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function CustomizePro\\__() in wp-content/plugins/customize-pro-engine/config/base/inputs.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/customize-pro-engine/lib/customizer/site-identity.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function CustomizePro\\__() in wp-content/plugins/customize-pro-engine/config/sidebars/featured-content.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function CustomizePro\\__() in wp-content/plugins/customize-pro-engine/config/single/entry.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/customize-pro-engine/lib/functions/shortcodes.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
1 plugin tags: genesis
customize-pro-engine/customize-pro-engine.php 85% from 13 tests
The main PHP file in "Customize Pro Engine" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("assets/lang")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin25,412 lines of code in 249 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 112 | 843 | 3,073 | 12,614 |
JavaScript | 19 | 1,554 | 2,144 | 6,029 |
Sass | 101 | 936 | 767 | 3,404 |
CSS | 12 | 765 | 3 | 3,360 |
SVG | 5 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 4 | 40.00% |
▷ Public methods | 7 | 70.00% |
▷ Protected methods | 3 | 30.00% |
▷ Private methods | 0 | 0.00% |
Functions | 185 | |
▷ Named functions | 176 | 95.14% |
▷ Anonymous functions | 9 | 4.86% |
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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/transparency-grid.png | 1.47KB | 1.57KB | 0.00% |