Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.52MB] [CPU: ▼4.09ms] Passed 4 tests
An overview of server-side resources used by Moose Elementor Kit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 37.40 ▼2.50 |
Dashboard /wp-admin | 3.86 ▲0.51 | 48.20 ▼12.35 |
Posts /wp-admin/edit.php | 3.91 ▲0.56 | 49.18 ▲4.20 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.51 | 96.01 ▼3.96 |
Media Library /wp-admin/upload.php | 3.78 ▲0.55 | 36.75 ▲2.47 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 3.98 | 33.75 |
Server storage [IO: ▲3.83MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 229 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_debug_mode |
db_upgraded |
fs_accounts |
widget_recent-comments |
widget_recent-posts |
fs_active_plugins |
theysaidso_admin_options |
can_compress_scripts |
fs_gdpr |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Moose Elementor Kit
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,887 ▲141 | 13.36 ▼1.05 | 1.61 ▲0.07 | 32.96 ▼8.30 |
Dashboard /wp-admin | 2,287 ▲107 | 5.01 ▼0.64 | 88.15 ▼1.57 | 54.16 ▲15.08 |
Posts /wp-admin/edit.php | 2,208 ▲108 | 2.58 ▲0.56 | 42.70 ▲1.97 | 37.20 ▼2.10 |
Add New Post /wp-admin/post-new.php | 1,600 ▲74 | 23.20 ▲0.13 | 578.76 ▼66.15 | 52.19 ▲0.63 |
Media Library /wp-admin/upload.php | 1,493 ▲90 | 4.49 ▲0.31 | 90.58 ▼8.91 | 84.01 ▲38.88 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,142 | 2.19 | 28.34 | 25.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/moose-elementor-kit/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 10 options in the database
- fs_accounts
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- fs_debug_mode
- fs_active_plugins
- fs_gdpr
Smoke tests 75% 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 50% 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
- 27× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/moose-elementor-kit/src/Widgets/Badge.php:9
- > PHP Fatal error
Uncaught Error: Class 'MEK\\Core\\ElementsManager' not found in wp-content/plugins/moose-elementor-kit/templates/admin/extensions-tab.php:6
- > PHP Fatal error
Trait 'MEK\\Pro\\Traits\\Components\\Button' not found in wp-content/plugins/moose-elementor-kit/src/Traits/Components/Button.php on line 11
- > PHP Fatal error
Trait 'MEK\\Pro\\Traits\\Components\\Menu' not found in wp-content/plugins/moose-elementor-kit/src/Traits/Components/Menu.php on line 11
- > PHP Fatal error
Trait 'MEK\\Pro\\Traits\\Components\\Card' not found in wp-content/plugins/moose-elementor-kit/src/Traits/Components/Card.php on line 13
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/moose-elementor-kit/src/Widgets/Card.php:14
- > PHP Fatal error
Trait 'MEK\\Traits\\Components\\Button' not found in wp-content/plugins/moose-elementor-kit/src/Traits/Components/Hero.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/moose-elementor-kit/src/Widgets/Menu.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/moose-elementor-kit/src/Widgets/Slider.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_theme() in wp-content/plugins/moose-elementor-kit/templates/admin/moose-theme-notice.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: elementor form, widgets for elementor, elements, elementor widget, woocommerce elementor...
moose-elementor-kit/moose-elementor-kit.php Passed 13 tests
The principal PHP file in "Moose Elementor Kit" v. 1.0.0 is loaded by WordPress automatically on each request
39 characters long description:
Moose UI Kit For Elementor Page Builder
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected43,203 lines of code in 187 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 158 | 8,066 | 16,819 | 37,439 |
CSS | 18 | 189 | 3 | 3,043 |
JavaScript | 10 | 947 | 127 | 2,695 |
SVG | 1 | 0 | 0 | 26 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 50.18 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 18 | |
Classes | 69 | |
▷ Abstract classes | 2 | 2.90% |
▷ Concrete classes | 67 | 97.10% |
▷ Final classes | 0 | 0.00% |
Methods | 1,417 | |
▷ Static methods | 197 | 13.90% |
▷ Public methods | 911 | 64.29% |
▷ Protected methods | 178 | 12.56% |
▷ Private methods | 328 | 23.15% |
Functions | 114 | |
▷ Named functions | 108 | 94.74% |
▷ Anonymous functions | 6 | 5.26% |
Constants | 129 | |
▷ Global constants | 104 | 80.62% |
▷ Class constants | 25 | 19.38% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.26MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wp-moose-screenshot.png | 246.97KB | 248.69KB | 0.00% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |