Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.95ms] Passed 4 tests
Analyzing server-side resources used by COVID-19 Corona Virus Live Stats & Updates For WordPress Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.07 ▼0.47 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.52 ▼4.95 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 44.27 ▼1.77 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 82.83 ▼8.59 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.48 ▲5.38 |
Server storage [IO: ▲4.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 324 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
COVID-19 Corona Virus Live Stats & Updates For WordPress Lite: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲160 | 13.78 ▼0.90 | 19.91 ▲17.94 | 37.48 ▼5.03 |
Dashboard /wp-admin | 2,243 ▲55 | 5.02 ▲0.11 | 105.95 ▼6.10 | 73.19 ▲28.56 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.30 ▲0.30 | 35.89 ▲0.91 | 34.47 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,550 ▲8 | 18.08 ▲0.22 | 669.76 ▼13.38 | 41.87 ▼10.31 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.35 ▲0.16 | 101.11 ▼0.05 | 78.03 ▲33.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/covid-19-corona-virus-live-stats-updates-lite/wss-covid19-templates/state-list.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/covid-19-corona-virus-live-stats-updates-lite/wss-covid19-templates/global-updates.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/covid-19-corona-virus-live-stats-updates-lite/wss-covid19-templates/country-updates.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/covid-19-corona-virus-live-stats-updates-lite/wss-covid19-templates/countries-list.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 80% 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, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #21, #22, #3, #4, #5, #6, #7, #8, #9 in covid-19-corona-virus-live-stats-updates-lite/assets to your readme.txt
covid-19-corona-virus-live-stats-updates-lite/wss-covid19-wp.php 62% from 13 tests
The main PHP script in "COVID-19 Corona Virus Live Stats & Updates For WordPress Lite" version 1.2 is automatically included on every request by WordPress
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 174 characters long)
- Domain Path: You should use only dashes and lowercase characters for the domain path ("lang")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("covid-19-corona-virus-live-stats-updates-lite.php" instead of "wss-covid19-wp.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path must begin with a forward slash character ("/lang")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin21,255 lines of code in 298 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 279 | 0 | 12 | 9,803 |
CSS | 5 | 1,159 | 25 | 9,547 |
JavaScript | 6 | 326 | 1,044 | 1,280 |
PHP | 8 | 165 | 179 | 625 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 25 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.00% |
▷ Public constants | 3 | 100.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 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/wss-covid19.png | 1.13KB | 1.16KB | 0.00% |