Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.74MB] [CPU: ▼40.38ms] Passed 4 tests
An overview of server-side resources used by WP Frontend
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.23 ▼0.23 | 15.76 ▼22.68 |
Dashboard /wp-admin | 3.27 ▼0.03 | 18.78 ▼28.99 |
Posts /wp-admin/edit.php | 3.27 ▼0.08 | 19.42 ▼28.62 |
Add New Post /wp-admin/post-new.php | 3.27 ▼2.61 | 18.25 ▼81.23 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 21.74 ▼11.48 |
Server storage [IO: ▲1.91MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 64 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wpfrontend_pages |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Frontend
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,043 ▲297 | 13.26 ▼1.17 | 4.05 ▲2.42 | 43.15 ▲2.15 |
Dashboard /wp-admin | 2,449 ▲258 | 5.87 ▲0.91 | 106.75 ▲2.45 | 42.53 ▼1.64 |
Posts /wp-admin/edit.php | 2,336 ▲244 | 2.13 ▲0.11 | 35.07 ▼2.20 | 34.16 ▲0.90 |
Add New Post /wp-admin/post-new.php | 1,747 ▲212 | 17.54 ▼5.68 | 664.04 ▼0.49 | 56.58 ▲7.95 |
Media Library /wp-admin/upload.php | 1,632 ▲247 | 4.20 ▲0.03 | 105.59 ▲4.79 | 46.32 ▲3.93 |
News /wp-admin/admin.php?page=wpfront#/cc-news | 2,805 | 5.16 | 80.37 | 21.75 |
Contact Form /wp-admin/admin.php?page=wpfront#/forms/promo-contact-form | 2,839 | 5.35 | 76.02 | 33.57 |
Registration Form /wp-admin/admin.php?page=wpfront#/forms/promo-registration-form | 2,839 | 5.33 | 63.00 | 34.17 |
All Forms /wp-admin/admin.php?page=wpfront#/ | 2,960 | 5.95 | 79.82 | 35.33 |
Settings /wp-admin/admin.php?page=wpfront#/settings | 3,519 | 6.25 | 84.72 | 27.30 |
Add Form /wp-admin/admin.php?page=wpfront#/forms/form-types | 2,867 | 5.43 | 58.15 | 25.32 |
Help /wp-admin/admin.php?page=wpfront#/help | 2,933 | 5.60 | 71.32 | 33.00 |
Upgrage to Pro /wp-admin/admin.php?page=wpfront#/get-pro | 2,881 | 5.36 | 57.08 | 30.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/wp-frontend/shortcodes/dashboard.php+15
Undefined index: section
- Zombie WordPress options were found after uninstall: 7 options
- wpfrontend_pages
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wp-frontend/data.php
- > /wp-content/plugins/wp-frontend/templates/form-items.php
- > /wp-content/plugins/wp-frontend/templates/edit-form.php
- > /wp-content/plugins/wp-frontend/templates/core/form-builder.php
- 20× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_statuses() in wp-content/plugins/wp-frontend/templates/forms.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-frontend/templates/promo-contact-form.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-frontend/form-builder-admin.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-frontend/wpfrontend-applications.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_statuses() in wp-content/plugins/wp-frontend/templates/entries.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-frontend/ajax-actions.php:5
- > PHP Fatal error
Uncaught Error: Class 'Wpfront_Functions' not found in wp-content/plugins/wp-frontend/templates/form-types.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-frontend/news.php:23
- > PHP Fatal error
Trait 'Wpfront_Edit' not found in wp-content/plugins/wp-frontend/shortcodes/shortcode.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-frontend/templates/promo-get-pro.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=wpfront#/cc-news
- > Console-api (severe) in unknown
/wp-content/plugins/wp-frontend/assets/js/vue.min.js?ver=6.3.1 5:10851 TypeError: Cannot read properties of null (reading 'status')at o.eval (eval at xa (/wp-content/plugins/wp-frontend/assets/js/vue.min.js?ver=6.3.1:6:84572), :3:39)at fn._render (/wp-content/plugins/wp-frontend/assets/js/vue.min.js?ver=6.3.1:6:32687)at o.i (/wp-content/plugins/wp-frontend/assets/js/vue.min.js?ver=6.3.1:6:63783)at St.get (/wp-content/plugins/wp-frontend/assets/js/vue.min.js?ver=6.3.1:6:16005)at St.run (/wp-content/plugins/wp-frontend/assets/js/vue.min.js?ver=6.3.1:6:16889)at At (/wp-content/plugins/wp-frontend/assets/js/vue.min.js?ver=6.3.1:6:15026)at Array. (/wp-content/plugins/wp-frontend/assets/js/vue.min.js?ver=6.3.1:6:11498)at Ke (/wp-content/plugins/wp-frontend/assets/js/vue.min.js?ver=6.3.1:6:10958)
Optimizations
Plugin configuration 90% 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 require attention:
- Tags: You are using too many tags: 28 tag instead of maximum 10
wp-frontend/wp-frontend.php 85% from 13 tests
The main PHP script in "WP Frontend" version 1.0.1.1 is automatically included on every request by WordPress
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin25,752 lines of code in 57 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 1,324 | 1,588 | 12,595 |
JSON | 2 | 0 | 0 | 6,201 |
PHP | 31 | 457 | 345 | 4,426 |
CSS | 3 | 3 | 50 | 2,095 |
LESS | 1 | 14 | 20 | 435 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 23.43 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 5 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 101 | |
▷ Static methods | 38 | 37.62% |
▷ Public methods | 101 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
No PNG images were found in this plugin