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 gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼3.46ms] Passed 4 tests
An overview of server-side resources used by EventScout
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.13 | 45.18 ▼2.81 |
Dashboard /wp-admin | 41.47 ▲38.12 | 7,838,931.66 ▲7,838,872.16 |
Posts /wp-admin/edit.php | 3.59 ▲0.19 | 51.64 ▼4.51 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.27 | 92.05 ▼10.02 |
Media Library /wp-admin/upload.php | 3.40 ▲0.12 | 41.12 ▲3.48 |
Categories /wp-admin/edit-tags.php?taxonomy=event_scout_category&post_type=event_scout | 3.39 | 39.89 |
Tags /wp-admin/edit-tags.php?taxonomy=event_scout_tag&post_type=event_scout | 3.39 | 40.81 |
Add New Event /wp-admin/post-new.php?post_type=event_scout | 6.20 | 92.69 |
All Events /wp-admin/edit.php?post_type=event_scout | 3.44 | 38.73 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by EventScout
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲191 | 13.47 ▼0.78 | 8.85 ▲6.98 | 42.20 ▼5.73 |
Dashboard /wp-admin | 2,247 ▲67 | 5.72 ▲0.05 | 91.06 ▼5.17 | 40.02 ▼1.28 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.19 ▲0.17 | 37.07 ▼2.20 | 35.23 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,570 ▲42 | 23.41 ▲0.63 | 680.01 ▲1.42 | 54.09 ▲3.81 |
Media Library /wp-admin/upload.php | 1,455 ▲58 | 4.35 ▲0.12 | 99.62 ▼8.68 | 41.65 ▼3.33 |
Categories /wp-admin/edit-tags.php?taxonomy=event_scout_category&post_type=event_scout | 1,332 | 2.29 | 37.34 | 31.98 |
Tags /wp-admin/edit-tags.php?taxonomy=event_scout_tag&post_type=event_scout | 1,332 | 2.42 | 28.36 | 30.87 |
Add New Event /wp-admin/post-new.php?post_type=event_scout | 6,243 | 19.51 | 887.93 | 36.85 |
All Events /wp-admin/edit.php?post_type=event_scout | 1,141 | 2.15 | 33.16 | 29.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 52 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=event_scout
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 52 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=event_scout
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/eventscout/admin/partials/event-scout-admin-display.php
- > /wp-content/plugins/eventscout/public/partials/event-scout-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/eventscout/templates/single-event_scout.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Requires at least: The plugin version is formatted incorrectly
eventscout/event-scout.php 85% from 13 tests
Analyzing the main PHP file in "EventScout" version 1.0.0
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("eventscout.php" instead of "event-scout.php")
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
Success! There were no dangerous files found in this plugin442 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 186 | 570 | 420 |
CSS | 3 | 4 | 13 | 13 |
JavaScript | 3 | 6 | 55 | 9 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 2.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 24 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 25.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin