Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲3.25MB] [CPU: ▲23.42ms] Passed 4 tests
Server-side resources used by Coronavirus (COVID-19) Live Update Popup
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.52 ▲3.06 | 68.55 ▲25.95 |
Dashboard /wp-admin | 6.61 ▲3.30 | 77.78 ▲26.10 |
Posts /wp-admin/edit.php | 6.66 ▲3.30 | 84.18 ▲32.00 |
Add New Post /wp-admin/post-new.php | 9.23 ▲3.35 | 108.73 ▲14.59 |
Media Library /wp-admin/upload.php | 6.55 ▲3.32 | 62.99 ▲27.04 |
Server storage [IO: ▲7.23MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please try to fix the following items
- Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/covid19-popup/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 252 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
acf_version |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Coronavirus (COVID-19) Live Update Popup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,926 ▲165 | 13.63 ▼0.75 | 5.20 ▲3.42 | 39.57 ▼2.86 |
Dashboard /wp-admin | 2,235 ▲32 | 5.85 ▼0.04 | 97.46 ▼11.53 | 42.55 ▼0.63 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 1.99 ▼0.06 | 37.33 ▼3.87 | 33.58 ▼3.35 |
Add New Post /wp-admin/post-new.php | 6,669 ▲5,124 | 27.90 ▲4.78 | 1,014.36 ▲300.31 | 38.65 ▼21.02 |
Media Library /wp-admin/upload.php | 1,950 ▲547 | 8.38 ▲4.15 | 227.44 ▲118.16 | 51.91 ▲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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- acf_version
- 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
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
Please fix the following items
- 78× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function acf_get_location_rule_types() in wp-content/plugins/covid19-popup/includes/acf/includes/admin/views/html-location-rule.php:12
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/covid19-popup/includes/acf/includes/fields/class-acf-field-output.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/covid19-popup/includes/acf/includes/fields/class-acf-field-link.php:5
- > PHP Notice
Undefined variable: active in wp-content/plugins/covid19-popup/includes/acf/includes/admin/views/html-admin-tools.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/covid19-popup/includes/acf/includes/fields/class-acf-field-true_false.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/covid19-popup/includes/acf/includes/upgrades.php:450
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/covid19-popup/includes/acf/includes/admin/views/html-admin-page-upgrade-network.php:24
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/covid19-popup/includes/acf/includes/fields/class-acf-field-taxonomy.php:5
- > PHP Fatal error
Uncaught Error: Class 'acf_field' not found in wp-content/plugins/covid19-popup/includes/acf/includes/fields/class-acf-field-group.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function acf() in wp-content/plugins/covid19-popup/includes/acf/pro/acf-pro.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
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
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #2, #3 in covid19-popup/assets to your readme.txt
covid19-popup/covid19-popup.php 92% from 13 tests
The principal PHP file in "Coronavirus (COVID-19) Live Update Popup" v. 2.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 detected90,145 lines of code in 202 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 31 | 23,208 | 38,008 | 48,817 |
JavaScript | 18 | 7,178 | 7,007 | 23,485 |
PHP | 137 | 10,927 | 17,852 | 16,059 |
CSS | 14 | 208 | 60 | 1,630 |
JSON | 1 | 0 | 0 | 124 |
SVG | 1 | 18 | 0 | 30 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 12.02 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 102 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 102 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 660 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 660 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 436 | |
▷ Named functions | 436 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.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
7 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/acf/assets/inc/datepicker/images/ui-icons_ffffff_256x240.png | 3.68KB | 4.17KB | 0.00% |
includes/acf/assets/images/acf-logo.png | 3.40KB | 3.39KB | 0.23% |
includes/acf/assets/inc/select2/3/select2x2.png | 0.64KB | 0.77KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-bg_highlight-soft_0_ffffff_1x100.png | 0.08KB | 0.08KB | 0.00% |
includes/acf/assets/inc/datepicker/images/ui-icons_DDDDDD_256x240.png | 3.68KB | 4.17KB | 0.00% |