Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▲4.54ms] Passed 4 tests
A check of server-side resources used by Events Block For The Events Calendar
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 52.20 ▲4.29 |
Dashboard /wp-admin | 3.38 ▲0.07 | 56.61 ▲6.91 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 51.76 ▼0.78 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 102.30 ▲12.03 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 43.68 ▲7.74 |
Server storage [IO: ▲2.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 48 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
ebec-v |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
ebec_activation_time |
Browser metrics Passed 4 tests
A check of browser resources used by Events Block For The Events Calendar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▼1 | 13.17 ▼1.24 | 6.04 ▲3.52 | 43.52 ▼5.64 |
Dashboard /wp-admin | 2,216 ▲10 | 4.88 ▲0.04 | 111.70 ▲1.21 | 41.40 ▼2.82 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.03 ▲0.02 | 39.93 ▼0.59 | 38.25 ▲2.53 |
Add New Post /wp-admin/post-new.php | 1,524 ▼18 | 23.48 ▲5.40 | 603.56 ▼2.97 | 51.93 ▼2.98 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.31 ▲0.08 | 102.13 ▼6.08 | 45.77 ▲3.40 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 8 options in the database
- widget_theysaidso_widget
- ebec-v
- widget_recent-comments
- ebec_activation_time
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant EBEC_URL - assumed 'EBEC_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/events-block-for-the-events-calendar/admin/feedback/admin-feedback-form.php on line 167
- > PHP Fatal error
Uncaught Error: Call to undefined function ebec\\feedback\\add_action() in wp-content/plugins/events-block-for-the-events-calendar/admin/feedback/admin-feedback-form.php:18
- > PHP Warning
Use of undefined constant EBEC_VERSION - assumed 'EBEC_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/events-block-for-the-events-calendar/admin/feedback/admin-feedback-form.php on line 167
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: gutenberg block, block, event, the events calendar, events block...
events-block-for-the-events-calendar/events-block-for-the-event-calender.php 85% from 13 tests
"Events Block For The Events Calendar" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("events-block-for-the-events-calendar.php" instead of "events-block-for-the-event-calender.php")
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
Good job! No executable or dangerous file extensions detected26,632 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 2 | 0 | 22,516 |
JavaScript | 20 | 148 | 212 | 1,656 |
CSS | 4 | 260 | 247 | 1,155 |
PHP | 8 | 97 | 92 | 867 |
Sass | 1 | 36 | 11 | 360 |
SVG | 1 | 65 | 0 | 78 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 12.75 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 22 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 8.33% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 1.18MB with 0.86MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/ebec-logo.png | 12.89KB | 3.97KB | ▼ 69.20% |
dist/images/events.bb8bdf7c.png | 598.24KB | 151.32KB | ▼ 74.71% |
src/Components/preview/events.png | 598.24KB | 151.32KB | ▼ 74.71% |