Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin cannot be installed
- > Parse error in wp-content/plugins/stubwirecom-event-manager/stubwire_widget.class.php+83
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.15ms] Passed 4 tests
An overview of server-side resources used by StubWire.com Event Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.03 ▼2.68 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.09 ▼5.64 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.33 ▼2.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.02 ▼18.23 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.58 ▲0.16 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for StubWire.com Event Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲29 | 13.23 ▼1.39 | 1.72 ▼0.22 | 40.23 ▼1.85 |
Dashboard /wp-admin | 2,206 ▲21 | 4.86 ▼1.00 | 100.19 ▼5.04 | 40.57 ▼2.98 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 1.99 ▼0.01 | 41.14 ▲0.59 | 36.08 ▼0.53 |
Add New Post /wp-admin/post-new.php | 1,514 ▼8 | 17.73 ▼5.49 | 665.18 ▲0.50 | 58.09 ▲0.04 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.19 ▼0.06 | 99.05 ▼6.93 | 41.93 ▼4.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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
- 12× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/stubwirecom-event-manager/views/admin-templates.php
- > /wp-content/plugins/stubwirecom-event-manager/10/views/admin-import-events.php
- > /wp-content/plugins/stubwirecom-event-manager/views/admin-events.php
- > /wp-content/plugins/stubwirecom-event-manager/10/views/admin-stats.php
- > /wp-content/plugins/stubwirecom-event-manager/views/admin-stats.php
- > /wp-content/plugins/stubwirecom-event-manager/views/admin-import-events.php
- > /wp-content/plugins/stubwirecom-event-manager/templates/default_widget_listing.php
- > /wp-content/plugins/stubwirecom-event-manager/views/admin-template.php
- > /wp-content/plugins/stubwirecom-event-manager/10/views/admin-templates.php
- > /wp-content/plugins/stubwirecom-event-manager/10/views/admin-template.php
- 54× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: pageHTML_Header in wp-content/plugins/stubwirecom-event-manager/10/views/admin-stats.php on line 44
- > PHP Notice
Undefined variable: pageHTML_Body in wp-content/plugins/stubwirecom-event-manager/views/admin-events.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stubwirecom-event-manager/stubwire.class.php:333
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/stubwirecom-event-manager/10/views/admin-settings.php:4
- > PHP Warning
Use of undefined constant STUBWIRE_API_URL - assumed 'STUBWIRE_API_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/stubwirecom-event-manager/10/stubwire.class.php on line 326
- > PHP Notice
Undefined variable: pageHTML_Body in wp-content/plugins/stubwirecom-event-manager/10/views/admin-templates.php on line 3
- > PHP Notice
Undefined variable: pageHTML_Footer in wp-content/plugins/stubwirecom-event-manager/views/admin-events.php on line 94
- > PHP Notice
Undefined variable: pageHTML_Footer in wp-content/plugins/stubwirecom-event-manager/views/admin-stats.php on line 44
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/stubwirecom-event-manager/10/views/admin.php:3
- > PHP Notice
Undefined variable: currentPageURL in wp-content/plugins/stubwirecom-event-manager/views/admin-events.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 81% 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:
- Donate link: Invalid URI ("")
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
- Stable tag: No string
stubwirecom-event-manager/stubwirecom-event-manager.php 77% from 13 tests
The principal PHP file in "StubWire.com Event Manager" v. 10... is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 408 characters long)
- Version: The version number should be digits and periods (ex. "1.0.3" instead of "10...")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin3,071 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 576 | 585 | 3,071 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 86.67 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 243.00 |
Average method complexity | 7.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 82 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 44 | |
▷ Named functions | 44 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin