Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼10.53ms] Passed 4 tests
A check of server-side resources used by Material Design Icons for Page Builders
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 33.10 ▼13.31 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.31 ▼9.10 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 46.77 ▼3.13 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.89 ▼16.58 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.72 ▲0.26 |
Material Design Icons /wp-admin/options-general.php?page=elem-material-icons-settings | 3.32 | 39.51 |
Server storage [IO: ▲3.82MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 135 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Material Design Icons for Page Builders
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 13.77 ▼0.39 | 1.72 ▼0.09 | 42.79 ▼5.56 |
Dashboard /wp-admin | 2,228 ▲22 | 4.86 ▼0.01 | 98.13 ▼10.74 | 42.17 ▲0.43 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.06 ▲0.06 | 34.84 ▼1.57 | 36.14 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,557 ▲9 | 18.26 ▼5.17 | 624.68 ▼14.92 | 51.59 ▼3.09 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.22 ▼0.00 | 98.72 ▼0.56 | 43.19 ▼2.08 |
Material Design Icons /wp-admin/options-general.php?page=elem-material-icons-settings | 1,367 | 5.25 | 81.72 | 45.01 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 26× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/material-design-icons-for-elementor/includes/modules/vue-ui/components/tabs-panel.php
- > /wp-content/plugins/material-design-icons-for-elementor/includes/modules/vue-ui/components/select.php
- > /wp-content/plugins/material-design-icons-for-elementor/includes/modules/vue-ui/components/button.php
- > /wp-content/plugins/material-design-icons-for-elementor/includes/modules/vue-ui/components/f-select.php
- > /wp-content/plugins/material-design-icons-for-elementor/includes/modules/vue-ui/components/input.php
- > /wp-content/plugins/material-design-icons-for-elementor/includes/modules/vue-ui/components/component-wrapper.php
- > /wp-content/plugins/material-design-icons-for-elementor/includes/modules/vue-ui/components/repeater.php
- > /wp-content/plugins/material-design-icons-for-elementor/includes/modules/vue-ui/components/switcher.php
- > /wp-content/plugins/material-design-icons-for-elementor/includes/modules/vue-ui/components/time.php
- > /wp-content/plugins/material-design-icons-for-elementor/includes/modules/vue-ui/components/list-table-heading.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_page_title() in wp-content/plugins/material-design-icons-for-elementor/templates/admin/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in material-design-icons-for-elementor/assets to your readme.txt
material-design-icons-for-elementor/material-design-icons-for-elementor.php 92% from 13 tests
The main PHP file in "Material Design Icons for Page Builders" ver. 1.5.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected22,841 lines of code in 118 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 36 | 1,668 | 1,510 | 12,608 |
JSON | 4 | 0 | 0 | 6,658 |
PHP | 36 | 267 | 377 | 1,791 |
Sass | 36 | 117 | 1 | 1,778 |
CSS | 6 | 0 | 0 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 9.38 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 1 | 2.00% |
▷ Public methods | 48 | 96.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin