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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼6.88ms] Passed 4 tests
An overview of server-side resources used by Futurio Extra
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 47.07 ▲1.39 |
Dashboard /wp-admin | 3.39 ▲0.04 | 47.58 ▼11.13 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 44.04 ▼5.63 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 81.63 ▼12.16 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.54 ▲3.35 |
Server storage [IO: ▲5.55MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 540 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Futurio Extra
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲57 | 14.20 ▼0.18 | 1.64 ▼0.35 | 42.36 ▼3.24 |
Dashboard /wp-admin | 2,212 ▲32 | 5.63 ▲0.01 | 109.24 ▲21.59 | 49.16 ▲10.52 |
Posts /wp-admin/edit.php | 2,114 ▲11 | 1.99 ▼0.02 | 35.96 ▼5.25 | 32.68 ▼3.77 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 23.26 ▼0.10 | 638.76 ▼52.46 | 53.35 ▼1.94 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.29 ▲0.12 | 97.87 ▼8.84 | 41.31 ▼4.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/futurio-extra/inc/framework/kirki-packages/settings/templates/metaboxes/installation-progress.php
- > /wp-content/plugins/futurio-extra/inc/framework/kirki-packages/settings/templates/settings-template.php
- > /wp-content/plugins/futurio-extra/inc/framework/kirki-packages/settings/templates/metaboxes/clear-font-cache.php
- > /wp-content/plugins/futurio-extra/inc/framework/kirki-packages/settings/templates/metaboxes/documentation.php
- 79× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field\\Generic' not found in wp-content/plugins/futurio-extra/inc/framework/kirki-packages/control-generic/src/Field/Text.php:18
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/futurio-extra/inc/framework/kirki-packages/module-sections/src/Section_Types/Link.php:17
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Control\\Base' not found in wp-content/plugins/futurio-extra/inc/framework/kirki-packages/control-slider/src/Control/Slider.php:22
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field' not found in wp-content/plugins/futurio-extra/inc/framework/kirki-packages/control-dashicons/src/Field/Dashicons.php:18
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field' not found in wp-content/plugins/futurio-extra/inc/framework/kirki-packages/control-react-colorful/src/Field/ReactColorful.php:21
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Setting' not found in wp-content/plugins/futurio-extra/inc/framework/kirki-packages/util/src/Setting/Site_Option.php:18
- > PHP Fatal error
Uncaught Error: Class 'WP_Importer' not found in wp-content/plugins/futurio-extra/inc/demo/classes/importers/class-wp-import.php:12
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field\\Radio' not found in wp-content/plugins/futurio-extra/inc/framework/kirki-packages/control-radio/src/Field/Radio_Image.php:18
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field\\Radio' not found in wp-content/plugins/futurio-extra/inc/framework/kirki-packages/control-palette/src/Field/Palette.php:18
- > PHP Fatal error
Uncaught Error: Class 'Kirki\\Field' not found in wp-content/plugins/futurio-extra/inc/framework/kirki-packages/control-sortable/src/Field/Sortable.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: demo, woocommerce, shortcodes, widgets, page builder...
futurio-extra/futurio-extra.php 92% from 13 tests
The primary PHP file in "Futurio Extra" version 2.0.0 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.4" instead of "3.3.0")
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
No dangerous file extensions were detected55,218 lines of code in 402 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 218 | 5,174 | 11,746 | 24,937 |
JavaScript | 115 | 2,509 | 3,110 | 13,320 |
JSON | 6 | 0 | 0 | 8,430 |
CSS | 31 | 278 | 160 | 5,521 |
Sass | 23 | 322 | 34 | 1,812 |
SVG | 2 | 0 | 0 | 746 |
TypeScript | 5 | 84 | 5 | 414 |
YAML | 1 | 7 | 0 | 27 |
XML | 1 | 0 | 0 | 11 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
It is recommended to fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 123)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 19.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 330.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 123.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 165 | |
▷ Abstract classes | 1 | 0.61% |
▷ Concrete classes | 164 | 99.39% |
▷ Final classes | 12 | 7.32% |
Methods | 840 | |
▷ Static methods | 180 | 21.43% |
▷ Public methods | 673 | 80.12% |
▷ Protected methods | 131 | 15.60% |
▷ Private methods | 36 | 4.29% |
Functions | 114 | |
▷ Named functions | 76 | 66.67% |
▷ Anonymous functions | 38 | 33.33% |
Constants | 18 | |
▷ Global constants | 17 | 94.44% |
▷ Class constants | 1 | 5.56% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
29 PNG files occupy 0.09MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/metabox/assets/images/media/video.png | 0.28KB | 0.28KB | 0.00% |
inc/framework/assets/images/3cr.png | 0.91KB | 0.32KB | ▼ 64.81% |
inc/metabox/assets/images/layout-right.png | 1.06KB | 0.12KB | ▼ 88.65% |
inc/framework/assets/images/kirki-bottom.png | 1.51KB | 1.09KB | ▼ 27.89% |
inc/framework/assets/images/1c.png | 0.77KB | 0.15KB | ▼ 80.03% |