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
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.84ms] Passed 4 tests
Analyzing server-side resources used by Event Master Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 37.94 ▼10.53 |
Dashboard /wp-admin | 3.46 ▲0.16 | 50.91 ▼6.00 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 54.63 ▲4.00 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 89.39 ▼6.36 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 36.93 ▼0.45 |
Category /wp-admin/edit-tags.php?taxonomy=softsdev_event_category&post_type=softsdev_events | 3.50 | 36.52 |
Tags /wp-admin/edit-tags.php?taxonomy=softsdev_event_tags&post_type=softsdev_events | 3.50 | 36.06 |
Add New Event /wp-admin/post-new.php?post_type=softsdev_events | 3.53 | 49.52 |
Event Master /wp-admin/edit.php?post_type=softsdev_events | 3.46 | 44.00 |
Server storage [IO: ▲1.91MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 134 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Event Master Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,946 ▲185 | 13.95 ▼0.58 | 13.61 ▲11.79 | 39.95 ▼3.62 |
Dashboard /wp-admin | 2,227 ▲47 | 5.58 ▼0.07 | 83.05 ▼6.06 | 38.26 ▼1.47 |
Posts /wp-admin/edit.php | 2,135 ▲38 | 1.98 ▼0.02 | 36.24 ▼1.21 | 33.17 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,555 ▲27 | 23.18 ▼0.03 | 667.33 ▼16.28 | 64.34 ▲8.30 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.19 ▼0.01 | 93.80 ▼8.96 | 41.95 ▼4.35 |
Category /wp-admin/edit-tags.php?taxonomy=softsdev_event_category&post_type=softsdev_events | 1,309 | 2.12 | 28.19 | 29.28 |
Tags /wp-admin/edit-tags.php?taxonomy=softsdev_event_tags&post_type=softsdev_events | 1,281 | 2.24 | 27.65 | 29.99 |
Add New Event /wp-admin/post-new.php?post_type=softsdev_events | 5,740 | 9.85 | 261.90 | 80.18 |
Event Master /wp-admin/edit.php?post_type=softsdev_events | 1,341 | 4.37 | 84.86 | 71.76 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 9 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-general_info.php+39
Undefined variable: event_color
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-event_timing.php+15
Undefined variable: event_type
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-event_address.php+10
Undefined variable: title
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-event_address.php+17
Undefined variable: address_1
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-event_address.php+23
Undefined variable: address_2
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-event_address.php+29
Undefined variable: city
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-event_address.php+35
Undefined variable: state
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-event_address.php+41
Undefined variable: zip
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-event_address.php+47
Undefined variable: country
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-event_address.php+56
Undefined variable: contact_number
- > GET request to /wp-admin/post-new.php?post_type=softsdev_events
- > Notice in wp-content/plugins/event-master/templates/admin/tab-event_address.php+63
Undefined variable: contact_email
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
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/event-master/templates/admin/tab-registered_users.php
- > /wp-content/plugins/event-master/fullcalendar-2.3.2/demos/php/get-events.php
- > /wp-content/plugins/event-master/fullcalendar-2.3.2/demos/php/get-timezones.php
- 12× 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 plugin_dir_path() in wp-content/plugins/event-master/event-master.php:18
- > PHP Notice
Undefined variable: gallery in wp-content/plugins/event-master/templates/admin/mb-event_images.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_attachment_image() in wp-content/plugins/event-master/templates/admin/mb-event_images.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/event-master/templates/admin/tab-event_char_n_disc.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/event-master/softsdev-event-master-content.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/event-master/templates/archive-softsdev_events.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/event-master/softsdev-event-master-post-type.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/event-master/templates/admin/tab-general_info.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/event-master/templates/admin/tab-event_timing.php:7
- > PHP Notice
Undefined variable: gallery in wp-content/plugins/event-master/templates/admin/mb-event_images.php on line 3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=softsdev_events
- > Console-api (warning) in unknown
https://maps.googleapis.com/maps/api/js?libraries=places&key=AIzaSyCLL1uo4yKXTu8cJTA6kdkKZB7vhzjcK6Q&ver=6.3.1 235:51 "Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading"
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
Please fix the following attributes:
- Screenshots: Add images for these screenshots: #1 (screenshot1), #2 (screenshot2), #3 (screenshot3)
event-master/event-master.php 85% from 13 tests
This is the main PHP file of "Event Master Plugin" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
- 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 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin16,895 lines of code in 98 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 61 | 4,318 | 2,253 | 12,364 |
CSS | 10 | 489 | 245 | 2,304 |
PHP | 15 | 175 | 472 | 1,112 |
HTML | 11 | 145 | 0 | 1,059 |
JSON | 1 | 0 | 0 | 56 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 11.20 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 12 | 30.00% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
23 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/help.png | 0.30KB | 0.32KB | 0.00% |
fullcalendar-2.3.2/lib/cupertino/images/ui-icons_2694e8_256x240.png | 4.49KB | 4.18KB | ▼ 6.89% |
images/events-icon.png | 1.50KB | 0.60KB | ▼ 59.78% |
fullcalendar-2.3.2/lib/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png | 0.25KB | 0.08KB | ▼ 66.67% |
images/missing-image.png | 18.64KB | 10.57KB | ▼ 43.31% |