Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'ExplaraLite_Install' not found
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.15ms] Passed 4 tests
Server-side resources used by Explara Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.97 ▼4.27 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.37 ▲2.72 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 52.17 ▲5.11 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.97 ▼8.96 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.83 ▲1.90 |
Server storage [IO: ▲2.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Explara Lite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,960 ▲171 | 14.59 ▲1.27 | 1.74 ▼0.17 | 42.50 ▼0.11 |
Dashboard /wp-admin | 2,356 ▲150 | 6.39 ▲0.53 | 120.13 ▲21.39 | 42.27 ▲1.81 |
Posts /wp-admin/edit.php | 2,268 ▲179 | 3.30 ▲1.29 | 44.57 ▲9.51 | 33.55 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,535 ▼7 | 23.38 ▲4.98 | 641.31 ▼10.63 | 37.20 ▼18.46 |
Media Library /wp-admin/upload.php | 1,407 ▲19 | 4.17 ▼0.04 | 81.44 ▼21.49 | 45.31 ▲0.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'ExplaraLite_Install' not found
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
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 | 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
- 8× PHP files output text when accessed directly:
- > /wp-content/plugins/explara-lite/pages/member/members/shortcode-members-login-page.php
- > /wp-content/plugins/explara-lite/pages/member/events/shortcode-events-past.php
- > /wp-content/plugins/explara-lite/pages/member/members/shortcode-members-page.php
- > /wp-content/plugins/explara-lite/pages/member/events/shortcode-events-upcoming.php
- > /wp-content/plugins/explara-lite/pages/member/events/shortcode-events-past-page.php
- > /wp-content/plugins/explara-lite/pages/member/events/shortcode-events-upcoming-page.php
- > /wp-content/plugins/explara-lite/pages/member/members/shortcode-members-login.php
- > /wp-content/plugins/explara-lite/pages/member/members/shortcode-members-list.php
- 63× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/explara-lite/pages/admin/inc-menu-settings.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/explara-lite/pages/admin/inc-menu-settings.php:34
- > PHP Notice
Undefined variable: data in wp-content/plugins/explara-lite/pages/member/members/shortcode-members-login-page.php on line 10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/explara-lite/pages/member/members/shortcode-members-login.php on line 22
- > PHP Notice
Undefined variable: data in wp-content/plugins/explara-lite/pages/member/events/shortcode-events-past.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/explara-lite/pages/member/events/shortcode-events-past-page.php on line 14
- > PHP Notice
Undefined variable: data in wp-content/plugins/explara-lite/pages/member/events/shortcode-events-past-page.php on line 14
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/explara-lite/pages/member/events/shortcode-events-upcoming.php on line 8
- > PHP Notice
Undefined variable: data in wp-content/plugins/explara-lite/pages/member/members/shortcode-members-login-page.php on line 26
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/explara-lite/pages/member/members/shortcode-members-login.php on line 14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: groups, members, events, explara
explara-lite/explara-lite.php Passed 13 tests
This is the main PHP file of "Explara Lite" version 0.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
85 characters long description:
Easily integrate Explara Groups, Members & Events into your website using Shortcodes.
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
No dangerous file extensions were detected28,980 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 3,012 | 67 | 9,109 |
JSON | 2 | 0 | 0 | 6,770 |
Sass | 13 | 392 | 1 | 4,471 |
JavaScript | 4 | 861 | 375 | 3,992 |
SVG | 6 | 43 | 7 | 3,255 |
PHP | 26 | 328 | 64 | 1,383 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.30 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 28 | 73.68% |
▷ Public methods | 32 | 84.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 15.79% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 6 | |
▷ Global constants | 6 | 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