Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.42ms] Passed 4 tests
An overview of server-side resources used by GitHub Release Downloads
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.99 ▼1.53 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.92 ▼5.62 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 54.35 ▲5.56 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.50 ▼6.54 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.79 ▲0.03 |
GitHub Release Downloads /wp-admin/options-general.php?page=github-release-downloads | 3.21 | 33.00 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 9 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
grd_user |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
grd_repo |
grd_token |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GitHub Release Downloads
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲91 | 14.75 ▲0.52 | 1.78 ▼0.39 | 40.70 ▼7.40 |
Dashboard /wp-admin | 2,254 ▲69 | 4.91 ▼0.02 | 111.02 ▼4.55 | 44.24 ▼2.35 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.19 ▲0.18 | 41.50 ▲5.59 | 35.80 ▲0.85 |
Add New Post /wp-admin/post-new.php | 1,574 ▲41 | 18.34 ▼5.00 | 621.46 ▼68.57 | 63.30 ▲7.29 |
Media Library /wp-admin/upload.php | 1,436 ▲45 | 4.21 ▲0.02 | 100.80 ▼5.60 | 46.66 ▼3.57 |
GitHub Release Downloads /wp-admin/options-general.php?page=github-release-downloads | 961 | 2.22 | 30.91 | 59.04 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- grd_token
- grd_user
- widget_recent-comments
- widget_theysaidso_widget
- grd_repo
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
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/github-release-downloads/github-release-downloads.php
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
github-release-downloads/github-release-downloads.php Passed 13 tests
"GitHub Release Downloads" version 2.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
87 characters long description:
Get the download count, links and more information for releases of GitHub repositories.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,469 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 420 | 176 | 1,460 |
JavaScript | 1 | 2 | 5 | 9 |
PHP code Passed 2 tests
A short 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.42 |
Average class complexity | 161.00 |
▷ Minimum class complexity | 161.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 46 | |
▷ Static methods | 1 | 2.17% |
▷ Public methods | 7 | 15.22% |
▷ Protected methods | 39 | 84.78% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 28 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin