Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/multifox-plus/modules/skin/customizer/settings/background-color.php+29
Undefined index: body_bg_color
Server metrics [RAM: ▲1.57MB] [CPU: ▲8.45ms] Passed 4 tests
This is a short check of server-side resources used by Multifox Plus
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.05 ▲1.58 | 48.87 ▲4.52 |
Dashboard /wp-admin | 4.89 ▲1.54 | 66.39 ▲1.60 |
Posts /wp-admin/edit.php | 4.94 ▲1.58 | 62.30 ▲9.74 |
Add New Post /wp-admin/post-new.php | 7.64 ▲1.75 | 112.36 ▲18.09 |
Media Library /wp-admin/upload.php | 4.81 ▲1.58 | 55.40 ▲17.93 |
Add Header /wp-admin/post-new.php?post_type=mfx_headers | 7.63 | 93.28 |
Footers /wp-admin/edit.php?post_type=mfx_footers | 4.85 | 63.20 |
Add Footer /wp-admin/post-new.php?post_type=mfx_footers | 7.63 | 95.96 |
Headers /wp-admin/edit.php?post_type=mfx_headers | 4.85 | 52.73 |
Server storage [IO: ▲10.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 482 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
multifox-customiser-option |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Multifox Plus
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲67 | 14.38 ▲0.18 | 1.74 ▼0.25 | 43.44 ▲5.49 |
Dashboard /wp-admin | 2,243 ▲66 | 5.65 ▼0.02 | 95.95 ▲0.37 | 43.71 ▲4.33 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 2.01 ▼0.03 | 40.54 ▼1.31 | 36.64 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,572 ▲27 | 17.73 ▼5.65 | 624.49 ▼41.10 | 51.04 ▲1.34 |
Media Library /wp-admin/upload.php | 1,448 ▲51 | 4.23 ▼0.03 | 98.14 ▼7.12 | 43.56 ▼1.16 |
Add Header /wp-admin/post-new.php?post_type=mfx_headers | 6,234 | 22.49 | 933.89 | 30.55 |
Footers /wp-admin/edit.php?post_type=mfx_footers | 1,118 | 1.98 | 33.61 | 32.16 |
Add Footer /wp-admin/post-new.php?post_type=mfx_footers | 6,229 | 22.24 | 798.25 | 30.34 |
Headers /wp-admin/edit.php?post_type=mfx_headers | 1,121 | 2.00 | 39.21 | 36.45 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- multifox-customiser-option
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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 fix the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/multifox-plus/modules/site-loader/layouts/loader-1/template.php
- > /wp-content/plugins/multifox-plus/modules/site-loader/layouts/loader-2/template.php
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MultifoxElementor\\Widgets\\MultifoxElementorWidgetBase' not found in wp-content/plugins/multifox-plus/modules/shortcodes/elementor/widgets/advanced-carousel/class-widget-advanced-carousel.php:12
- > PHP Fatal error
Uncaught Error: Class 'MultifoxElementor\\Widgets\\MultifoxElementorWidgetBase' not found in wp-content/plugins/multifox-plus/modules/shortcodes/elementor/widgets/mailchimp/class-widget-mailchimp.php:5
- > PHP Fatal error
Uncaught Error: Class 'MultifoxElementor\\Widgets\\MultifoxElementorWidgetBase' not found in wp-content/plugins/multifox-plus/modules/shortcodes/elementor/widgets/ordered-list/class-widget-ordered-list.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/multifox-plus/elementor/class-common-widget-base.php:6
- > PHP Fatal error
Uncaught Error: Class 'MultifoxElementor\\Widgets\\MultifoxElementorWidgetBase' not found in wp-content/plugins/multifox-plus/modules/shortcodes/elementor/widgets/counter/class-widget-counter.php:8
- > PHP Notice
Undefined variable: count in wp-content/plugins/multifox-plus/modules/footer/layouts/standard-footer/template.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multifox-plus/modules/menu/walker/frontend-menu-walker.php:21
- > PHP Fatal error
Uncaught Error: Class 'MultifoxElementor\\Widgets\\MultifoxElementorWidgetBase' not found in wp-content/plugins/multifox-plus/modules/shortcodes/elementor/widgets/google-map/class-widget-google-map.php:9
- > PHP Fatal error
Uncaught Error: Class 'MultifoxElementor\\Widgets\\MultifoxElementorWidgetBase' not found in wp-content/plugins/multifox-plus/modules/shortcodes/elementor/widgets/button/class-widget-button.php:8
- > PHP Fatal error
Uncaught Error: Class 'MultifoxElementor\\Widgets\\MultifoxElementorWidgetBase' not found in wp-content/plugins/multifox-plus/modules/menu/elementor/widgets/logo/class-widget-logo.php:8
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: two-column, one-column, customizer, archives, custom header...
multifox-plus/multifox-plus.php Passed 13 tests
The entry point to "Multifox Plus" version 1.1.6 is a PHP file that has certain tags in its header comment area
44 characters long description:
Adds additional features for Multifox Theme.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin68,801 lines of code in 384 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 279 | 10,205 | 16,939 | 44,726 |
JSON | 2 | 0 | 0 | 12,222 |
CSS | 55 | 2,361 | 390 | 5,601 |
SVG | 4 | 1 | 12 | 3,373 |
JavaScript | 43 | 792 | 728 | 2,665 |
Markdown | 1 | 68 | 0 | 214 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
The following 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.51 |
Average class complexity | 26.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 188 | |
▷ Abstract classes | 3 | 1.60% |
▷ Concrete classes | 185 | 98.40% |
▷ Final classes | 0 | 0.00% |
Methods | 1,854 | |
▷ Static methods | 283 | 15.26% |
▷ Public methods | 1,457 | 78.59% |
▷ Protected methods | 72 | 3.88% |
▷ Private methods | 325 | 17.53% |
Functions | 133 | |
▷ Named functions | 109 | 81.95% |
▷ Anonymous functions | 24 | 18.05% |
Constants | 135 | |
▷ Global constants | 104 | 77.04% |
▷ Class constants | 31 | 22.96% |
▷ Public constants | 31 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
28 PNG files occupy 3.56MB with 1.84MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
modules/demo-content/screenshots/elsa-lite.png | 513.86KB | 192.00KB | ▼ 62.64% |
modules/blog/customizer/images/one-half-column.png | 1.83KB | 0.79KB | ▼ 56.55% |
modules/demo-content/screenshots/fason-lite.png | 548.06KB | 179.86KB | ▼ 67.18% |
modules/demo-content/screenshots/gardening-lite.png | 264.47KB | 280.53KB | 0.00% |
modules/sidebar/customizer/images/without-sidebar.png | 1.90KB | 0.52KB | ▼ 72.91% |