Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.16MB] [CPU: ▼16.38ms] Passed 4 tests
Analyzing server-side resources used by Frontend Post for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 47.90 ▲8.94 |
Dashboard /wp-admin | 3.21 ▼0.10 | 30.13 ▼16.71 |
Posts /wp-admin/edit.php | 3.27 ▼0.08 | 36.52 ▼10.38 |
Add New Post /wp-admin/post-new.php | 5.45 ▼0.44 | 62.93 ▼32.72 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 30.77 ▼5.70 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Frontend Post for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲192 | 15.07 ▲0.93 | 17.50 ▲15.73 | 39.99 ▼0.44 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▼0.17 | 113.21 ▲14.56 | 42.03 ▲1.21 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.02 | 39.43 ▲1.52 | 33.01 ▼7.65 |
Add New Post /wp-admin/post-new.php | 1,533 ▼2 | 23.21 ▲0.06 | 637.62 ▼12.99 | 53.90 ▼2.00 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.03 | 96.93 ▼5.78 | 43.86 ▼0.55 |
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: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please fix the following
- 10× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dj-elementor-frontend/widgets/inc/style-tinymce.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dj-elementor-frontend/widgets/inc/style-button.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dj-elementor-frontend/widgets/inc/style-placeholder.php:9
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dj-elementor-frontend/widgets/inc/post-settings.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dj-elementor-frontend/widgets/inc/content.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dj-elementor-frontend/widgets/inc/style-forms.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dj-elementor-frontend/widgets/inc/style-image-button.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dj-elementor-frontend/widgets/inc/logged-out-html.php:6
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dj-elementor-frontend/widgets/inc/style-label.php:10
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/dj-elementor-frontend/widgets/inc/default.php:10
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Contributors: The plugin contributors field is not present
dj-elementor-frontend/dj-frontend-post.php 77% from 13 tests
This is the main PHP file of "Frontend Post for Elementor" version 1.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dj-elementor-frontend.php" instead of "dj-frontend-post.php")
- 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
- Description: Please keep the plugin description shorter than 140 characters (currently 154 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected2,046 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 398 | 262 | 1,966 |
JavaScript | 3 | 40 | 38 | 59 |
CSS | 1 | 7 | 0 | 21 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 55.00% |
▷ Protected methods | 6 | 30.00% |
▷ Private methods | 3 | 15.00% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin