Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.24MB] [CPU: ▲9.28ms] Passed 4 tests
An overview of server-side resources used by Import Meetup Events
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.71 ▲1.24 | 46.13 ▲8.67 |
Dashboard /wp-admin | 4.53 ▲1.23 | 56.21 ▲10.77 |
Posts /wp-admin/edit.php | 4.65 ▲1.29 | 59.84 ▲17.60 |
Add New Post /wp-admin/post-new.php | 7.14 ▲1.25 | 98.49 ▲6.09 |
Media Library /wp-admin/upload.php | 4.45 ▲1.23 | 46.30 ▲11.57 |
Add New /wp-admin/post-new.php?post_type=meetup_events | 4.61 | 61.13 |
Event Tags /wp-admin/edit-tags.php?taxonomy=meetup_tag&post_type=meetup_events | 4.45 | 40.14 |
Meetup Events /wp-admin/edit.php?post_type=meetup_events | 4.50 | 44.48 |
Event Categories /wp-admin/edit-tags.php?taxonomy=meetup_category&post_type=meetup_events | 4.45 | 39.45 |
Server storage [IO: ▲1.61MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
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 / | 2,911 ▲164 | 13.74 ▼0.61 | 1.66 ▲0.10 | 40.26 ▲3.62 |
Dashboard /wp-admin | 2,302 ▲124 | 5.08 ▼0.64 | 97.76 ▼20.25 | 37.88 ▼5.77 |
Posts /wp-admin/edit.php | 2,194 ▲91 | 2.44 ▲0.49 | 44.62 ▲3.37 | 36.75 ▼0.34 |
Add New Post /wp-admin/post-new.php | 6,464 ▲4,938 | 28.15 ▲5.00 | 1,011.61 ▲338.51 | 41.06 ▼29.19 |
Media Library /wp-admin/upload.php | 1,517 ▲117 | 4.55 ▲0.36 | 92.41 ▼1.94 | 40.14 ▼4.26 |
Add New /wp-admin/post-new.php?post_type=meetup_events | 3,392 | 7.38 | 201.49 | 77.61 |
Event Tags /wp-admin/edit-tags.php?taxonomy=meetup_tag&post_type=meetup_events | 1,361 | 2.21 | 35.92 | 34.44 |
Meetup Events /wp-admin/edit.php?post_type=meetup_events | 1,230 | 2.54 | 38.86 | 33.21 |
Event Categories /wp-admin/edit-tags.php?taxonomy=meetup_category&post_type=meetup_events | 1,386 | 2.22 | 30.77 | 30.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% 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 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 take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/import-meetup-events/templates/ime-archive-content2.php:13
- > 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 Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #4, #5, #6, #7, #8 in import-meetup-events/assets to your readme.txt
- Tags: You are using too many tags: 21 tag instead of maximum 10
import-meetup-events/import-meetup-events.php Passed 13 tests
This is the main PHP file of "Import Meetup Events" version 1.6.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
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 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected15,727 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 1,204 | 1,619 | 7,213 |
CSS | 6 | 130 | 75 | 5,214 |
SVG | 6 | 0 | 3 | 2,888 |
JavaScript | 4 | 27 | 9 | 412 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 57.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 230.00 |
Average method complexity | 5.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 70.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 228 | |
▷ Static methods | 5 | 2.19% |
▷ Public methods | 164 | 71.93% |
▷ Protected methods | 58 | 25.44% |
▷ Private methods | 6 | 2.63% |
Functions | 7 | |
▷ Named functions | 7 | 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
Often times overlooked, PNG files can occupy unnecessary space in 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% |