Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.60MB] [CPU: ▼2.68ms] Passed 4 tests
Server-side resources used by Element Path for Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.11 ▲0.64 | 47.26 ▼0.71 |
Dashboard /wp-admin | 3.93 ▲0.63 | 52.60 ▼1.53 |
Posts /wp-admin/edit.php | 3.98 ▲0.63 | 55.92 ▲4.47 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.59 | 87.21 ▼12.93 |
Media Library /wp-admin/upload.php | 3.79 ▲0.56 | 40.66 ▲4.66 |
Element Path /wp-admin/admin.php?page=elmpath-settings | 3.79 | 38.02 |
Team Category /wp-admin/edit-tags.php?taxonomy=team_cat&post_type=team | 3.79 | 38.91 |
Add Team /wp-admin/post-new.php?post_type=team | 3.95 | 52.45 |
Teams /wp-admin/edit.php?post_type=team | 3.90 | 45.54 |
Library /wp-admin/admin.php?page=elmpath-library | 3.76 | 35.90 |
Server storage [IO: ▲2.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 191 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
elmpath_api_response |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Element Path for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,864 ▲118 | 13.73 ▼0.89 | 1.84 ▼0.09 | 39.42 ▼2.78 |
Dashboard /wp-admin | 2,264 ▲76 | 5.09 ▲0.19 | 115.03 ▼1.36 | 42.63 ▼3.19 |
Posts /wp-admin/edit.php | 2,159 ▲70 | 2.35 ▲0.38 | 38.45 ▲4.02 | 32.26 ▼1.59 |
Add New Post /wp-admin/post-new.php | 6,286 ▲4,772 | 23.35 ▲5.65 | 929.75 ▲238.67 | 32.50 ▼25.35 |
Media Library /wp-admin/upload.php | 1,449 ▲61 | 4.33 ▲0.12 | 104.29 ▲3.61 | 46.09 ▼1.96 |
Element Path /wp-admin/admin.php?page=elmpath-settings | 1,750 | 2.15 | 27.46 | 53.57 |
Team Category /wp-admin/edit-tags.php?taxonomy=team_cat&post_type=team | 1,333 | 2.15 | 28.94 | 30.73 |
Add Team /wp-admin/post-new.php?post_type=team | 2,447 | 7.93 | 180.37 | 71.16 |
Teams /wp-admin/edit.php?post_type=team | 1,129 | 2.42 | 32.62 | 28.51 |
Library /wp-admin/admin.php?page=elmpath-library | 856 | 2.05 | 25.09 | 24.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- elmpath_api_response
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=team
- > Warning in wp-content/plugins/element-path-for-elementor/includes/classes/class-meta-boxes.php+104
array_keys() expects parameter 1 to be array, string given
- > GET request to /wp-admin/post-new.php?post_type=team
- > Warning in wp-content/plugins/element-path-for-elementor/includes/classes/class-meta-boxes.php+104
array_map(): Expected parameter 2 to be an array, string given
- > GET request to /wp-admin/post-new.php?post_type=team
- > Warning in wp-content/plugins/element-path-for-elementor/includes/classes/class-meta-boxes.php+110
implode(): Invalid arguments passed
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/element-path-for-elementor/widgets/team/views/template-7.php
- 70× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function elmpath() in wp-content/plugins/element-path-for-elementor/widgets/posts-grid/views/template-1.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function elmpath() in wp-content/plugins/element-path-for-elementor/widgets/pricing/views/template-1.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function elmpath() in wp-content/plugins/element-path-for-elementor/widgets/mailchimp/views/template-1.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function elmpath() in wp-content/plugins/element-path-for-elementor/widgets/tribe-events-grid/views/template-2.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function elmpath() in wp-content/plugins/element-path-for-elementor/widgets/posts-grid/views/template-2.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function elmpath() in wp-content/plugins/element-path-for-elementor/widgets/charts/views/template-2.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function elmpath() in wp-content/plugins/element-path-for-elementor/widgets/team/views/template-2.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function elmpath() in wp-content/plugins/element-path-for-elementor/widgets/social-profile/views/template-2.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function elmpath() in wp-content/plugins/element-path-for-elementor/widgets/tribe-events-grid/views/template-1.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function elmpath() in wp-content/plugins/element-path-for-elementor/widgets/slider/views/template-3.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Widgets List)
element-path-for-elementor/element-path.php 85% from 13 tests
"Element Path for Elementor" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("element-path-for-elementor.php" instead of "element-path.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected37,621 lines of code in 178 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 42 | 3,896 | 521 | 20,409 |
PHP | 107 | 2,796 | 1,656 | 15,825 |
JavaScript | 28 | 432 | 198 | 1,188 |
SVG | 1 | 0 | 0 | 199 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 10.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 312.00 |
Average method complexity | 2.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 1 | 2.38% |
▷ Concrete classes | 41 | 97.62% |
▷ Final classes | 0 | 0.00% |
Methods | 238 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 186 | 78.15% |
▷ Protected methods | 38 | 15.97% |
▷ Private methods | 14 | 5.88% |
Functions | 10 | |
▷ Named functions | 5 | 50.00% |
▷ Anonymous functions | 5 | 50.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 3.32KB | 1.76KB | ▼ 46.89% |
assets/images/feature.png | 29.32KB | 10.78KB | ▼ 63.23% |
assets/images/shape-1.png | 3.52KB | 1.59KB | ▼ 54.81% |