Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.13ms] Passed 4 tests
Server-side resources used by Challonge
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.80 ▼7.40 |
Dashboard /wp-admin | 3.31 ▲0.00 | 41.90 ▼8.91 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.11 ▼5.43 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.79 ▼6.76 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.07 ▼1.65 |
Server storage [IO: ▲1.49MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Challonge
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 14.48 ▲0.33 | 1.98 ▲0.20 | 43.60 ▼5.39 |
Dashboard /wp-admin | 2,209 ▲21 | 5.86 ▲0.95 | 97.84 ▼21.52 | 38.63 ▼10.51 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.17 ▲0.17 | 36.45 ▼0.07 | 35.44 ▲0.58 |
Add New Post /wp-admin/post-new.php | 1,520 ▼13 | 23.18 ▲0.22 | 653.28 ▼12.44 | 60.49 ▲9.36 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.14 ▼0.10 | 98.85 ▼12.74 | 41.22 ▼7.02 |
Uninstaller [IO: ▲1.49MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the followingThe uninstall procedure has failed, leaving 6 options in the database
- Incomplete uninstall procedure, leaving 35 files (1.49MB) in the plugin directory
- (new file) challonge-admin.js
- (new file) challonge-admin.min.js
- (new file) challonge.min.js
- (new file) challonge.css
- (new file) challonge-mce-button.js
- (new file) challonge-admin.css
- (new file) challonge.js
- (new file) cacert.pem
- (new file) challonge.php
- (new file) challonge.png
- ...
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (It's easy to embed a tournament bracket with the shortcode. The widgets make singing up to a tournament and reporting scores easy.), #2 (If no "url" attribute is set in your shortcode, a tournament listing will be displayed.), #3 (Signing up to a tournament is easy.), #4 (Reporting your score is also easy.), #5 (Control things like how player names are defined and how scoring works in the settings page.)
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
challonge/challonge.php 92% from 13 tests
The main file in "Challonge" v. 1.1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin16,122 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 1,060 | 1,220 | 12,351 |
PHP | 11 | 237 | 420 | 2,831 |
CSS | 2 | 17 | 9 | 521 |
PO File | 1 | 160 | 238 | 419 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 64.38 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 7.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 84 | |
▷ Static methods | 4 | 4.76% |
▷ Public methods | 81 | 96.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.57% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 9 | |
▷ Global constants | 1 | 11.11% |
▷ Class constants | 8 | 88.89% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.32MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 16.49KB | 8.69KB | ▼ 47.27% |
screenshot-3.png | 36.92KB | 20.04KB | ▼ 45.70% |
screenshot-1.png | 160.05KB | 49.66KB | ▼ 68.97% |
screenshot-4.png | 25.48KB | 12.19KB | ▼ 52.17% |
screenshot-5.png | 89.10KB | 36.71KB | ▼ 58.80% |