Benchmarks
Plugin footprint 83% 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.07MB] [CPU: ▼4.73ms] Passed 4 tests
A check of server-side resources used by Corona Results Bangladesh
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.29 ▼2.20 |
Dashboard /wp-admin | 3.38 ▲0.07 | 49.48 ▼4.76 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 52.66 ▲2.99 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.74 ▼7.58 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.90 ▼4.39 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_corona_bd_widget_world |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_corona_bd_widget |
Browser metrics Passed 4 tests
Corona Results Bangladesh: 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,795 ▲34 | 14.70 ▲0.35 | 2.15 ▲0.41 | 38.54 ▼8.63 |
Dashboard /wp-admin | 2,192 ▲12 | 5.62 ▼0.05 | 91.98 ▼0.51 | 40.36 ▲2.06 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.03 ▼0.07 | 40.56 ▲2.44 | 35.71 ▼3.39 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.61 ▲0.06 | 663.44 ▼52.16 | 54.86 ▲1.57 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.24 ▼0.00 | 95.78 ▼22.30 | 43.74 ▼5.11 |
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 8 options in the database
- widget_corona_bd_widget
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_corona_bd_widget_world
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/corona-results-bangladesh/corona_bd.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: corona countdown, count, corona count bad, widget, corona
corona-results-bangladesh/corona_bd.php 85% from 13 tests
The principal PHP file in "Corona Results Bangladesh" v. 3.6 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("corona-results-bangladesh.php" instead of "corona_bd.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 334 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin594 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 69 | 51 | 331 |
CSS | 1 | 36 | 8 | 263 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin