Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.89ms] Passed 4 tests
Analyzing server-side resources used by Garrett County Planning Tool (GCPT) - Public Health and Population Health Data and Planning Tool
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.21 ▼4.48 |
Dashboard /wp-admin | 3.31 ▼0.04 | 49.12 ▼11.26 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.55 ▼4.41 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.36 ▼15.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.08 ▲4.50 |
Server storage [IO: ▲1.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Garrett County Planning Tool (GCPT) - Public Health and Population Health Data and Planning Tool
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.23 ▲0.30 | 1.84 ▼0.22 | 39.07 ▼5.75 |
Dashboard /wp-admin | 2,189 ▲12 | 5.62 ▼0.06 | 88.97 ▼2.45 | 43.01 ▲0.13 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.02 | 37.75 ▼5.17 | 35.28 ▼3.00 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.09 ▲0.05 | 655.23 ▲17.31 | 58.27 ▼4.67 |
Media Library /wp-admin/upload.php | 1,394 ▼0 | 4.21 ▼0.02 | 96.26 ▼12.77 | 40.69 ▼4.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/garrett-county-planning-tool-gcpt/index.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Add a description for screenshot #1 in garrett-county-planning-tool-gcpt/assets to your readme.txt
garrett-county-planning-tool-gcpt/index.php 77% from 13 tests
Analyzing the main PHP file in "Garrett County Planning Tool (GCPT) - Public Health and Population Health Data and Planning Tool" version 23.1.2
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("garrett-county-planning-tool-gcpt.php" instead of "index.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 96 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected10,016 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 1,982 | 7,022 | 6,457 |
PHP | 1 | 229 | 80 | 3,530 |
CSS | 3 | 0 | 0 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 15.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 4.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 81 | |
▷ Named functions | 81 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected