Benchmarks
Plugin footprint Passed 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.24MB] [CPU: ▼139.95ms] Passed 4 tests
Server-side resources used by Corona Virus Live Ticker
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲1.11 | 662.20 ▲641.13 |
Dashboard /wp-admin | 3.31 ▲0.25 | 34.37 ▼8.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.25 | 44.39 ▼0.06 |
Add New Post /wp-admin/post-new.php | 5.66 ▲0.22 | 88.51 ▼555.14 |
Media Library /wp-admin/upload.php | 3.25 ▲0.24 | 35.85 ▲3.62 |
Corona Virus Live Ticker /wp-admin/options-general.php?page=ptmbg_corona_virus_info | 3.28 | 33.15 |
Server storage [IO: ▲0.06MB] [DB: ▲0.09MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 2 new options
New WordPress options |
---|
ptmbg_covid_info_data |
ptmbg_covid_info_options |
Browser metrics Passed 4 tests
Checking browser requirements for Corona Virus Live Ticker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 10,589 ▲6,993 | 16.91 ▲1.17 | 27.91 ▲17.20 | 76.33 ▲28.26 |
Dashboard /wp-admin | 3,014 ▲80 | 5.91 ▼0.18 | 139.70 ▼0.53 | 133.36 ▲19.30 |
Posts /wp-admin/edit.php | 2,789 ▲50 | 2.73 ▲0.01 | 65.05 ▲2.16 | 104.02 ▲6.37 |
Add New Post /wp-admin/post-new.php | 1,896 ▲398 | 19.00 ▲0.22 | 361.42 ▼17.44 | 104.41 ▼7.92 |
Media Library /wp-admin/upload.php | 1,855 ▲48 | 5.03 ▲0.02 | 150.39 ▲7.69 | 117.80 ▲0.47 |
Corona Virus Live Ticker /wp-admin/options-general.php?page=ptmbg_corona_virus_info | 5,609 | 2.56 | 69.25 | 92.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in corona-virus-live-ticker/assets to your readme.txt
corona-virus-live-ticker/index.php 92% from 13 tests
The principal PHP file in "Corona Virus Live Ticker" v. 1.1 is loaded by WordPress automatically on each request
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("corona-virus-live-ticker.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected1,285 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 68 | 31 | 1,274 |
JavaScript | 1 | 0 | 4 | 11 |
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.33 |
Average class complexity | 114.00 |
▷ Minimum class complexity | 114.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 7.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin