Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.32MB] [CPU: ▲35.95ms] Passed 4 tests
This is a short check of server-side resources used by Rukkus Concerts, Sports, and Theater Listings - Content Reader and Ticket Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 390.02 ▲345.50 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.48 ▼3.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.94 ▼2.76 |
Add New Post /wp-admin/post-new.php | 4.60 ▼1.29 | 250.93 ▲150.37 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.91 ▼0.03 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
recovery_mode_email_last_sent |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Rukkus Concerts, Sports, and Theater Listings - Content Reader and Ticket Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,682 ▼53 | 13.24 ▼1.07 | 1.02 ▼1.50 | 20.41 ▼27.27 |
Dashboard /wp-admin | 2,208 ▲20 | 4.88 ▼1.01 | 107.72 ▼2.71 | 40.03 ▼6.63 |
Posts /wp-admin/edit.php | 2,094 ▲2 | 2.03 ▼0.02 | 39.03 ▼0.90 | 35.54 ▼3.57 |
Add New Post /wp-admin/post-new.php | 45 ▼1,491 | 0.44 ▼22.88 | 0.06 ▼658.92 | 11.13 ▼54.42 |
Media Library /wp-admin/upload.php | 1,387 ▼4 | 4.20 ▼0.06 | 100.57 ▼5.79 | 74.08 ▲29.48 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- recovery_mode_email_last_sent
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/upcoming-concerts-sports-and-theater-widget/basic.php on line 14
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/class-http.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/upcoming-concerts-sports-and-theater-widget/basic.php on line 14
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/upcoming-concerts-sports-and-theater-widget/basic.php on line 14
- > PHP Warning
include_once(ABSPATHWPINC/class-http.php): failed to open stream: No such file or directory in wp-content/plugins/upcoming-concerts-sports-and-theater-widget/basic.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/upcoming-concerts-sports-and-theater-widget/basic.php:160
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (The widget in action on https://blog.rukkus.com, listing upcoming concerts, festivals, sporting events, theater performances, and shows near the reader.), #2 (The widget on another blog showing upcoming concert listings automatically using colors and styles from another blog to style itself.), #3 (Concerts in another skin.), #4 (Concerts in another skin.), #5 (Concerts in another skin.), #6 (Concerts in another skin.), #7 (The concert listings showing shows related to an article's content.)
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
upcoming-concerts-sports-and-theater-widget/basic.php 92% from 13 tests
The main PHP script in "Rukkus Concerts, Sports, and Theater Listings - Content Reader and Ticket Widget" version 1.3 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("upcoming-concerts-sports-and-theater-widget.php" instead of "basic.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin278 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 25 | 7 | 145 |
PHP | 1 | 19 | 10 | 133 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.69MB with 0.47MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 63.08KB | 18.95KB | ▼ 69.96% |
screenshot-3.png | 23.25KB | 7.60KB | ▼ 67.33% |
screenshot-1.png | 63.09KB | 20.82KB | ▼ 67.00% |
screenshot-4.png | 24.97KB | 8.34KB | ▼ 66.62% |
screenshot-5.png | 24.46KB | 7.83KB | ▼ 67.99% |