Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.67ms] Passed 4 tests
Server-side resources used by Covid-19 Corona Virus Report
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.57 ▼4.02 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.00 ▼4.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.13 ▼6.94 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.17 ▼10.99 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.81 ▲3.65 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Covid-19 Corona Virus Report: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲155 | 14.11 ▼0.24 | 8.29 ▲6.44 | 40.14 ▼4.62 |
Dashboard /wp-admin | 2,206 ▲18 | 5.77 ▲0.87 | 113.88 ▲4.13 | 42.28 ▲0.23 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.02 | 38.79 ▼0.98 | 29.44 ▼8.72 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.54 ▼5.89 | 683.77 ▲10.20 | 50.21 ▼4.20 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.24 ▲0.08 | 99.42 ▼5.98 | 43.84 ▼0.38 |
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 were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
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
Even though everything seems fine, this is not 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 items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/covid-19-corona-virus-report/covid19-corona-virus-reports.php:61
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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 require attention:
- Screenshots: These screenshots lack descriptions #1, #2 in covid-19-corona-virus-report/assets to your readme.txt
covid-19-corona-virus-report/covid19-corona-virus-reports.php 92% from 13 tests
"Covid-19 Corona Virus Report" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("covid-19-corona-virus-report.php" instead of "covid19-corona-virus-reports.php")
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
Good job! No executable or dangerous file extensions detected263 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 3 | 15 | 198 |
PHP | 2 | 2 | 10 | 63 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
images/sort_asc (1).png | 0.16KB | 0.25KB | 0.00% |
images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |