Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/r3df-meetup-widget/r3df-meetup-widget.php+37
Function create_function() is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼60.72ms] Passed 4 tests
Server-side resources used by R3DF Meetup Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 5.20 ▼36.81 |
Dashboard /wp-admin | 2.10 ▼1.24 | 6.64 ▼56.59 |
Posts /wp-admin/edit.php | 2.10 ▼1.25 | 6.31 ▼43.30 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.14 ▼106.18 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 6.01 ▼32.71 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_r3dfmeetup |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for R3DF Meetup Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.21 ▼0.07 | 1.82 ▼0.15 | 44.44 ▲0.38 |
Dashboard /wp-admin | 2,195 ▲18 | 5.63 ▼0.02 | 94.61 ▲5.31 | 40.01 ▼3.24 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.98 ▼0.05 | 34.79 ▼0.03 | 35.84 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,526 ▼12 | 23.35 ▲0.31 | 622.15 ▼30.04 | 59.69 ▲10.69 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.28 ▲0.09 | 100.45 ▲0.03 | 44.01 ▼4.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/r3df-meetup-widget/r3df-meetup-widget.php+37
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/r3df-meetup-widget/r3df-meetup-widget.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (The widget admin.), #2 (The widget on the site.)
r3df-meetup-widget/r3df-meetup-widget.php Passed 13 tests
"R3DF Meetup Widget" version 1.0.12's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
38 characters long description:
Displays meetup group link in a widget
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected198 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 36 | 85 | 121 |
PO File | 1 | 11 | 12 | 43 |
CSS | 1 | 0 | 0 | 34 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/meetup_logo_49.png | 3.53KB | 1.88KB | ▼ 46.73% |
screenshot-1.png | 51.96KB | 21.00KB | ▼ 59.59% |
screenshot-2.png | 16.64KB | 7.77KB | ▼ 53.31% |