Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/meetup-widgets/vs_meetup_widgets.php+364
Methods with the same name as their class will not be constructors in a future version of PHP; VsMeetSingleWidget has a deprecated constructor
Server metrics [RAM: ▼1.77MB] [CPU: ▼52.65ms] Passed 4 tests
Server-side resources used by Meetup Widgets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.22 ▼1.24 | 4.58 ▼35.50 |
Dashboard /wp-admin | 2.24 ▼1.10 | 7.41 ▼54.37 |
Posts /wp-admin/edit.php | 2.25 ▼1.11 | 7.02 ▼36.55 |
Add New Post /wp-admin/post-new.php | 2.24 ▼3.64 | 6.98 ▼84.16 |
Media Library /wp-admin/upload.php | 2.24 ▼0.98 | 5.30 ▼27.36 |
Server storage [IO: ▲0.06MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_vsmeetlistwidget |
widget_recent-comments |
widget_vsmeetuserlistwidget |
widget_vsmeetsinglewidget |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Meetup Widgets: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.35 ▼0.00 | 1.55 ▼0.19 | 38.67 ▼8.96 |
Dashboard /wp-admin | 2,195 ▲18 | 5.61 ▲0.05 | 91.19 ▼1.95 | 40.27 ▲1.30 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.02 ▲0.05 | 39.99 ▲4.11 | 34.62 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.43 ▲0.30 | 661.10 ▼9.98 | 55.44 ▼1.76 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.21 | 96.85 ▲4.24 | 41.95 ▼2.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/meetup-widgets/vs_meetup_widgets.php+364
Methods with the same name as their class will not be constructors in a future version of PHP; VsMeetSingleWidget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- widget_vsmeetlistwidget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_vsmeetuserlistwidget
- widget_vsmeetsinglewidget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/meetup-widgets/meetup-list.php
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'VsMeet' not found in wp-content/plugins/meetup-widgets/vs_meetup_widgets.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/meetup-widgets/meetup-single.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/meetup-widgets/vs_meetup_widgets.php:364
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/meetup-widgets/meetup-list.php on line 5
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Example of the single event detail widget, shows title, date, an excerpt of the description, number of currently-rsvp'd attendees, a link to RSVP (through OAuth if configured), and the location (linking to a google map).), #2 (Example of the upcoming event list widget. Lists a set number of events from the group you specify, title & date.)
meetup-widgets/vs_meetup.php 92% from 13 tests
"Meetup Widgets" version 2.2.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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("meetup-widgets.php" instead of "vs_meetup.php")
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
Good job! No executable or dangerous file extensions detected535 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 85 | 101 | 535 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 11.60 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 19.24KB | 7.33KB | ▼ 61.90% |
screenshot-2.png | 13.83KB | 4.88KB | ▼ 64.71% |