Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.87MB] [CPU: ▼313.81ms] Passed 4 tests
An overview of server-side resources used by Import Meetup Events
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.43 ▲0.91 | 62.16 ▼16.88 |
Dashboard /wp-admin | 4.26 ▲0.85 | 39.71 ▲7.03 |
Posts /wp-admin/edit.php | 4.56 ▲0.91 | 49.89 ▲11.04 |
Add New Post /wp-admin/post-new.php | 7.80 ▲0.82 | 104.55 ▼1,254.25 |
Media Library /wp-admin/upload.php | 4.21 ▲0.91 | 32.57 ▲8.86 |
Meetup Events /wp-admin/edit.php?post_type=meetup_events | 4.26 | 39.62 |
Event Categories /wp-admin/edit-tags.php?taxonomy=meetup_category&post_type=meetup_events | 4.21 | 30.16 |
Add New /wp-admin/post-new.php?post_type=meetup_events | 4.58 | 52.57 |
Event Tags /wp-admin/edit-tags.php?taxonomy=meetup_tag&post_type=meetup_events | 4.21 | 31.53 |
Meetup Import /wp-admin/admin.php?page=meetup_import | 4.19 | 32.81 |
Server storage [IO: ▲1.52MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 53 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Import Meetup Events
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,905 ▲183 | 16.30 ▲1.19 | 6.80 ▼1.46 | 3.00 ▲0.73 |
Dashboard /wp-admin | 2,998 ▲141 | 7.02 ▲0.90 | 122.87 ▼33.72 | 214.27 ▲39.97 |
Posts /wp-admin/edit.php | 2,798 ▲113 | 3.22 ▼0.02 | 72.82 ▲9.81 | 169.73 ▲20.27 |
Add New Post /wp-admin/post-new.php | 1,746 ▲108 | 16.64 ▲1.19 | 436.86 ▼4.23 | 179.03 ▼8.57 |
Media Library /wp-admin/upload.php | 1,800 ▲105 | 6.07 ▲0.53 | 120.93 ▼17.96 | 196.18 ▲4.01 |
Meetup Events /wp-admin/edit.php?post_type=meetup_events | 1,550 | 3.24 | 69.97 | 133.08 |
Event Categories /wp-admin/edit-tags.php?taxonomy=meetup_category&post_type=meetup_events | 1,725 | 3.29 | 58.02 | 136.62 |
Add New /wp-admin/post-new.php?post_type=meetup_events | 4,338 | 9.95 | 210.61 | 231.25 |
Event Tags /wp-admin/edit-tags.php?taxonomy=meetup_tag&post_type=meetup_events | 1,693 | 3.29 | 66.47 | 117.97 |
Meetup Import /wp-admin/admin.php?page=meetup_import | 1,618 | 3.24 | 64.28 | 178.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: event_id in wp-content/plugins/import-meetup-events/templates/event-meta.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/import-meetup-events/templates/event-meta.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/import-meetup-events/templates/archive-content.php:13
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #4, #5, #6, #7 in import-meetup-events/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 21 tag instead of maximum 10
import-meetup-events/import-meetup-events.php Passed 13 tests
"Import Meetup Events" version 1.5.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
107 characters long description:
Import Meetup Events allows you to import Meetup (meetup.com) events into your WordPress site effortlessly.
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
Everything looks great! No dangerous files found in this plugin13,349 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 746 | 1,189 | 5,305 |
CSS | 5 | 108 | 74 | 4,839 |
SVG | 6 | 0 | 3 | 2,888 |
JavaScript | 4 | 20 | 16 | 317 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 44.78 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 6.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 150 | |
▷ Static methods | 1 | 0.67% |
▷ Public methods | 145 | 96.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 3.33% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/xt_logo.png | 8.77KB | 4.34KB | ▼ 50.47% |