Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.55ms] Passed 4 tests
An overview of server-side resources used by Event Importer for Meetup and The Events Calendar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.91 ▲0.26 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.65 ▼6.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.72 ▼0.67 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.16 ▼17.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.69 ▼1.75 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Event Importer for Meetup and The Events Calendar
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.29 ▼1.36 | 5.05 ▲3.12 | 41.47 ▼3.39 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▲0.04 | 95.28 ▼22.52 | 39.74 ▼8.50 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.02 | 40.00 ▲4.30 | 34.79 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.45 ▼5.55 | 661.76 ▼17.97 | 55.82 ▼5.64 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.22 ▼0.00 | 97.74 ▼5.84 | 40.13 ▼4.70 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/event-importer-for-meetup-and-the-events-calendar/includes/class-saved-imports-table.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined variable: event_cats in wp-content/plugins/event-importer-for-meetup-and-the-events-calendar/includes/views/tec-meetup-tab-content.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/event-importer-for-meetup-and-the-events-calendar/includes/views/tec-meetup-tab-content.php:30
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/event-importer-for-meetup-and-the-events-calendar/includes/views/tec-meetup-tab-content.php on line 24
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/event-importer-for-meetup-and-the-events-calendar/tec-meetup.php:398
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: calendar, meetup, events
event-importer-for-meetup-and-the-events-calendar/tec-meetup.php 85% from 13 tests
"Event Importer for Meetup and The Events Calendar" version 0.3.1'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:
- Main file name: The principal plugin file should be the same as the plugin slug ("event-importer-for-meetup-and-the-events-calendar.php" instead of "tec-meetup.php")
- 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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin794 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 179 | 636 | 759 |
CSS | 2 | 8 | 14 | 35 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 5 | 8.06% |
▷ Public methods | 57 | 91.94% |
▷ Protected methods | 5 | 8.06% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin