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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.57MB] [CPU: ▲0.47ms] Passed 4 tests
A check of server-side resources used by Redux Framework
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.56 | 39.38 ▲5.10 |
Dashboard /wp-admin | 3.88 ▲0.58 | 51.02 ▲2.37 |
Posts /wp-admin/edit.php | 3.93 ▲0.57 | 47.17 ▼1.96 |
Add New Post /wp-admin/post-new.php | 6.46 ▲0.57 | 86.28 ▼1.23 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 39.12 ▲2.69 |
Redux /wp-admin/options-general.php?page=redux-framework | 3.75 | 45.81 |
Server storage [IO: ▲8.46MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 971 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Redux Framework
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲96 | 14.20 ▼0.53 | 1.65 ▲0.08 | 38.62 ▼1.63 |
Dashboard /wp-admin | 2,245 ▲68 | 5.57 ▼0.03 | 82.49 ▼2.42 | 89.16 ▲48.64 |
Posts /wp-admin/edit.php | 2,180 ▲77 | 2.02 ▼0.01 | 34.76 ▼4.24 | 32.54 ▼5.43 |
Add New Post /wp-admin/post-new.php | 1,543 ▲17 | 23.24 ▼0.19 | 650.84 ▼5.77 | 86.78 ▲29.12 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.16 ▼0.03 | 94.33 ▼2.95 | 43.28 ▲1.53 |
Redux /wp-admin/options-general.php?page=redux-framework | 978 | 3.32 | 72.89 | 65.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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
Even though everything seems fine, this is not 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 fix the following
- 51× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/redux-framework/redux-core/inc/fields/ace_editor/field_ace_editor.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/redux-framework/redux-core/inc/fields/select/field_select.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/redux-framework/redux-core/core/dashboard.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/redux-framework/redux-core/inc/fields/date/field_date.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/redux-framework/redux-core/inc/fields/spinner/field_spinner.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/redux-framework/redux-core/inc/fields/info/field_info.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/redux-framework/redux-core/inc/fields/raw/field_raw.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/redux-framework/redux-core/inc/fields/multi_text/field_multi_text.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/redux-framework/redux-core/inc/fields/password/field_password.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/redux-framework/redux-core/inc/fields/border/field_border.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
10 plugin tags: admin interface, options, metaboxes, options framework, admin...
redux-framework/redux-framework.php Passed 13 tests
"Redux Framework" version 4.4.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
37 characters long description:
Build better sites in WordPress fast!
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected83,086 lines of code in 642 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 280 | 7,656 | 13,641 | 32,921 |
JavaScript | 144 | 6,164 | 3,379 | 25,656 |
Sass | 99 | 1,896 | 80 | 12,813 |
CSS | 111 | 6,733 | 314 | 10,683 |
SVG | 6 | 0 | 0 | 946 |
HTML | 1 | 7 | 0 | 60 |
XML | 1 | 0 | 0 | 7 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
It is recommended to fix the following
- Method cyclomatic complexity has to be reduced to less than 100 (currently 106)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 38.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 322.00 |
Average method complexity | 6.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 106.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 147 | |
▷ Abstract classes | 3 | 2.04% |
▷ Concrete classes | 144 | 97.96% |
▷ Final classes | 0 | 0.00% |
Methods | 1,079 | |
▷ Static methods | 300 | 27.80% |
▷ Public methods | 841 | 77.94% |
▷ Protected methods | 139 | 12.88% |
▷ Private methods | 99 | 9.18% |
Functions | 29 | |
▷ Named functions | 25 | 86.21% |
▷ Anonymous functions | 4 | 13.79% |
Constants | 95 | |
▷ Global constants | 2 | 2.11% |
▷ Class constants | 93 | 97.89% |
▷ Public constants | 93 | 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
59 PNG files occupy 0.24MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
redux-core/assets/img/raw/jquery-ui-bootstrap/ui-icons_f6cf3b_256x240.png | 8.68KB | 4.11KB | ▼ 52.68% |
redux-core/assets/img/raw/3-col-portfolio.png | 1.00KB | 0.15KB | ▼ 85.27% |
redux-core/assets/img/raw/jquery-ui-bootstrap/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
redux-core/assets/img/raw/3cr.png | 2.98KB | 0.34KB | ▼ 88.66% |
redux-core/assets/img/raw/2-col-portfolio.png | 1.02KB | 0.15KB | ▼ 85.07% |