Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.06ms] Passed 4 tests
A check of server-side resources used by RSVPMaker Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.68 ▲0.98 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.32 ▼5.29 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.42 ▼2.74 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.94 ▼17.19 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.69 ▲2.56 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_rsvpmaker_by_json |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
RSVPMaker Widget: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.35 ▼0.20 | 1.68 ▲0.15 | 44.68 ▲5.52 |
Dashboard /wp-admin | 2,195 ▲15 | 5.63 ▲0.04 | 93.43 ▲0.47 | 40.13 ▼1.36 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.01 | 33.21 ▼3.46 | 35.97 ▼3.80 |
Add New Post /wp-admin/post-new.php | 6,242 ▲4,716 | 20.64 ▼2.49 | 874.90 ▲239.87 | 54.17 ▼1.60 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.18 ▲0.01 | 98.27 ▼6.08 | 42.69 ▼2.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_rsvpmaker_by_json
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/rsvpmaker-widget/ui.php:5
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Please add an image for screenshot #1 (Event listings displayed in the body of a page and also in the sidebar widget.)
rsvpmaker-widget/rsvpmaker-by-json-widget.php 85% from 13 tests
"RSVPMaker Widget" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rsvpmaker-widget.php" instead of "rsvpmaker-by-json-widget.php")
- Description: Keep the plugin description shorter than 140 characters (currently 311 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin7,512 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 7,192 |
JavaScript | 4 | 11 | 35 | 133 |
PHP | 3 | 19 | 73 | 130 |
Sass | 3 | 3 | 1 | 38 |
Markdown | 1 | 8 | 0 | 17 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.19MB with 0.13MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 195.12KB | 63.02KB | ▼ 67.70% |