Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.48ms] Passed 4 tests
Server-side resources used by Find A Covid Test & Vaccine Center
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 36.48 ▼3.40 |
Dashboard /wp-admin | 3.35 ▲0.01 | 47.81 ▼12.93 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 44.23 ▼5.51 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.00 ▼0.09 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 33.80 ▲0.17 |
Covid Search Shortcodes /wp-admin/options-general.php?page=ctc-search-options | 3.24 | 29.32 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Find A Covid Test & Vaccine Center
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.30 ▼1.35 | 4.20 ▲2.56 | 39.23 ▼0.12 |
Dashboard /wp-admin | 2,210 ▲25 | 5.89 ▲0.03 | 103.92 ▼1.07 | 41.51 ▲1.82 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▲0.05 | 39.01 ▼4.38 | 34.93 ▼4.76 |
Add New Post /wp-admin/post-new.php | 1,538 ▲4 | 22.85 ▼0.32 | 592.92 ▼119.73 | 57.82 ▼9.07 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.19 ▼0.01 | 95.02 ▼1.10 | 41.04 ▼4.54 |
Covid Search Shortcodes /wp-admin/options-general.php?page=ctc-search-options | 899 | 2.03 | 24.66 | 28.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/find-a-covid-testing-center/public/includes/result-template.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/find-a-covid-testing-center/find-a-covid-testing-center.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/find-a-covid-testing-center/public/includes/shortcode.class.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/find-a-covid-testing-center/public/includes/assets.class.php:30
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #3, #4, #5, #6, #7 in find-a-covid-testing-center/assets to your readme.txt
find-a-covid-testing-center/find-a-covid-testing-center.php Passed 13 tests
The main PHP file in "Find A Covid Test & Vaccine Center" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
120 characters long description:
Add Covid testing Centers Search To Your Website With A Shortcode. [ctc_search] , [ctc_live_search], [ctc_search_button]
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
Everything looks great! No dangerous files found in this plugin744 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 98 | 155 | 300 |
CSS | 1 | 50 | 15 | 297 |
JavaScript | 2 | 46 | 51 | 147 |
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.05 |
Average class complexity | 2.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 2 | 22.22% |
▷ Public methods | 7 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 22.22% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There were not PNG files found in your plugin