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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.38MB] [CPU: ▲2.78ms] Passed 4 tests
This is a short check of server-side resources used by Rundiz Events
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 56.98 ▲5.68 |
Dashboard /wp-admin | 3.72 ▲0.41 | 54.97 ▲3.59 |
Posts /wp-admin/edit.php | 3.77 ▲0.41 | 57.84 ▲4.75 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 104.57 ▼1.19 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 40.92 ▲3.95 |
Settings /wp-admin/edit.php?post_type=rd_events&page=rd-events-settings | 3.55 | 36.17 |
All Events /wp-admin/edit.php?post_type=rd_events | 3.62 | 41.53 |
Add New /wp-admin/post-new.php?post_type=rd_events | 3.80 | 55.60 |
Server storage [IO: ▲1.68MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 79 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_rd_events_calendar_widget |
can_compress_scripts |
rundiz_events_options |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Rundiz Events
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲81 | 14.26 ▼0.09 | 1.97 ▲0.12 | 46.84 ▲4.02 |
Dashboard /wp-admin | 2,226 ▲58 | 5.61 ▲0.02 | 84.36 ▼18.15 | 39.74 ▼2.87 |
Posts /wp-admin/edit.php | 2,125 ▲22 | 2.04 ▲0.05 | 40.73 ▼1.92 | 39.23 ▲4.06 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 23.19 ▲0.20 | 628.13 ▼18.54 | 59.78 ▲8.38 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.22 ▲0.01 | 102.60 ▼6.77 | 41.29 ▼5.51 |
Settings /wp-admin/edit.php?post_type=rd_events&page=rd-events-settings | 856 | 2.01 | 24.43 | 27.48 |
All Events /wp-admin/edit.php?post_type=rd_events | 1,150 | 1.97 | 30.82 | 27.05 |
Add New /wp-admin/post-new.php?post_type=rd_events | 2,831 | 9.94 | 311.05 | 168.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_rd_events_calendar_widget
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 50% 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
Please fix the following
- 27× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/rd-events/example/single-use-shortcode.php:23
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rd-events/App/Widgets/CalendarWidget.php:12
- > PHP Fatal error
Uncaught Error: Interface 'RdEvents\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rd-events/App/Controllers/Front/EnqueueStyleScript.php:15
- > PHP Fatal error
Uncaught Error: Interface 'RdEvents\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rd-events/App/Controllers/Admin/Activate.php:15
- > PHP Fatal error
Uncaught Error: Interface 'RdEvents\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rd-events/App/Controllers/Front/Events/Templates.php:12
- > PHP Fatal error
Uncaught Error: Interface 'RdEvents\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rd-events/App/Controllers/Admin/Uninstall.php:15
- > PHP Fatal error
Uncaught Error: Interface 'RdEvents\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rd-events/App/Controllers/Admin/PluginMetaAndLinks.php:12
- > PHP Fatal error
Uncaught Error: Interface 'RdEvents\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rd-events/App/Controllers/Admin/Events/EventsPostType.php:15
- > PHP Fatal error
Uncaught Error: Interface 'RdEvents\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/rd-events/App/Controllers/Front/Shortcodes/AvailableShortcodes.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/rd-events/App/Views/Admin/Events/EventsMetaboxes/metaboxEventDate_v.php:49
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/post-new.php?post_type=rd_events
- > Javascript (severe) in unknown
https://maps.googleapis.com/maps-api-v3/api/js/54/10/map.js 103:685 Uncaught ReferenceError: Cannot access 'Na' before initialization
- > GET request to /wp-admin/post-new.php?post_type=rd_events
- > Console-api (severe) in unknown
https://maps.googleapis.com/maps/api/js?key&libraries=places&callback=rdEventsInitMap&ver=6.3.1 153:248 "You are using this API without a key. See https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors"
- > GET request to /wp-admin/post-new.php?post_type=rd_events
- > Javascript (severe) in unknown
https://maps.googleapis.com/maps-api-v3/api/js/54/10/controls.js 81:501 Uncaught TypeError: Cannot read properties of null (reading 'set')
Optimizations
Plugin configuration 96% from 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: events, meeting, calendar, plans
rd-events/rd-events.php 92% from 13 tests
The main file in "Rundiz Events" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("/App/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected19,606 lines of code in 62 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 627 | 2,464 | 14,575 |
CSS | 14 | 363 | 472 | 3,326 |
PHP | 34 | 441 | 722 | 1,518 |
PO File | 1 | 184 | 414 | 158 |
Markdown | 1 | 15 | 0 | 29 |
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.45 |
Average class complexity | 9.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 8 | 14.55% |
▷ Public methods | 54 | 98.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.82% |
Functions | 18 | |
▷ Named functions | 6 | 33.33% |
▷ Anonymous functions | 12 | 66.67% |
Constants | 2 | |
▷ Global constants | 2 | 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
11 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
assets/css/jquery-ui/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |
assets/css/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
assets/css/jquery-ui/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
assets/css/jquery-ui/images/ui-icons_2e83ff_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |