Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/embe-core/inc/redux/inc/class.redux_filesystem.php+28
Creating default object from empty value
Server metrics [RAM: ▼0.49MB] [CPU: ▼47.93ms] Passed 4 tests
An overview of server-side resources used by EmBe Core
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 16.69 ▼26.42 |
Dashboard /wp-admin | 3.52 ▲0.21 | 16.82 ▼40.45 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 14.97 ▼37.00 |
Add New Post /wp-admin/post-new.php | 3.52 ▼2.37 | 15.29 ▼87.83 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 20.53 ▼17.70 |
General setting /wp-admin/admin.php?page=alith_option_options&tab=1 | 3.52 | 15.81 |
Home featured posts /wp-admin/admin.php?page=alith_option_options&tab=7 | 3.52 | 16.62 |
Import / Export /wp-admin/admin.php?page=alith_option_options&tab=20 | 3.52 | 16.59 |
Navigation /wp-admin/admin.php?page=alith_option_options&tab=6 | 3.52 | 19.32 |
Social network /wp-admin/admin.php?page=alith_option_options&tab=17 | 3.52 | 17.11 |
Off canvas /wp-admin/admin.php?page=alith_option_options&tab=16 | 3.52 | 15.63 |
Demo Importer /wp-admin/admin.php?page=alith_option_options&tab=18 | 3.52 | 16.52 |
Footer & Bottom /wp-admin/admin.php?page=alith_option_options&tab=8 | 3.52 | 19.88 |
Header & Logo /wp-admin/admin.php?page=alith_option_options&tab=5 | 3.52 | 17.48 |
Layouts settting /wp-admin/admin.php?page=alith_option_options&tab=11 | 3.52 | 16.65 |
Server storage [IO: ▲4.63MB] [DB: ▲0.08MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 588 new files
Database: no new tables, 20 new options
New WordPress options |
---|
can_compress_scripts |
widget_alitheme_postcarausel |
db_upgraded |
widget_theysaidso_widget |
alith_option-transients |
widget_alitheme_last_post |
widget_recent-posts |
widget_null-instagram-feed |
widget_alitheme_twitter |
widget_alitheme_lastpost |
... |
Browser metrics Passed 4 tests
Checking browser requirements for EmBe Core
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲222 | 14.17 ▼0.38 | 2.01 ▲0.02 | 82.27 ▲37.92 |
Dashboard /wp-admin | 2,375 ▲201 | 5.70 ▲0.16 | 92.07 ▼11.54 | 40.83 ▼3.89 |
Posts /wp-admin/edit.php | 2,228 ▲128 | 2.05 ▲0.02 | 34.86 ▼1.08 | 35.99 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,623 ▲95 | 22.99 ▼0.02 | 619.33 ▼97.86 | 59.44 ▲4.64 |
Media Library /wp-admin/upload.php | 1,518 ▲118 | 4.23 ▼0.18 | 104.10 ▼1.57 | 48.04 ▲1.44 |
General setting /wp-admin/admin.php?page=alith_option_options&tab=1 | 11,638 | 9.77 | 265.13 | 152.04 |
Home featured posts /wp-admin/admin.php?page=alith_option_options&tab=7 | 11,598 | 9.44 | 246.85 | 260.67 |
Import / Export /wp-admin/admin.php?page=alith_option_options&tab=20 | 11,598 | 9.43 | 221.57 | 228.01 |
Navigation /wp-admin/admin.php?page=alith_option_options&tab=6 | 13,744 | 12.41 | 386.25 | 286.66 |
Social network /wp-admin/admin.php?page=alith_option_options&tab=17 | 11,628 | 9.43 | 214.13 | 232.49 |
Off canvas /wp-admin/admin.php?page=alith_option_options&tab=16 | 12,350 | 11.53 | 299.08 | 218.30 |
Demo Importer /wp-admin/admin.php?page=alith_option_options&tab=18 | 11,598 | 9.47 | 218.36 | 219.50 |
Footer & Bottom /wp-admin/admin.php?page=alith_option_options&tab=8 | 12,728 | 9.83 | 314.80 | 155.30 |
Header & Logo /wp-admin/admin.php?page=alith_option_options&tab=5 | 12,871 | 10.49 | 335.58 | 266.19 |
Layouts settting /wp-admin/admin.php?page=alith_option_options&tab=11 | 11,602 | 9.54 | 227.70 | 227.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% 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 cannot be uninstalled
- > Warning in wp-content/plugins/embe-core/inc/redux/inc/class.redux_filesystem.php+28
Creating default object from empty value
- This plugin does not fully uninstall, leaving 19 options in the database
- widget_alitheme_post_modules
- widget_alitheme_comment
- widget_null-instagram-feed
- alith_option-transients
- can_compress_scripts
- widget_alitheme_last_post
- widget_alitheme_adv
- widget_recent-posts
- widget_alithemes-theme-widget-tags
- widget_recent-comments
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 20 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=11
- > Warning in wp-content/plugins/embe-core/inc/redux/inc/class.redux_filesystem.php+28
Creating default object from empty value
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=11
- > Error in wp-includes/Requests/src/Exception/InvalidArgument.php+29
Uncaught WpOrg\Requests\Exception\InvalidArgument: WpOrg\Requests\Cookie::__construct(): Argument #1 ($name) must be of type string, integer given in wp-includes/Requests/src/Exception/InvalidArgument.php:29
Stack trace:
#0 wp-includes/Requests/src/Cookie.php(84): WpOrg\Requests\Exception\InvalidArgument::create()
#1 wp-includes/class-wp-http.php(472): WpOrg\Requests\Cookie->__construct()
#2 wp-includes/class-wp-http.php(352): WP_Http::normalize_cookies()
#3 wp-includes/http.php(150): WP_Http->request()
#4 wp-content/plugins/embe-core/inc/redux/inc/class.p.php(230): wp_remote_request()
#5 wp-includes/class-wp-hook.php(310): Redux_P->proxy()
#6 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#7 wp-includes/plugin.php(517): WP_Hook->do_action()
#8 wp-admin/admin-ajax.php(188): do_action()
#9 {main}
thrown
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/embe-core/widgets/categories_tabs/layout_2.php
- > /wp-content/plugins/embe-core/widgets/categories_tabs/layout_1.php
- 264× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Trying to get property 'post' of non-object in wp-content/plugins/embe-core/widgets/posts-carausel/last_posts_carausel_creative.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/embe-core/widgets/last-posts/last_posts_style_3.php on line 3
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/embe-core/widgets/post-modules/post_modules_layout_5.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/embe-core/inc/redux/templates/panel/container.tpl.php:12
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/embe-core/widgets/last-posts/last_posts_style_2.php on line 3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/embe-core/widgets/posts-aside/posts_aside_layout_5.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/embe-core/widgets/about/about.php:1
- > PHP Notice
Trying to get property 'post' of non-object in wp-content/plugins/embe-core/widgets/posts-aside/posts_aside_layout_1.php on line 4
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/embe-core/widgets/posts-carausel/last_posts_carausel_single.php:5
- > PHP Notice
Undefined variable: wpQuery in wp-content/plugins/embe-core/widgets/post-modules/post_modules_layout_7.php on line 8
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=11
- > Deprecation (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1 Listener added for a synchronous 'DOMSubtreeModified' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=11
- > Network (severe)
wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=1
- > Security (severe) in unknown
/wp-admin/admin.php?page=alith_option_options&tab=1 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=7
- > Security (severe) in unknown
/wp-admin/admin.php?page=alith_option_options&tab=7 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=20
- > Security (severe) in unknown
/wp-admin/admin.php?page=alith_option_options&tab=20 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=6
- > Security (severe) in unknown
/wp-admin/admin.php?page=alith_option_options&tab=6 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=17
- > Security (severe) in unknown
/wp-admin/admin.php?page=alith_option_options&tab=17 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=16
- > Security (severe) in unknown
/wp-admin/admin.php?page=alith_option_options&tab=16 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=18
- > Security (severe) in unknown
/wp-admin/admin.php?page=alith_option_options&tab=18 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=8
- > Security (severe) in unknown
/wp-admin/admin.php?page=alith_option_options&tab=8 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=5
- > Security (severe) in unknown
/wp-admin/admin.php?page=alith_option_options&tab=5 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
- > GET request to /wp-admin/admin.php?page=alith_option_options&tab=11
- > Security (severe) in unknown
/wp-admin/admin.php?page=alith_option_options&tab=11 - Refused to execute script from '/wp-admin/admin-ajax.php?action=redux_p&nonce=c542cd4ece&url=http%3A%2F%2Flook.redux.io%2Fapi%2Findex.php%3Fjs%26g%261%26v%3D2&proxy=http%3A%2F%2Fwp.com%2Fwp-admin%2Fadmin-ajax.php%3Faction%3Dredux_p%26nonce%3Dc542cd4ece%26url%3D' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Optimizations
Plugin configuration 96% 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
4 plugin tags: redux framework, alithemes, magazine theme, embe theme
embe-core/embe-core.php 92% from 13 tests
Analyzing the main PHP file in "EmBe Core" version 2.2.1
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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 detected49,086 lines of code in 383 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 184 | 4,847 | 6,301 | 26,453 |
JavaScript | 90 | 2,661 | 1,959 | 12,234 |
Sass | 54 | 1,182 | 60 | 7,571 |
SVG | 3 | 1 | 2 | 1,165 |
JSON | 1 | 184 | 0 | 909 |
CSS | 50 | 28 | 51 | 701 |
LESS | 1 | 0 | 0 | 53 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 30.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 880.00 |
Average method complexity | 6.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 134 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 134 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 766 | |
▷ Static methods | 111 | 14.49% |
▷ Public methods | 619 | 80.81% |
▷ Protected methods | 91 | 11.88% |
▷ Private methods | 56 | 7.31% |
Functions | 62 | |
▷ Named functions | 61 | 98.39% |
▷ Anonymous functions | 1 | 1.61% |
Constants | 61 | |
▷ Global constants | 4 | 6.56% |
▷ Class constants | 57 | 93.44% |
▷ Public constants | 57 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
111 PNG files occupy 0.32MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/imgs/sidebar_right.png | 3.14KB | 0.26KB | ▼ 91.72% |
assets/imgs/layout-zigzag.png | 2.98KB | 0.16KB | ▼ 94.76% |
assets/imgs/featured_grid_2.png | 3.03KB | 0.19KB | ▼ 93.80% |
inc/redux/inc/fields/spinner/arrow_right.png | 0.15KB | 0.12KB | ▼ 18.18% |
inc/redux/assets/css/vendor/jquery-ui-bootstrap/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |